Chapter 12 Troubleshooting
1
11.4.6 MC_CamOut
MC_CamOut can disconnect the established electronic cam relationship.
Input Parameters
Parameter name Function Data type
Validation timing
Slave
the slave axis which is
to be disconnected
from the cam
USINT
1~32
(The variable value
must be set)
When Execute
changes from
FALSE to TRUE
Execute
executed when
Execute changes from
FALSE to TRUE.
BOOL
TRUE or FALSE
(FALSE)
-
Output Parameters
Parameter name Function Data type Valid range
Done TRUE when the instruction execution is completed. BOOL
Busy
TRUE when the instruction is being executed.
BOOL
CommandAborted
TRUE when the instruction is aborted.
BOOL
Error
TRUE when there is an error in the execution of the
instruction.
BOOL
ErrorID
Contains the error code when an error occurs.
Please refer to the section 12.2.
WORD
Output Update Timing
Timing for changing to TRUE
Timing for changing to FALSE
Done
relationship between the slave axis
and master axis is disconnected.
When CommandAborted changes to
TRUE.
When Error changes to TRUE.
Busy When Execute changes to TRUE.
CommandAborted
TRUE.
When Error changes to TRUE.
CommandAborted
When the instruction execution is
aborted by other motion
instruction.
When Execute changes from TRUE to
FALSE.
CommandAborted is set to TRUE when
the instruction is aborted by other
instruction after Execute changes from
TRUE to FALSE in the course of the
instruction execution. One period later,
CommandAborted changes to FALSE.
MC_CamOut
Slave Done
MC_CamOut_instance
Execute Busy
CommandAborted
Error
ErrorID
11-169