AX-Series Motion Controller Instructions Manual Chapter 2
140
Name Function Data Type Output Range (Default Value)
Error True when an error occurs.
BOOL
True/False (False)
ErrorID
Record the error code when an
error occurs.
Refer to Appendix for error code
SMC_ERROR*
1
SMC_ERROR (SMC_NO_ERROR)
CamTableID
Create CAM_ID for use by
CamTableID of MC_CamIn.
MC_CAM_ID*
2
MC_CAM_ID
*Note:
1. SMC_ERROR: Enumeration (Enum)
2. MC_CAM_ID: Structure (Struct)
Name Function Data Type
Output Range
pCT
The internal information
described by the cam table.
POINTER TO BYTE Positive or 0(0)
MasterAbsolute MasterAbsolute mode BOOL True/False(True)
SlaveAbsolute SlaveAbsolute mode BOOL True/False(True)
StartMaster
The master start position of
the cam table.
LREAL Positive, negative, or 0 (0)
EndMaster
The master end position of
the cam table.
LREAL
Positive, negative, or 0 (0)
StartSlave
The slave start position of
the cam table.
LREAL
Positive, negative, or 0 (0)
EndSlave
The slave end position of the
LREAL
Positive, negative, or 0 (0)
byCompatibilityMode Compatibility Mode BYTE Positive or 0(0)
Output Updating Time
Timing for Shifting to True
Timing for Shifting to False
Done
When CamTableSelect is completed.
When Execute turns from True to False.
If Execute is False and Done turns to True,
Done will be True for only one scan cycle
and immediately shift to False.
Busy
When the instruction is being run.
When Error turns to True.
When an error occurs in the execution
conditions or input values for the instruction.
When Execute turns from True to False.
(Error Code is cleared)
ErrorID