2 Instruction Descriptions
2-616
NJ-series Instructions Reference Manual (W502)
• An error does not occur if the user-defined error specified by Code has not occurred.
• Return value Out is not used when the instruction is used in ST.
• An error occurs in the following case. ENO will be FALSE.
• The value of Code is outside of the valid range.
Refer to the sample programming that is provided for the SetAlarm instruction (page 2-610).
Related System-defined Variables
Name Meaning Data type Description
_AlarmFlag Error Status of User-
defined Errors
WORD These flags indicate when user-defined errors
are detected.
Bit 0 to bit 7 indicate the status of user-defined
error levels 1 to 8.
Refer to the NJ-series CPU Unit Software
User's Manual (Cat. No. W501) for details.
Precautions for Correct Use
Sample Programming