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 #688 background imageLoading...
Page #688 background image
2 Instruction Descriptions
2-640
NJ-series Instructions Reference Manual (W502)
The SetInfo instruction generates the user-defined information specified by event code Code. The time
of occurrence, event code Code, event level, attached information Info1, and attached information Info2
are stored in the user event log area that corresponds to the level of the event code.
The following figure shows a programming example. User-defined information for event code 40001 is
generated. The values of variables abc and def are stored as attached information.
• Always use variables for the input parameters that are passed to Info1 and Info2. If the attached infor-
mation is not used, specify a dummy variable.
• 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.
Function
Precautions for Correct Use
SetInfo(UINT#40001, abc, def);
LD
UINT#40001
abc
def
ST
SetInfo
EN ENO
Code
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