MC_CamOut
The MC_CamOut instruction ends cam operation for the axis specified with the input parameter.
Instruction Name
FB/
FUN
Graphic expression ST expression
MC_CamOut End Cam Op-
eration
FB
MC_CamOut_instance
Sla
ve
Execute
Slave
Deceleration
OutMode Error
ErrorID
CommandAborted
MC_CamOut
Jerk
Done
Busy
MC_CamOut_instance (
Slave :=parameter,
Execute :=parameter,
Deceleration :=parameter,
Jerk :=parameter,
OutMode :=parameter,
Done =>parameter,
Busy =>parameter,
CommandAborted =>parameter,
Error =>parameter,
ErrorID =>parameter
);
Variables
Input Variables
Name Meaning Data type Valid range
De-
fault
Description
Execute Execute BOOL TRUE or FALSE FALSE The instruction is executed when this vari-
able changes to TRUE.
Deceleration Decelera-
tion Rate
LREAL Non-negative
number
0 Specify the deceleration rate.
The unit is command units/s
2
.
*1
Jerk
(Reserved)
Jerk LREAL 0 0 (Reserved)
OutMode
(Reserved)
Sync End
Mode Se-
lection
_eMC_OUT_MO
DE
0: _mcStop
0
*2
(Reserved)
*1. Refer to Unit Conversion Settings in the NY
-series Industrial Panel PC / Industrial Box PC Motion Control User’s
Manual (Cat. No. W559).
*2. The default value for an enumeration variable is actually not the number, but the enumerator.
Output Variables
Name Meaning
Data
type
Valid
range
Description
Done Done BOOL TRUE or
F
ALSE
TRUE when the instruction is completed.
Busy Executing BOOL TRUE or
F
ALSE
TRUE when the instruction is acknowledged.
CommandAborted Command
Aborted
BOOL TRUE or
F
ALSE
TRUE when the instruction is aborted.
3 Axis Command Instructions
3-232
NY-series Motion Control Instructions Reference Manual (W561)