MC_Write
The MC_Write instruction writes parts of the motion control parameters in the MC Function Module.
Instruction Name
FB/
FUN
Graphic expression ST expression
MC_Write Write MC
Setting
FB
MC_Write_instance
Target Target
SettingValue SettingValue
Execute
Error
ErrorID
CommandAborted
MC_Write
ParameterNumber
Done
Busy
MC_Write_instance (
T
arget :=parameter,
SettingValue :=parameter,
Execute :=parameter,
ParameterNumber :=parameter,
Done =>parameter,
Busy =>parameter,
CommandAborted =>parameter,
Error =>parameter,
ErrorID =>parameter
);
Precautions for Correct Use
The values that are written by this instruction are not saved in non-volatile memory in the CPU
Unit. Any values that are written are lost when the power supply to the Controller is turned OFF
,
when settings are downloaded, or when the MC Function Module is restarted. They return to
the values that were set from the Sysmac Studio.
Use the Sysmac Studio and transfer the parameters to save them to non-volatile memory.
Additional Information
Use the Synchronize Menu of the Sysmac Studio to download the project.
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.
5 Common Command Instructions
5-13
NY-series Motion Control Instructions Reference Manual (W561)
MC_Write
5
Variables