AX-Series Motion Controller Instructions Manual Chapter 2
398
2.3.2.29 DMC_GetCamSlaveData
Supported Devices: AX-308E, AX-364E
Input the axis position for DMC_GetCamSlaveData to get information about the slave axis of the specified cam table.
FB/FC
Instruction
Graphic Expression
FB DMC_GetCamSlaveData
ST Language
DMC_GetCamSlaveData_instance(
CamTable :=,
bEnable :=,
lrCamPos :=,
bBusy =>,
bError =>,
ErrorID =>
lrCamSlavePosition =>
lrCamSlaveVelocity =>
lrCamSlaveAcceleration =>);
Inputs
Name
Function
Data Type
Setting Value
Timing to Take Effect
bEnable
The instruction will be run
when bEnable changes
BOOL True/False (False) -
lrCamPos
Cam axis position
(User Unit)
LREAL Positive or 0 (0)
When bEnable changes from
False to True.
Outputs
Setting Value (Default Value)
bBusy True when the instruction is run. BOOL True/False (False)
bError
True when an error occurs in the
execution of the instruction.
BOOL True/False (False)
ErrorID
Record the error code when an error
occurs. Refer to Appendix for error
DMC_ERROR*
1
DMC_ERROR
(DMC_NO_ERROR)
lrCamSlavePosition Cam slave axis position LREAL Positive, negative, or 0 (0)
lrCamSlaveVelocity Cam slave axis velocity ratio LREAL Positive, negative, or 0 (0)
lrCamSlaveAcceleration
Cam slave axis acceleration ratio
(This feature is not available when
CamTable Type is one/two
LREAL
Positive, negative, or 0 (0)