Busy
Execute
Comm
andAborted
Done
Error
Value of _mcChkDec
ErrorID
1
20
16#0000
Re-execution of Motion Control Instructions
If Execute for the same instance of this instruction changes to TRUE while Busy is TRUE, the instruc-
tion is re-executed. When that happens, the instruction overwrites the previous values of the T
arget
(Write Target), ParameterNumber, and SettingValue with the values that are specified when Execute
changes to TRUE.
Multi-execution of Motion Control Instructions
For details on multi-execution of motion control instructions, refer to the NY
-series Industrial Panel
PC / Industrial Box PC Motion Control User’s Manual (Cat. No. W559).
Errors
If an error occurs during instruction execution, Error
will change to TRUE and parameters are not writ-
ten. The values before the instruction was executed will be held.
You can find out the cause of the error by referring to the value output by ErrorID (Error Code).
Timing Chart When Error Occurs
Error code
Busy
Execute
Comm
andAborted
Done
Error
Error
ID
Error Codes
Refer to the NY
-series Troubleshooting Manual (Cat. No. W564) for instruction errors.
5 Common Command Instructions
5-17
NY-series Motion Control Instructions Reference Manual (W561)
MC_Write
5
Function