Chapter 6 Motion Function Blocks
6.6.16 Read the slave location of the CAM table (LS_ReadCamTableSlavePos)
LS_ReadCamTableSlavePos
AxisAxisUINT UINT
BOOL Execute
UINT CamTableID
Done BOOL
Busy BOOL
Error BOOL
ErrorID WORD
SlaveVel LREAL
LREAL MasterPos SlavePos LREAL
SlaveAccel LREAL
Specify the axis to be commanded (1~32: real/virtual axis, 33~36: virtual axis)
BOOL Execute Give ReadCamTableSlavePos operation command to the relevant axis in the
Specify the number of the CAM table to read (1~32)
Specify the position of the main axis on the CAM table.
Indicate the completion state of ReadCamTabelSlavePos operation.
Indicate that the execution of motion function block is not completed.
It outputs the position of the slave.
It outputs the speed of the slave. [u/s]
It outputs the acceleration of the slave. [u/s
2
Indicate whether an error occurs or not.
Output the number of error occurred while motion function block is running.
(1) This motion function block outputs the position of the serve axis according to the position of the main axis in the specified
CAM table.
(2) Set the position value of the main axis to be read in the CAM table as the MasterPos value. Offset / gear ratio / phase
correction operation, etc. applied to the command axis are not reflected in the SlavePos output.
(3) When reading the slave position on the CAM table is completed, the ‘Done Output’ will be turned on.