3.2.8 plcMotion Signal
Let a motion axis as spindle or as to go and return motion.
Signal |
Function |
Explain |
plc.plcMotion.flag |
PLC notice NC data ready |
0: not ready, 1: ready |
plc.plcMotion.data0 |
Assign PLC motion axis |
PLC_MOTION_OF_X PLC_MOTION_OF_Y PLC_MOTION_OF_Z PLC_MOTION_OF_A PLC_MOTION_OF_B PLC_MOTION_OF_C |
plc.plcMotion.data1 |
Assign motion command of axis |
PLC_MOTION_OF_CONTINUOUS PLC_MOTION_OF_BACK_N_FORTH PLC_MOTION_OF_CW PLC_MOTION_OF_CCW PLC_MOTION_OF_OVERRIDE PLC_MOTION_OF_STOP |
plc.plcMotion.finish |
NC notice PLC finish assign motion command |
SET BY NC,CLEAR BY PLC 1: finish, 0: not finish |