Parker Hannifin GEM6K manual Error Conditions, Error messages related to Ethernet networking

Page 19

Error Conditions

Error Messages

The 6K will transmit error message to alert you of certain error conditions. Following are the

 

error messages related to Ethernet networking.

 

 

 

 

Error Response

Possible Cause

 

CONNECTION COULD NOT BE CLOSED OR

Tried to close the network server connection (nNTCONNØ)

 

ALREADY CLOSED

when the connection was already closed.

 

CONNECTION COULD NOT BE OPENED

Tried NTCONN1 and failed. Problem could be invalid IP

 

 

address or it refused a connection.

 

CONNECTION ERROR, CONNECTION IS

Connection error or timeout with server. When polling and

 

NOW BEING CLOSED

get timeout or message aborted. This condition also sets

 

 

Error Status bit #23 (see ER, TER, TERF).

 

CONNECTION IS NOT OPEN

Tried a NTWRIT when connection is not open; or tried a

 

 

\TANI or \TANO or \TIN or \TOUT or \TIO when

 

 

connection is not open.

 

CONNECTION IS OPEN - MUST CLOSE

Tried to open a network server connection (nNTCONN1)

 

FIRST

when the connection was already open.

 

ERROR, INVALID FILE TYPE, NUMBER

Tried to read the wrong Allen-Bradley PLC file type, there

 

OR SIZE. SETTING NTMP COMMANDS

are not enough elements in the file, or the file doesn’t exist.

 

TO 0 ELEMENTS. CHECK MAPPING.

The 6K automatically stop polling all mapped binary and

 

 

integer variables (equivalent to executing the

 

 

NTMPRBi,i,0,i, NTMPWBi,i,0,i, NTMPRIi,i,0,i,

 

 

and NTMPWIi,i,0,i, commands).

 

ERROR, INVALID STRING

The DVT camera sent an invalid string response.

 

ETHERNET CAN NOT BE USED WITH

Tried to enable Ethernet communication (NTFEN) on a

 

OPTION CARD - SEE OPTEN

Fieldbus version of the 6K (part number is 6Kn-PB for

 

 

PROFIBUS units, 6Kn-DN for DeviceNet units). You must

 

 

disable the internal option card with OPTENØ before

 

 

enabling Ethernet communication. The 6K cannot

 

 

communicate over a Fieldbus connection and Ethernet

 

 

connection simultaneously.

 

ETHERNET COMMUNICATION MUST BE

Tried to connect to an Ethernet server (nNTCONN1) before

 

ENABLED BEFORE MAKING

you enabled Ethernet communication in the 6K with the

 

CONNECTION - SEE NTFEN

NTFEN command.

 

INVALID CONNECTION NUMBER

Tried to make an NTS assignment or comparison using an

 

 

invalid server number (e.g., VARB1 = 7NTS).

 

INVALID I/O POINT

Tried to read or write an OPTO22 I/O point that is not

 

 

configured according to the NTIO command.

INVALID POINT TYPE OR NUMBER, SEE NTIO

Tried to set or read an I/O point (with an \IN, \OUT, \ANI, \ANO, \TANI, \TANO, \TIN, or \TOUT command), but that I/O point was configured with the NTIO command to be different I/O type.

INVALID SERVER TYPE

Tried an OPTO22-related command (\TANI, \TANO, \TIN,

 

\TOUT, \TIO, \IN, \OUT, \ANI, \ANO, etc.) for a non-

 

OPTO22 connection.

NETWORK INPUTS AND OUTPUTS CANNOT

Tried to assign the status of OPTO22 I/O to a VARSHO

BE ASSIGNED TO A VARSHO

variable.

NETWORK IP ADDRESS CANNOT BE

Tried to execute an NTIP command while the connection is

CHANGED WHILE CONNECTION IS

open.

OPEN, SEE NTCONN

 

NO NETWORK IP ADDRESS SPECIFIED

Tried to connect (nNTCONN1) to a server # that has not yet

FOR CONNECTION, SEE NTIP

been established with the NTIP command, or tried to

 

connect to a server in an incompatible subnet.

NTFEN MUST BE 1 TO USE THIS

(Peer-to-peer connection only) Tried to execute an NTRATE

COMMAND

command while NTFEN is set to a value other than NTFEN1.

NTRATE MUST BE 0 TO CHANGE NTFEN

(Peer-to-peer connection only) Tried to execute an NTFEN

 

command while NTRATE is set to a non-zero value.

page 15

Image 19
Contents Ethernet Networking for 6K and Gem6K User Information Ethernet Networking Page Overview Setup Wizard AvailableExample Direct Connect to One Server Example Direct Connect to PC Device Networking GuidelinesPing Changing the 6K’s IP Address or Subnet Mask Configuring the 6K for Ethernet CommunicationSetting TCP/IP Properties and Static Mapping Preparing the Controller over RS-232Page Arp -s 192.168.10.30 0-90-55-0-0-1 Connecting the 6K to the PC through EthernetMilliseconds Networking with Other 6K or Gem6K Products Peer-to-PeerSet see ER, TER, Terf Communication according to the procedures onThen the command would be 3NTIP2,172,20,34,170 Networking with OPTO22 Snap I/OInputs Ntio command to specify the type of module in that positionNetwork Server # Is set see ER, TER, Terf Networking with a DVT Vision SystemModule # on Server n Range Provided below Command would be 3NTIP1,172,20,34,124Networking with an Allen-Bradley SLC 5/05 PLC OPTO22 Ethernet I/O rack5NTPOLL50 NTFEN2 Reset5NTCONN1 VARB100-VARB103PLC Exchanging data automatically with the PLC. Here is how toHAB79 VARB106Error messages related to Ethernet networking Error ConditionsError Response Possible Cause Related Error Status register bits are noted below Network Connect NtconnER, TER, and Terf Product Type Syntax Units Range Default Response See AlsoNtid Network Sharing Unit ID for Peer-to-Peer CommunicationNtio Network I/O OPTO22 Configuration\OUT , \TANI, \TANO, \TIN, \TIO, \TOUT Server Type Type Syntax Units Range Default ResponseNtip Network IP AddressExample Ntmprb Network Map Binary Variables for Reading from PLCNetwork Map Binary Variables for Writing to PLC NtmpwbTNTS, TNTSF, Vari Ntmpri Network Map Integer Variables for Reading from PLCWAITVARI40=22 NtmpwiNetwork Map Integer Variables for Writing to PLC VARI35-VARI49Network Polling Rate NtpollRange n = NTFEN, NTID, SYSPER, VARSHO, Varshi NtrateNetwork Sharing Rate for Peer-to-Peer Communication Ntrate *NTRATE50Network Status Network Program Select EnableNTS NtselpNtwrit Default Response See AlsoNetwork Write Ascii String to DVT Camera Transfer Network Status full-text report TntsTntsf Transfer Network StatusVarshi Default n/aShared Input Variable for Peer-to-Peer Data Exchange Varsho Range i = Default n/aShared Output Variable for Peer-to-Peer Data Exchange Output variable #1 This code is executed on unit #2 Network Analog Input Voltage Status \ANINTIO, \TANI, \TIO, VAR Network Analog Output \ANO\ANO , NTIO, \TANO, \TIO Network Analog Output Status \ANONetwork Digital Input Status \INNTIO, \TIN, \TIO, Varb Network Digital Output \OUT\OUT , NTIO, \TIO, \TOUT Network Digital Output Status \OUTVARB9=2\3OUT Transfer Network Analog Input Status \TANITransfer Network Analog Output Status \TANOTransfer Network Digital Input Status Range n = Default n/a\TIN \TIOAnalog Outputs \TOUTTransfer Network Digital Output Status Digital Outputs