Parker Hannifin GEM6K manual Connecting the 6K to the PC through Ethernet

Page 11

Step 3— Connecting the 6K to the PC through Ethernet

c.At the DOS prompt, type the arp –scommand (see example below) and press ENTER.

 

 

 

 

 

 

 

Spaces

arp –s 192.168.10.30 0-90-55-0-0-1 192.168.10.31

(press the space bar)

 

 

 

 

 

 

 

 

 

 

6K’s IP Address

 

 

 

 

IP Address of Ethernet Card

 

 

 

 

6K’s Ethernet Address

(from TNT report)

 

(from TNT report)

 

 

 

d.To verify the mapped addresses, type the arp –acommand and press ENTER. If you receive the response “No ARP Entries Found”:

1)Switch to the Motion Planner Terminal window, type NTFEN2 (or NTFEN1 if using a peer-to-peer network) and press ENTER, then type RESET and press ENTER.

2)Switch to the DOS window, type the ping command and press ENTER:

ping

 

192.168.10.30

 

 

 

 

 

 

If your PC responds with “Request

 

 

 

 

6K’s IP Address (from TNT report)

Timed Out”, check your Ethernet

(space)

 

wiring and IP address setting.

 

 

 

 

 

3)Repeat the arp –scommand as instructed above. Use arp –ato verify.

4)Switch to the Motion Planner Terminal window, type NTFEN2 (or NTFEN1 if using a peer-to-peer network) and press ENTER, then type RESET and press ENTER.

e.(OPTIONAL) Automate the arp –sstatic mapping command. This allows your PC to automatically perform the static mapping when it is booted; otherwise, you will have to manually perform static mapping every time you boot your PC.

Windows 95/98: Add the arp –scommand to the Autoexec.bat file.

Windows NT: Create a batch file that contains the arp –scommand. Save the file (name the file “6KARP.BAT”) to the root directory on the C drive. Using Windows Explorer, locate the 6KARP.BAT file, create a shortcut, then cut and paste the shortcut into the StartUp directory. Windows NT has several StartUp directories to accommodate various user configurations. We recommend using the Administrators or All Users locations. For example, you can paste the shortcut into the WinNt\Profiles\AllUsers\StartMenu\Programs\StartUp directory, allowing all users to statically map the IP and Mac addresses whenever the PC is booted.

1.Connect the 6K Controller to your computer using a cross-over 10Base-T cable (5-foot cable provided in ship kit).

2.In Motion Planner’s Terminal window, click the{bmc b_comset.bmp} button to view the Communications Settings dialog. Select the Port tab, select “Network” and type the IP address (192.168.10.30) in the text field. Click OK.

You may now communicate to the controller over the Ethernet interface. Reminder: You cannot communicate to the 6K with simultaneous transmissions over both the “ETHERNET” and “RS-232” (PORT1) connections.

Ethernet Connection Status LEDs (located on the RJ-45 “ETHERNET” connector):

Green LED turns on to indicate the Ethernet physical connection is OK.

Yellow LED flashes to indicate the 6K is transmitting over the Ethernet interface.

page 7

Image 11
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 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/ONetwork 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 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 Response Possible Cause Error ConditionsError messages related to Ethernet networking Related Error Status register bits are noted below ER, TER, and Terf NtconnNetwork Connect 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-VARI49Range n = NtpollNetwork Polling Rate NTFEN, NTID, SYSPER, VARSHO, Varshi NtrateNetwork Sharing Rate for Peer-to-Peer Communication Ntrate *NTRATE50Network Status Network Program Select EnableNTS NtselpNetwork Write Ascii String to DVT Camera Default Response See AlsoNtwrit Transfer Network Status full-text report TntsTntsf Transfer Network StatusShared 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 Network Analog Output Status \ANONTIO, \TIN, \TIO, Varb \INNetwork Digital Input Status \OUT , NTIO, \TIO, \TOUT \OUTNetwork Digital Output VARB9=2\3OUT \OUTNetwork Digital Output Status 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