EDG-4508+8-Port Ethernet to RS-232/422/485 Data GatewayEDG-4516+16-Port Ethernet to RS-232/422/485 Data GatewayUser Manual
EDG-4508+/4516+ User Manual 2Chapter 1 Overview1.1 Introduction This manual provides the necessary inform
EDG-4508+/4516+ User Manual 88Step 3. We can activate the DI0 event; tester will show the green indicator. Message Log will show event log with timer
89 Chapter 8 Step 2. After enabling DI value inverse function, Green indicator means inactive and Red indicator means active. Step 3. After DI value
EDG-4508+/4516+ User Manual 908.3 Programming I/O According the feature list, it mentioned EDG-4508+/4516+ pro
91 Chapter 8 It remarks the function of htons(n), the parameter n means the TCP Port in server application and It helps the programmer to make his ow
EDG-4508+/4516+ User Manual 92mbtcp.hFile name of mbtcp means Modbus TCP; we provide the easier definition of necessary parameter. For example, MODBUS
2CHAPTER 9Troubleshooting
EDG-4508+/4516+ User Manual 94Chapter 9 TroubleshootingThis chapter explains how to solve some of the most common problems with the EDG Series. If yo
95 Chapter 9 "The host PC can access the EDG Series at this local site but later relocates the EDG Series to a remote site that PCs cannot acces
EDG-4508+/4516+ User Manual 96
2 APPENDIX A
3 Chapter 1 1.3 Specifications • I/O controller: 16C654 or compatible (auto hardware flow control)• LAN
EDG-4508+/4516+ User Manual 98Appendix A A.1 RS-232 Pin Assignment A.2 RJ-48 Cable PIN Assignment1 2 3 4 5 6 7 8 91 2 3 4 5 6 7 8 9 10
99 Appendix A RS-422RS-485Pin No. Description1Tx-4Tx+5GND7Rx+9Rx-Pin No. Description1DATA-4DATA+5GND
EDG-4508+/4516+ User Manual 100
EDG-4508+/4516+ User Manual 4
2CHAPTER 2Getting Started
EDG-4508+/4516+ User Manual 6Chapter 2 Getting StartedFigure 2.1: Installation Flow ChartPlug LAN Cable (RJ-45) to EDG-4508(R)+ /EDG-4516(R)+Install
7 Chapter 2 2.1 Understanding EDG-4508+ and EDG-4516+ EDG-4508+ and EDG-4516+ are advanced Ethernet data gateway units. They ex
EDG-4508+/4516+ User Manual 82.2 Connecting HardwareFigure 2.2: EDG-4508+/4516+ Front Panel Figure 2.3: EDG-4508R+/4516R+ Front Panel Serial Ports8
9 Chapter 2 Figure 2.4: EDG-4508+/4516+ LED Indicators and ConnectorsFigure 2.5: EDG-4508R+/4516R+ LED Indicators 1 2 3 4 5 6 7 8
EDG-4508+/4516+ User Manual 10Table 2.1: EDG-4508+/4516+ LED & Connector DefinitionsItem LED Status Description!StatusON Power onOFF Power off or
11 Chapter 2 Figure 2.6: EDG-4508+/4516+ Rear PanelFigure 2.7: EDG-4508R+/4516R+ Rear PanelPower Switch & ConnectorDI/O PIN ConnectorFuse Storage
EDG-4508+/4516+ series User Manual iiCopyrightThis documentation and the software included with this product are copyrighted 2004 by Advantech Co., Lt
EDG-4508+/4516+ User Manual 122.2.1 Rack MountingFigure 2.8: Rack Mounting
13 Chapter 2 2.2.2 Network ConnectionFigure 2.9: Ethernet Connector of EDG-4508+/4516+Figure 2.10: Ethernet Connector of EDG-4508R+/4516R+Ethernet Co
EDG-4508+/4516+ User Manual 142.2.3 Power Supply ConnectionFigure 2.11: Power Switch and Connector with Fuse2.2.4 Serial Port ConnectionFigure 2.12: 8
15 Chapter 2 2.2.5 Ordering Information• EDG-45044-port Ethernet to RS-232/422/485 Data Gateway• EDG-4508+8-port Ethernet to RS-232/422/485 Data Ga
EDG-4508+/4516+ User Manual 162.3 Installation 2.3.1 Install/Uninstall Driver & UtilityIn order to u
17 Chapter 2 4. Carefully read the Software License Agreement, and press "Next" to continue.5. The Setup program will specify a default ins
EDG-4508+/4516+ User Manual 186. In this step, you may select a specific program folder or just use the default setting and press "Next".If
19 Chapter 2 7. After setup has copied all program files to your computer, click the Finish button to finish the installation.
EDG-4508+/4516+ User Manual 20
2CHAPTER 3Configuration
iiiProduct Warranty (2 years)Advantech warrants to you, the original purchaser, that each of its prod-ucts will be free from defects in materials and
EDG-4508+/4516+ User Manual 18Chapter 3 Configuration3.1 Auto SearchEDG-4508+ and EDG-4516+ provides an easy-to-use configuration util-ity to config
19 Chapter 3 You can click on the device name to show the features of the specific device. Click on the "+" before the model name (e.g. EDG
EDG-4508+/4516+ User Manual 203.2 Locating EDG-4508+/4516+The configuration utility provides a "Locate" function to assist you in finding a
21 Chapter 3 3.3 Device System ConfigurationThe configuration utility only searches for EDG-4508+ and EDG-4516+ on the local network, and cannot sea
EDG-4508+/4516+ User Manual 223.4 Network ConfigurationEthernet OptionMAC AddressThis does not need configuration.Link SpeedThis function will show t
23 Chapter 3 3.5 Port ConfigurationPort SettingYou can modify the description for individual port settings in the Port Setting Option.Name Show Port
EDG-4508+/4516+ User Manual 24Port ConfigurationYou can modify port configuration in this Configuration Option such as Type, Parity, Flow Control, Dat
25 Chapter 3 Parity Parity Check TypeYou can follow the parity check type of your connected module. The fol-lowing types are provided. • None• Odd•
EDG-4508+/4516+ User Manual 26Data Bits Data Bits TypeYou can choose the number of Data Bits of your connected module to be 5, 6, 7 or 8.Stop Bits Sto
27 Chapter 3 Baud RateFlow Control TypeYou can choose the Baud Rate of your connected module. The following rates are available: • 7,200• 9,600• 1
EDG-4508+/4516+ series User Manual ivFCC Class AThis equipment has been tested and found to comply with the limits for a Class A digital device, pursu
EDG-4508+/4516+ User Manual 28Host Idle Timeout The ‘Host Idle Timeout’ setting monitors the connection between the host and the device. If the ‘Host
29 Chapter 3 3.6 Security ConfigurationFor security reasons, you are highly recommended to use EDG’s security features. The EDG configuration utilit
EDG-4508+/4516+ User Manual 30
2CHAPTER 4Port Mapping Utility
EDG-4508+/4516+ User Manual 32Chapter 4 Port Mapping Utility4.1 OverviewThe purpose of the port mapping utility is to help you manage all ports on o
33 Chapter 4 2. Click the ADD button to assign a COM port to an EDG device.Module of Installed DeviceYou can choose between all connected EDG devices
EDG-4508+/4516+ User Manual 34MemoYou can add a description to the port setting if necessary.Add Click here to add a single port setting to your spec
35 Chapter 4 4.3 Inquiring Virtual COM Port SettingYou can check the virtual COM port setting by clicking on the EDG device’s ports. In this case, C
EDG-4508+/4516+ User Manual 364.3.1 Updating EDG FirmwareUpdating FirmwareAdvantech continually upgrades its firmware. You can use the download functi
37 Chapter 4 4.3.2 Self Test Function Test The purpose of this test is to confirm that the communication from the host PC to the EDG device is OK. W
iii Table of ContentsContentsChapter 1 Overview ... 21.1 Introduction ...
EDG-4508+/4516+ User Manual 38Signal Test• RTS->CTS: Checks the RTS and CTS signals between two ports.• DTR->RI: Checks the DTR and RI signals
39 Chapter 4 Delete You can delete Port Mapping Setting by clicking the button. Apply If any changes are made, please press the
EDG-4508+/4516+ User Manual 404.3.3 Save the ConfigurationIf you want to save or recover the configuration, you can select the "Import/Export&quo
2CHAPTER 5Web-Based Configuration
EDG-4508+/4516+ User Manual 42Chapter 5 Web-Based Configuration5.1 OverviewEDG devices can be configured through a web interface. By using a stan-da
43 Chapter 5 5.3 Network ConfigurationUnder network configuration, there are: MAC address, IP Address, Sub-net Mask and Default Gateway. Enter the c
EDG-4508+/4516+ User Manual 445.4 Port ConfigurationUnder port configuration, you can as sign the type and host idle timeout for individual ports.Not
45 Chapter 5 5.5 DI/O Event ConfigurationIn event configuration, you can assign an DI event by enabling the check box and choosing the optimized act
EDG-4508+/4516+ User Manual 465.6 Reset ConfigurationAll configurations will take effect after this reset step. Press the reset but-ton and the syste
2CHAPTER 6Console Configuration
EDG-4508+/4516+ User Manual iv3.2 Locating the EDG-4508+/4516+... 203.3 Device System Configuration...
EDG-4508+/4516+ User Manual 48Chapter 6 Console Configuration6.1 OverviewThe purpose of the Console Configuration is to help you manage your device
49 Chapter 6 Step 3. Selecting a COM Port Confirm that the console configuration works ok.Step 4. COM Port Setting To connect the EDG series for co
EDG-4508+/4516+ User Manual 50Step 5. Connecting Successfully After connecting the device in console mode, you can simply type the "Help" co
51 Chapter 6 • log[Usage] log[Function] displays log file>log[05-09-2003 17:01:17] System up• date: displays or sets the date [Usage] date[Fu
EDG-4508+/4516+ User Manual 52• net[Usage] net[Function] displays the configuration of net>netCurrent net is ip 172.18.3.226 gw 0.0.0.0 netmask 25
53 Chapter 6 • port[USAGE] port [nn | all][FUNCTION] displays the status of port(s)>port allThe Port01 is type 422, idleto 30, idleThe Port02 is
EDG-4508+/4516+ User Manual 54• event[USAGE] event [nn | all][FUNCTION] displays the configuration of event(s)[USAGE] event nn iomap xx action [L2H|H
55 Chapter 6 • ping[USAGE] ping addr (addr: IP address of destination host)[FUNCTION] Sends ICMP ECHO_REQUEST packets to networkhosts>ping 172.18
EDG-4508+/4516+ User Manual 56
2CHAPTER 7Universal Serial Device Gateway
v Table of ContentsFigure 7.9: ... 64Figure 7.10: ...
EDG-4508+/4516+ User Manual 58Chapter 7 Universal Serial Device GatewayAdvantech EDG-4508+/4516+ provides a mechanism that allows user to upgrade the
59 Chapter 7 Figure 7.1: 3. Press "Start" button to start the firmware download procedure. Figure 7.2: 123
EDG-4508+/4516+ User Manual 604. When the firmware download procedure is done, you will discover the model name of the EDG Configuration Utility is ch
61 Chapter 7 TCP Port numberFigure 7.5: The TCP port number represents the source port number in TCP connec-tions, and is the number used to identify
EDG-4508+/4516+ User Manual 62Allow any IP to access Figure 7.7: If this option is enabled, any PC can access data from this EDG-4508+U/4516+U.Specifi
63 Chapter 7 1. Select port 1 ~ port 8 if you are using EDG-4508+U. Select port 1 ~ port 16 if you are using EDG-4516+U.2. Key-in the data idle time.
EDG-4508+/4516+ User Manual 64Figure 7.9: File Name Description4508+Uv200.exf The firmware of EDG-4508+U; version 2.0.4508+v200.exf The firmware of ED
65 Chapter 7 3. Press "Start" button to start the firmware download procedure.Figure 7.10: 4. When the firmware download procedure is done,
EDG-4508+/4516+ User Manual 667.2 Network Architecture and Example Code The EDG-4508+U/4516+U is an advanced peer-to-peer data gat
67 Chapter 7 7.2.1 Polling Network ArchitectureIf you want to use host PC to poll the serial devices, which connect to EDG-4508+U/4516+U via Ethernet
EDG-4508+/4516+ User Manual viChapter 9 Troubleshooting... 94Appendix A ...
EDG-4508+/4516+ User Manual 68Example (EDG-4508+U):SOCKADDR_IN Dst4508UAddr;SOCKET Dst4508USock;char RxData[10];memset(&Dst4508UAddr, 0, sizeof(SO
69 Chapter 7 7.2.2 Event-handling Network ArchitectureIf an event occurs from serial devices connected to the EDG-4508+U/4516+U, the host PC can get
EDG-4508+/4516+ User Manual 70Example (EDG-4508+U):SOCKADDR_IN HostAddr;SOCKET HostSock;SOCKADDR_IN ClntAddr;SOCKET ClntSock;int ClntAddrLen;char RxDa
71 Chapter 7 7.2.3 Peer-to-Peer Network ArchitectureIf you want to transmit data from one serial device to another serial device via the Ethernet, yo
EDG-4508+/4516+ User Manual 72Example (EDG-4508+U):1. Complete the setting of #1 EDG-4508+U#1 EDG-4508+UModule name: OfficeIP address: 172.20.20.111TC
73 Chapter 7 2. Find out the IP address and TCP port of #2 EDG-4508+U that you want to connect.#2 EDG-4508+UModule name: FactoryIP address: 172.20.20
EDG-4508+/4516+ User Manual 743. Key-in the IP address and TCP port of #2 EDG-4508+U in #1EDG-4508+U configuration utility.Figure 7.20: Key-in informa
75 Chapter 7 5. Check the communication parameters of both EDG-4508+Us are the same. If not, it might not work. Please check the "Baud rate"
EDG-4508+/4516+ User Manual 767.3 Web-Based Configuration for EDG-4508+U/4516+U EDG-4508+U/4516+U also support web-based configuration funct
77 Chapter 7 7.3.2 Network ConfigurationUnder network configuration, there are MAC address, IP Address, Subnet Mask and Default Gateway and Listen TC
2CHAPTER 1Overview
EDG-4508+/4516+ User Manual 787.3.3 Port Configuration Under port configuration, you can assign the type, host idle timeout and configure the connecte
79 Chapter 7 7.3.4 DI/O Event ConfigurationIn event configuration, you can assign DI event by enabling the check box and choose the optimized action
EDG-4508+/4516+ User Manual 80• version[Usage] version[Function] displays the current firmware version>versionCurrent version of firmware is 1.11-
81 Chapter 7 • net[Usage] net[Function] displays the configuration of net>netCurrent net is ip 172.18.3.226 gw 0.0.0.0 netmask 255.255.255.0 [
EDG-4508+/4516+ User Manual 82The Port15 is type 422, idleto 30, idleThe Port16 is type 422, idleto 30, idle[USAGE] port [nn | all] type [232|422|485]
83 Chapter 7 • event[USAGE] event [nn | all][FUNCTION] displays the configuration of event(s)[USAGE] event nn iomap xx action [L2H|H2L|CHG] server d
EDG-4508+/4516+ User Manual 84• l ping[USAGE] ping addr (addr: IP address of destination host)[FUNCTION] Sends ICMP ECHO_REQUEST packets to network h
2CHAPTER 8Event and DI/O Monitoring
EDG-4508+/4516+ User Manual 86Chapter 8 Event and DI/O Monitoring8.1 Overview The purpose of Event and
87 Chapter 8 8.2.2 Event MonitoringOnce you have executed the steps in Chapter 3.4, you can use the tester to monitor the event status with the port
Komentarze do niniejszej Instrukcji