Omron Sysmac NJ-series User Manual page 446

Machine automation controller cpu unit built-in ethernet/iptm port
Hide thumbs Also See for Sysmac NJ-series:
Table of Contents

Advertisement

15 Troubleshooting
Checking with Instructions That Read Error Status
You can use instructions in the user program to check the error status of each function module. The fol-
lowing table gives the instruction that is used to get error information for the EtherNet/IP Function Mod-
ule.
Instruction
GetEIPError
For details on the instructions that get error status, refer to the NJ/NX-series Instructions Reference
Manual (Cat. No. W502).
Checking with System-defined Variables
You can use system-defined variables to check for errors in the EtherNet/IP Master Function Module.
 Error Status Variables
You can check for errors in each function module of the NJ/NX-series Controller with error status
variables. The following variables show the error status of the EtherNet/IP Function Module.
Variable name
_EIP_ErrSta
_EIP_PortErr
_EIP1_PortErr
_EIP2_PortErr
_EIP_CipErr
_EIP1_CipErr
_EIP2_CipErr
_EIP_TcpAppErr
15-8
Name
Get EtherNet/IP Error Status
Data type
Meaning
WORD
Built-in EtherNet/IP
Error
WORD
Communications Port
Error
WORD
Communications Port
1 Error
WORD
Communications Port
2 Error
WORD
CIP Communications
Error
WORD
CIP Communications
1 Error
WORD
CIP Communications
2 Error
WORD
TCP Application Com-
munications Error
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User's Manual (W506)
Outline of function
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 Func-
tion Module.
Gives the collective error status of all error
status for the EtherNet/IP Error Function
Module.
Gives the collective error status of all error
status for the EtherNet/IP communications
port on an NJ-series CPU Unit.
For an NX-series CPU Unit, this variable
gives the same status as the Communica-
tions Port 1 Error variable and you can use it
instead of the Communications Port 1 Error
variable.
Gives the collective error status of all error
status for the EtherNet/IP communications
port 1 on an NX-series CPU Unit.
Gives the collective error status of all error
status for the EtherNet/IP communications
port 2 on an NX701 CPU Unit.
Gives the collective error status of all error
status for CIP communications on an NJ-
series CPU Unit.
For an NX-series CPU Unit, this variable
gives the same status as the CIP Communi-
cations 1 Error variable and you can use it
instead of the CIP Communications 1 Error
variable.
Gives the collective error status for CIP
communications 1 for an NX-series CPU
Unit.
Gives the collective error status for CIP
communications 2 for an NX701 CPU Unit.
Gives the collective error status for TCP
applications communications.
Function

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac nx-seriesSysmac nx1p2-10 seriesSysmac nx1p2-90 seriesSysmac nj501-5 seriesSysmac nj501-4 seriesSysmac nj501-3 series ... Show all

Table of Contents