Chapter 6 Motion Function Blocks
6.6.23 Read CAM table master position (LS_ReadCamTableMasterPos)
LS_ReadCamTableMasterPos
AxisAxisUINT UINT
BOOL Execute
UINT CamTableID
Done BOOL
Busy BOOL
Error BOOL
ErrorID WORD
LREAL MasterStartPos MasterPos LREAL
LREAL MasterEndPos
LREAL SlavePos
LREAL Scale
Set the command axis. (1~32: real axis/virtual axis, 33~36: virtual axis)
BOOL Execute
Give cam table master position reading command to the relevant axis in the rising
Set the number of cam table to read (1~32)
Start position to read position of cam main axis
End position to read position of cam main axis
Position of cam serve axis
Accuracy of main axis position reading
Indicate that the cam table main axis reading is successfully completed.
Indicated that the execution of motion function is not completed.
Output the position of the slave
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 main axis corresponding to the position of the serve axis set in
SlavePos, among the values between MasterStartPos and MasterEndPos in the specified cam table.