6-119
6 Programming
NJ-series CPU Unit Software User’s Manual (W501)
6-6 Instructions
6
6-6-3 Instruction Errors
When an instruction error occurs, an event is created for it. Refer 8-6 Event Logs for the procedure to
check events. For information on the events that are created, refer to the NJ-series Instructions Refer-
ence Manual (Cat. No. W502-E1-04 or later).
Precautions for Correct UsePrecautions for Correct Use
• To create events for instruction errors, you must select Use for Event Log Settings Instruction
Error Output on the Sysmac Studio. Refer to 4-2-2 Controller Setup and to the Sysmac Studio
Version 1 Operation Manual (Cat. No. W504-E1-04 or later) for information on the Controller
Setup.
• If you change the user program after an instruction error occurs, the information in the event
log may no longer be correct.
• If an instruction with an error is executed repeatedly, an instruction error or event is created
each time the instruction is executed. This may cause the event log to exceed the maximum
number of events. If this occurs, older events are overwritten.
• A CPU Unit with unit version 1.02 is required to create events for instruction errors.
• A CPU Unit with unit version 1.02 or later and Sysmac Studio version 1.03 or higher are
required to specify whether to output instruction errors when they occur.
• If an error occurs in a motion control instruction, two events are created, one for the instruction
error and one for the motion control instruction. For details on events for motion control instruc-
tions, refer to the NJ-series Motion Control Instructions Reference Manual (Cat. No. W508).
• Events for motion control instruction are created even if you select Do not use for Event Log
Settings
Instruction Error Output in the Controller Setup on the Sysmac Studio.
Events for Instruction Errors