Parker Hannifin GEM6K manual Ntip, Network IP Address, Type Syntax Units Range Default Response

Page 25

NTIP

Type:

Syntax:

Units:

Range:

Default:

Response:

Network IP Address

Network

 

Product

Rev

<!><n>NTIP<i>,<i>,<i>,<i>,<i>

6K

5.3

n = network server #

 

 

1st i = Server type

 

 

2nd i = IP address octet1

 

 

3rd i = IP address octet2

 

 

4th i = IP address octet3

 

 

5th i = IP address octet4

 

 

n = 1-6

 

 

 

1st i = 1-3 (1 = Allen-Bradley PLC, 2 = OPTO22, 3 = DVT camera)

 

2nd i through 5th i = 0-255.

 

 

n = 0

 

 

 

1st i = 1

 

 

 

2nd i through 5th i = 0

 

 

NTIP:

*1NTIP1,172,54,125,34

 

 

 

*2NTIP1,172,54,125,67

 

 

 

*3NTIP ...

(shows config. of all servers)

 

1NTIP:

*1NTIP1,172,54,125,34

 

 

See Also: ER, NTADDR, NTCONN, NTMASK, [ NTS ], TNTS, TNTSF

<n> NTIP <i>,<i>,<i>,<i>,<i>

Network Server #

Range: 1-6

Server Type.

1= Allen-Bradley PLC

2= OPTO22 (MODBUS/TCP)

3= DVT Vision Camera

IP Address of Server.

Range for each octet = 0-255.

For example, to enter an address of 172.20.34.246, type in 172,20,34,246 (be sure to use commas instead of periods between the octets).

The NTIP command describes the type of connection the 6K controller will make with a server, and it specifies the IP address of the server.

Saved in Non-Volatile Memory

This command is saved in the controller’s non-volatile memory, and is remembered on power-up and RESET.

Potential Error Conditions:

A valid IP address for the designated server must be specified or the 6K connection will timeout and Error Status bit #23 (see ER, TER, and TERF) will be set to 1, and the NTS/TNTS/TNTSF reports will indicate which connection was in error.

The subnet address must be the same for the 6K and any server it connects to, or a connection error (ER.23) will occur. For example, if the subnet mask is 255.255.255.0 (class C) and the 6K’s address is 172.20.34.246, then every server it connects to must have an address of 172.20.34.x.

Example:

;

Identify network

server #2 as an Allen-Bradley PLC

2NTIP1,172,54,125,34

 

;

(Server Type #1)

at IP address 172.54.125.34

page 21

Image 25
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 Setting TCP/IP Properties and Static Mapping Configuring the 6K for Ethernet CommunicationPreparing the Controller over RS-232 Changing the 6K’s IP Address or Subnet MaskPage 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-PeerThen the command would be 3NTIP2,172,20,34,170 Communication according to the procedures onNetworking with OPTO22 Snap I/O Set see ER, TER, TerfInputs 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 Networking with an Allen-Bradley SLC 5/05 PLC Command would be 3NTIP1,172,20,34,124OPTO22 Ethernet I/O rack Provided below5NTCONN1 NTFEN2 ResetVARB100-VARB103 5NTPOLL50HAB79 Exchanging data automatically with the PLC. Here is how toVARB106 PLCError messages related to Ethernet networking Error ConditionsError Response Possible Cause Related Error Status register bits are noted below Network Connect NtconnER, TER, and Terf Ntid Type Syntax Units Range Default Response See AlsoNetwork Sharing Unit ID for Peer-to-Peer Communication ProductNtio Network I/O OPTO22 Configuration\OUT , \TANI, \TANO, \TIN, \TIO, \TOUT Ntip Type Syntax Units Range Default ResponseNetwork IP Address Server TypeExample 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 PLCNetwork Map Integer Variables for Writing to PLC NtmpwiVARI35-VARI49 WAITVARI40=22Network Polling Rate NtpollRange n = Network Sharing Rate for Peer-to-Peer Communication NtrateNtrate *NTRATE50 NTFEN, NTID, SYSPER, VARSHO, VarshiNTS Network Program Select EnableNtselp Network StatusNtwrit Default Response See AlsoNetwork Write Ascii String to DVT Camera Tntsf TntsTransfer Network Status Transfer Network Status full-text reportVarshi 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 \TANO\TIN Range n = Default n/a\TIO Transfer Network Digital Input StatusTransfer Network Digital Output Status \TOUTDigital Outputs Analog Outputs