Hello,
I am using an E controller and trying to call subroutines from my master program using conditional if statements and individual inputs from a Mitsubishi PLC. However I haven't been able to sort out the correct syntax to get it working correctly.
This is what I have so far:
1
HOME
CALL reset_io
;
IF 13 THEN; TIP EXCHANGE
CALL tip_exchange
GOTO 999
END
;
IF 17 THEN; TIP DRESS
CALL tip_dress
GOTO 999
END
;
IF 33 THEN; Call RH Part
CALL rh_part
GOTO 999
END
;
IF 34 THEN; Call LH Part
CALL lh_part
GOTO 999
END
;
999
HOME
CALL reset_io
GOTO 1
The controller accepts a number of different configurations including
IF 33==ON THEN; Call RH Part
CALL rh_part
GOTO 999
END
However the robot will not enter the above routine when input 33 is in fact turned on.
Any feedback is greatly appreciated, its my first time working with a Kawasaki robot.
Cheers,