Geteiperror - Omron NJ501-1500 Reference Manual

Machine automation controller nj-series
Hide thumbs Also See for NJ501-1500:
Table of Contents

Advertisement

2 Instruction Descriptions

GetEIPError

The GetEIPError instruction gets the highest level status (partial fault or minor fault) and highest level
event code of the current Controller errors in the EtherNet/IP Function Module.
Instruction
GetEIPError
Get EtherNet/IP
Error Status
Variables
Name
Meaning
Out
Error flag
Level
Highest
event level
Code
Highest
level event
code
Bit strings
Out
OK
Level
Code
Function
The GetEIPError instruction gets the highest level status and the highest level event code of the current
Controller errors in the EtherNet/IP Function Module and outputs them to Level and Code. If there are
currently no Controller errors, the value of error flag Out is FALSE. If there is more than one Controller
error at the highest event level, the value of Code is the event code for the Controller error that occurred
first.
2-628
Name
FB/FUN
FUN
I/O
Description
TRUE: Controller error
exists.
FALSE: No Controller error
Highest level status of all
current Controller errors in
the EtherNet/IP Function
Module
0: No Controller error
2: Partial fault level
Output
3: Minor fault level
Highest level event code of
all current Controller errors
in the EtherNet/IP Function
Module
16#0000_0000: No Control-
ler error
16#0007_0000 to
16#FFFF_FFFF: Event code
OK
OK
Graphic expression
(@)GetEIPError
EN
Level
Code
Valid range
Depends on data type.
0, 2, or 3
16#00000000
16#00070000 to
16#FFFFFFFF
Integers
NJ-series Instructions Reference Manual (W502)
ST expression
Out:=GetEIPError(Level,
Code);
Out
Unit
Default
---
---
Times, durations,
dates, and text strings

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nj501-1300Nj501-1400

Table of Contents