NickFaraday2
Member
Hey all... I'm slowly getting the hang of this Ladder programming stuff! Coming from lower level languages like C and Lisp its been frustrating to say the least.
Anyway... a common control used in programing is IF Then logic. How do I go about defining this logic in a ladder program? Specifically CScape?
Example:
Let say I have a function button F1. When F1 is press I set coil Q1 to On.
The next time F1 is pressed the following logic is run:
If Q1 = On then set Q1 to Off, else set Q1 to On
Thanks in advance... you guys have been a ton of help getting me started.
Anyway... a common control used in programing is IF Then logic. How do I go about defining this logic in a ladder program? Specifically CScape?
Example:
Let say I have a function button F1. When F1 is press I set coil Q1 to On.
The next time F1 is pressed the following logic is run:
If Q1 = On then set Q1 to Off, else set Q1 to On
Thanks in advance... you guys have been a ton of help getting me started.
Last edited: