Parker Hannifin GEM6K manual Ping

Page 8

If the 6K is placed on an open network, put the 6K and any associated server devices on one side of an Ethernet network switch with its own subnet and install a bridge to filter traffic, such that broadcast traffic does not pass in either direction (see diagram below).

Ethernet Switch

(255.255.255.0) out

Bridge

6K

Device 2

Client

Server

IP = 192.168.10.30

IP = 192.168.10.80

Device 1

Server

IP = 192.168.10.120

Ethernet Switch

(255.255.0.0)

out

IP = 172.20.44.180

Ethernet

Card

PC

Use a switch (recommended) or hub if you are making more than one Ethernet connection with the 6K.

The 6K client must have the same subnet address as all of the server devices it will connect to (PLC, OPTO22, DVT, etc.). For example, if the subnet mask (NTMASK) is 255.255.255.0, and the subnet address is 192.168.10.*, then all devices (including the 6K) must have an address starting with 192.168.10.*, where the * number is unique to the device.

Fieldbus (DeviceNet or Profibus) versions of the 6K (part numbers 6Kn-DN or 6Kn-PB) cannot also communicate as an Ethernet Client at the same time.

If you have a Fieldbus unit and need to use Ethernet instead, execute the OPTENØ command, then the RESET command (this disables the Fieldbus features), and then the

NTFEN1 or NTFEN2 command.

To re-enable Fieldbus communication, execute the NTFENØ command, then the RESET command (this disables Ethernet communication), and then the OPTEN1 command.

You cannot communicate to the 6K with simultaneous transmissions over both the “ETHERNET” and “RS-232” (PORT1) connections.

Follow the manufacturer’s setup procedure for each Allen-Bradley PLC, DVT camera and OPTO22 Ethernet I/O rack.

You should be able to ping every 6K, DVT camera, PLC and OPTO22 I/O rack from the PC. Use the ping command at the DOS prompt:

ping 192.168.10.30

(space)

 

Device’s IP Address

 

 

 

If your PC responds with “Request Timed Out”, check your Ethernet wiring and IP address setting.

The following Ethernet setup commands need only be sent once to the 6K because they are saved in non-volatile memory and are remembered on power-up and RESET: NTID,

NTIO, NTIP, NTMPRB, NTMPRI, NTMPWB, and NTMPWI.

If a PC is connected to the 6K/Device Ethernet network, then the PC should include all devices in a static mapping table. The static mapping procedure, for the 6K’s address, is found on page 6.

If the 6K is in a peer-to-peer network, enable Ethernet communication with the NTFEN1 command (NTFEN2 mode is not compatible with peer-to-peer communication).

page 4

Image 8
Contents Ethernet Networking for 6K and Gem6K User Information Ethernet Networking Page Example Direct Connect to One Server Setup Wizard AvailableOverview Example Direct Connect to PC Networking Guidelines DevicePing Configuring the 6K for Ethernet Communication Setting TCP/IP Properties and Static MappingPreparing the Controller over RS-232 Changing the 6K’s IP Address or Subnet MaskPage Connecting the 6K to the PC through Ethernet Arp -s 192.168.10.30 0-90-55-0-0-1Networking with Other 6K or Gem6K Products Peer-to-Peer MillisecondsCommunication according to the procedures on Then the command would be 3NTIP2,172,20,34,170Networking with OPTO22 Snap I/O Set see ER, TER, TerfNetwork Server # Ntio command to specify the type of module in that positionInputs Module # on Server n Range Networking with a DVT Vision SystemIs set see ER, TER, Terf Command would be 3NTIP1,172,20,34,124 Networking with an Allen-Bradley SLC 5/05 PLCOPTO22 Ethernet I/O rack Provided belowNTFEN2 Reset 5NTCONN1VARB100-VARB103 5NTPOLL50Exchanging data automatically with the PLC. Here is how to HAB79VARB106 PLCError Response Possible Cause Error ConditionsError messages related to Ethernet networking Related Error Status register bits are noted below ER, TER, and Terf NtconnNetwork Connect Type Syntax Units Range Default Response See Also NtidNetwork Sharing Unit ID for Peer-to-Peer Communication ProductNetwork I/O OPTO22 Configuration Ntio\OUT , \TANI, \TANO, \TIN, \TIO, \TOUT Type Syntax Units Range Default Response NtipNetwork IP Address Server TypeNtmprb Network Map Binary Variables for Reading from PLC ExampleNtmpwb Network Map Binary Variables for Writing to PLCNtmpri Network Map Integer Variables for Reading from PLC TNTS, TNTSF, VariNtmpwi Network Map Integer Variables for Writing to PLCVARI35-VARI49 WAITVARI40=22Range n = NtpollNetwork Polling Rate Ntrate Network Sharing Rate for Peer-to-Peer CommunicationNtrate *NTRATE50 NTFEN, NTID, SYSPER, VARSHO, VarshiNetwork Program Select Enable NTSNtselp Network StatusNetwork Write Ascii String to DVT Camera Default Response See AlsoNtwrit Tnts TntsfTransfer Network Status Transfer Network Status full-text reportShared Input Variable for Peer-to-Peer Data Exchange Default n/aVarshi Shared Output Variable for Peer-to-Peer Data Exchange Range i = Default n/aVarsho Output variable #1 This code is executed on unit #2 NTIO, \TANI, \TIO, VAR \ANINetwork Analog Input Voltage Status \ANO , NTIO, \TANO, \TIO \ANONetwork Analog Output \ANO Network Analog Output StatusNTIO, \TIN, \TIO, Varb \INNetwork Digital Input Status \OUT , NTIO, \TIO, \TOUT \OUTNetwork Digital Output VARB9=2\3OUT \OUTNetwork Digital Output Status \TANI Transfer Network Analog Input Status\TANO Transfer Network Analog Output StatusRange n = Default n/a \TIN\TIO Transfer Network Digital Input Status\TOUT Transfer Network Digital Output StatusDigital Outputs Analog Outputs