The apostrophe is so the code doesnt run.
It may only be my view but it seemed to me that all of the camsoft code that came with the package was just examples of how to do things.
If your inquiry is based on the fact that the piece of code you gave us didnt make sense in a real world application then you would be correct in most cases.
Here is some more examples of coding..
!IF #29=1 THENIF \17=<0 THEN#28=0 :#29=0 :#62=0 :ESTOP
Notice the semicolon ":" that seperates the commands.
The above code says:
If output 29 is on then if variable 17 is equal or less than 0 then turn off output 28 turn off output 29 turn off output 62 and emergency stop.
Did that help?
Murphy |