Maria
Hi. I am new to this platform and trying to delveop a small program in Instruction List. The program is:
CAL Timer(
IN := StartButton, PT := T#5s
)
LD Timer.Q
ST FlashLight
When I simulate it comes with errors error: EOL missing at the end of parameter assignment in parameter assignment list.
In section: END_PROGRAM
0114: END_PROGRAM
1 error(s) found. Bailing out!
but I am unable to figure it out. Also mention How to toggle the input like I used to toggle inputs in FBD.
Thank you
Quote 0 0
thiagoralves
I believe that the correct syntax in IL to load up Function Blocks should be (not tested):
LD StartButton
ST Timer.IN
LD VariableWithDesiredTime
ST Timer.PT
CAL Timer
LD Timer.Q
ST FlashLight
Quote 1 0
Maria
Thank you for your reply. It worked. can you please answer the other half of my question i.e., how to toggle/Force-on/Force-off the inputs during simulation like we used to toggle inputs in FBD by simply right clicking and selecting?
Thank you
Quote 0 0
thiagoralves
Just click the on the glass icon next to each variable on the left panel to add them to the debug panel (on the right). Once the variable is on the debug panel you can click on the lock icon to force it to true/false etc.
Quote 0 0
Maria
Got it. Thanks!
Do we have some manual etc to learn full functioning (all features) of the editor?
Quote 0 0