EasyManuals Logo

Omron NJ501-1500 User Manual

Omron NJ501-1500
990 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #665 background imageLoading...
Page #665 background image
2-617
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
System Control Instructions
2
GetAlarm
GetAlarm
The GetAlarm instruction gets the highest event level (of user-defined error levels 1 to 8) and the high-
est level event code of the current user-defined errors.
The GetAlarm instruction gets the highest event level and the highest level event code of the current
user-defined errors and outputs them to Level and Code. If there are currently no user-defined errors,
the value of error flag Out is FALSE. If there is more than one use-defined error at the highest event
level, the value of Code is the event code for the user-defined error that occurred first.
Instruction Name FB/FUN Graphic expression ST expression
GetAlarm Get User-defined
Error Status
FUN Out:=GetAlarm(Level,
Code);
Variables
Name Meaning I/O Description Valid range Unit Default
Out Error flag
Output
TRUE: User-defined error
exists.
FALSE:No user-defined
error
Depends on data type.
--- ---
Level Highest
event level
Highest event level of all cur-
rent user-defined errors
0: No user-defined error
1 to 8: Event level
0 to 8
Code Highest
level event
code
Highest level event code of
all current user-defined
errors
0: No user-defined error
1 to 40000: Event level
0 to 40000
Boolean
Bit strings Integers
Real
numbers
Times, durations,
dates, and text strings
BOOL
BYTE
WORD
DWORD
LWORD
USINT
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
REAL
LREAL
TIME
DATE
TOD
DT
STRING
Out OK
Level OK
Code OK
Function
(@)GetAlarm
EN Out
Level
Code

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron NJ501-1500 and is the answer not in the manual?

Omron NJ501-1500 Specifications

General IconGeneral
BrandOmron
ModelNJ501-1500
CategoryController
LanguageEnglish

Related product manuals