2-613
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
System Control Instructions
2
SetAlarm
When variable F changes to TRUE, the user-defined error is cleared.
Check the value of variable A.
Create user-defined error.
Reset user-defined error.
Variable Data type Initial value
LD
A
T#5s
B
B
C
UINT#102
Abc
Def
F
B
A
B
C
F
Abc
Def
TON_instance0
TON_instance1
False
False
False
False
123
456
BOOL
BOOL
BOOL
BOOL
UINT
UINT
TON
TON
TON
In Q
PT ET
TON_0
A
T#5s
C
TON
In Q
PT ET
TON_1
@SetAlarm
EN ENO
Code
Info1
Info2
C
UINT#102
WORD#16#0000
_AlarmFlag
NE
EN
In1
In2
@ResetAlarm
EN ENO
Code
_AlarmFlag
WORD
Constant
Variable
Data type Comment
Internal
Variables
External
Variables
Error Status of User-defined Errors