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 #658 background imageLoading...
Page #658 background image
2 Instruction Descriptions
2-610
NJ-series Instructions Reference Manual (W502)
SetAlarm
The SetAlarm instruction creates a user-defined error.
* If you omit the input parameter, the default value is not applied. A building error will occur.
Instruction Name FB/FUN Graphic expression ST expression
SetAlarm Create User-
defined Error
FUN SetAlarm(Code, Info1,
Info2);
Variables
Name Meaning I/O Description Valid range Unit Default
Code Event code
Input
Event code of user-defined
error to generate
1 to 40000
---
1
Info1 Attached
information
1
Values recorded in event log
when the user-defined error
is generated
Depends on data type. *
Info2 Attached
information
2
Out Return
value
Output Always TRUE TRUE only
--- ---
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
Code OK
Info1 OKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOK
Info2 OKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOKOK
Out OK
(@)SetAlarm
EN ENO
Code Out
Info1
Info2

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