Hello All,
I mainly program in Ladder logic. And my company has a few machines we got from our German counterpart, the programing styles between American and German thinking are very different. I was wondering if anyone could take this code and show me a similar way it could be done in Ladder to help me comprehend it, since It can't be done exact. Thanks, -Joel
L #SR
L 1
<>I
JC M003
A "EStop OK Bit"
AN #TS
A #TL // release chip step 1
AN #TKL
AN #TOR
R #S1Z
S #S1A
S #TKL
JC M004
JU M005
M004: L 0 // count => 0 after " RELEASE STEP 1"
T #SR
BEU
M005: A #S2Z // tension adjusters TO RESETS,
AN #SP2 // if no feedback
R #S2Z
A "EStop OK Bit" // introduction chip steps 2
A #TS
AN #TL
AN #TKS
AN #TOR
O #STAR
A #SP1
S #S2Z
R #S2A
A #S2Z
A #SP2
S #TKS
R #STAR
JC M006
BEU
M006: L 2
T #SR
BEU
M003: NOP 0
I mainly program in Ladder logic. And my company has a few machines we got from our German counterpart, the programing styles between American and German thinking are very different. I was wondering if anyone could take this code and show me a similar way it could be done in Ladder to help me comprehend it, since It can't be done exact. Thanks, -Joel
L #SR
L 1
<>I
JC M003
A "EStop OK Bit"
AN #TS
A #TL // release chip step 1
AN #TKL
AN #TOR
R #S1Z
S #S1A
S #TKL
JC M004
JU M005
M004: L 0 // count => 0 after " RELEASE STEP 1"
T #SR
BEU
M005: A #S2Z // tension adjusters TO RESETS,
AN #SP2 // if no feedback
R #S2Z
A "EStop OK Bit" // introduction chip steps 2
A #TS
AN #TL
AN #TKS
AN #TOR
O #STAR
A #SP1
S #S2Z
R #S2A
A #S2Z
A #SP2
S #TKS
R #STAR
JC M006
BEU
M006: L 2
T #SR
BEU
M003: NOP 0
Last edited: