2 Instruction Descriptions
2-618
NJ-series Instructions Reference Manual (W502)
The following figure shows a programming example.
If this instruction is used in a ladder diagram, the value of Out changes to FALSE if an error occurs in
the previous instruction on the rung.
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
abc:=GetAlarm(def, ghi);
LD ST
GetAlarm
def
ghi
abc
EN
Level
Code