Parker Hannifin GEM6K manual

Page 10

If you are using Windows NT, select the “Protocols” tab.

Make sure this number is different from the one in the 6K’s IP address. If the 6K’s default IP address is unchanged (192.168.10.30), then select a number other than 30.

NOTE

If you are using a computer (Ethernet card) that is normally connected to a network, you should write down the existing IP Address and Subnet Mask values, so that you may restore them later.

4.Establish an RS-232 communication link between the 6K and your computer (connect to the 6K’s “RS-232” connector according to the instructions in the 6K Installation Guide).

5.Install Motion Planner on your computer, and launch Motion Planner. Click on the Terminal tab to view the terminal emulator.

6.In the Terminal window, click on the button to view the Communications Settings dialog. Select the Port tab and select the COM port that is connected to the 6K’s “RS-232” connector (see Step 4 above). Click OK.

7.In the Terminal window, enable Ethernet communication with the appropriate NTFEN command:

a.If you are using the 6K as a server or client, type the NTFEN2 command and press ENTER, then type the RESET command and press ENTER.

b.If you are using the 6K in a peer-to-peer connection with another 6K or Gem6K, type the NTFEN1 command and press ENTER, then type the RESET command and press ENTER.

8.Use the following sub-procedure to statically map the 6K’s Ethernet MAC address to IP address of the Ethernet card in your PC. Static mapping eliminates the need for the PC to ARP the 6K controller, thereby reducing communication overhead.

a.In Motion Planner’s Terminal window, type TNT and press ENTER. The response includes the 6K IP address, and the 6K Ethernet address value in hex (this is also known as the “MAC” address). Write down the IP address and the Ethernet address (hex value) for later use in the procedure below.

b.Start a DOS window. The typical method to start a DOS window is to select MS-DOS Prompt from the Start/Programs menu (see illustration below).

page 6

Image 10
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 Networking Guidelines DevicePing Preparing the Controller over RS-232 Configuring the 6K for Ethernet CommunicationSetting TCP/IP Properties and Static Mapping 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 MillisecondsNetworking with OPTO22 Snap I/O Communication according to the procedures onThen the command would be 3NTIP2,172,20,34,170 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 OPTO22 Ethernet I/O rack Command would be 3NTIP1,172,20,34,124Networking with an Allen-Bradley SLC 5/05 PLC Provided belowVARB100-VARB103 NTFEN2 Reset5NTCONN1 5NTPOLL50VARB106 Exchanging data automatically with the PLC. Here is how toHAB79 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 Network Sharing Unit ID for Peer-to-Peer Communication Type Syntax Units Range Default Response See AlsoNtid ProductNetwork I/O OPTO22 Configuration Ntio\OUT , \TANI, \TANO, \TIN, \TIO, \TOUT Network IP Address Type Syntax Units Range Default ResponseNtip 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, VariVARI35-VARI49 NtmpwiNetwork Map Integer Variables for Writing to PLC WAITVARI40=22Network Polling Rate NtpollRange n = Ntrate *NTRATE50 NtrateNetwork Sharing Rate for Peer-to-Peer Communication NTFEN, NTID, SYSPER, VARSHO, VarshiNtselp Network Program Select EnableNTS Network StatusNtwrit Default Response See AlsoNetwork Write Ascii String to DVT Camera Transfer Network Status TntsTntsf 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 \ANO Network Analog Output StatusNetwork Digital Input Status \INNTIO, \TIN, \TIO, Varb Network Digital Output \OUT\OUT , NTIO, \TIO, \TOUT Network Digital Output Status \OUTVARB9=2\3OUT \TANI Transfer Network Analog Input Status\TANO Transfer Network Analog Output Status\TIO Range n = Default n/a\TIN Transfer Network Digital Input StatusDigital Outputs \TOUTTransfer Network Digital Output Status Analog Outputs