MC_SaveCamTable
The MC_SaveCamTable instruction saves the cam table specified with the input parameter to non-vol-
atile memory.
Instruction Name
FB/
FUN
Graphic expression ST expression
MC_SaveCamTa-
ble
Save Cam
T
able
FB
MC_Save
CamTable_instance
CamTable CamTable
Execute
Error
ErrorID
CommandAborted
MC_SaveCamTable
Done
Busy
MC_SaveCamTable_instance (
CamT
able :=parameter,
Execute :=parameter,
Done =>parameter,
Busy =>parameter,
CommandAborted =>parameter,
Error =>parameter,
ErrorID =>parameter
);
Variables
Input Variables
Name Meaning Data type Valid range Default Description
Execute Execute BOOL TRUE or
FALSE
FALSE The instruction is executed when the value
of this variable changes to TRUE.
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.
Error Error BOOL TRUE or
F
ALSE
TRUE while there is an error.
ErrorID Error Code WORD
*1
Contains the error code when an error occurs.
A value of 16#0000 indicates normal execution.
*1. The upper four digits of the event code give the error code for ErrorID. Refer to the NY-series Troubleshooting Manual
(Cat. No. W564) for the event codes.
Output Variable Update Timing
Name Timing for changing to TRUE Timing for changing to FALSE
Done When saving cam table data is completed.
• When Execute is TRUE and changes to
F
ALSE.
• After one period when Execute is FALSE.
5 Common Command Instructions
5-8
NY-series Motion Control Instructions Reference Manual (W561)