Is it possible to have a condition to call/run a program from a "custom code" instruction?
Now I have to split the code to insert the program call. Not very convenient for me.
Example of custom code:
Now I have to split the code to insert the program call. Not very convenient for me.
Example of custom code:
Code:
IF CNC1_CloseDoor == 1
CALL CloseDoor //not working
CNC1_DoorClosed = 1
CNC1_DoorOpened = 0
END