Errors
If an error occurs during instruction execution, Error
will change to TRUE.
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
Done
CommandAborted
Active
Error
16#0000
ErrorID
Execute
Error Codes
Refer to the NY
-series Troubleshooting Manual (Cat. No. W564) for instruction errors.
Sample Programming 1
This section shows sample programming for positioning by periodic multi-execution of instructions.
Parameter Settings
The minimum settings required for this sample programming are given below.
Setting Axis Parameters
Axis Type
Axis Axis Type
Axis 1 Servo axis
Count Mode
Axis Count Mode
Axis 1 Linear Mode
Unit of Display
Axis Unit of Display
Axis 1 mm
3 Axis Command Instructions
3-61
NY-series Motion Control Instructions Reference Manual (W561)
MC_MoveAbsolute
3
Sample Programming 1