Vicks EDG-4516+ manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112

Ir para a página of

Bom manual de uso

As regras impõem ao revendedor a obrigação de fornecer ao comprador o manual com o produto Vicks EDG-4516+. A falta de manual ou informações incorretas fornecidas ao consumidor são a base de uma queixa por não conformidade do produto com o contrato. De acordo com a lei, pode anexar o manual em uma outra forma de que em papel, o que é frequentemente utilizado, anexando uma forma gráfica ou manual electrónicoVicks EDG-4516+ vídeos instrutivos para os usuários. A condição é uma forma legível e compreensível.

O que é a instrução?

A palavra vem do latim "Instructio" ou instruir. Portanto, no manual Vicks EDG-4516+ você pode encontrar uma descrição das fases do processo. O objetivo do manual é instruir, facilitar o arranque, a utilização do equipamento ou a execução de determinadas tarefas. O manual é uma coleção de informações sobre o objeto / serviço, um guia.

Infelizmente, pequenos usuários tomam o tempo para ler o manual Vicks EDG-4516+, e um bom manual não só permite conhecer uma série de funcionalidades adicionais do dispositivo, mas evita a formação da maioria das falhas.

Então, o que deve conter o manual perfeito?

Primeiro, o manual Vicks EDG-4516+ deve conte:
- dados técnicos do dispositivo Vicks EDG-4516+
- nome do fabricante e ano de fabricação do dispositivo Vicks EDG-4516+
- instruções de utilização, regulação e manutenção do dispositivo Vicks EDG-4516+
- sinais de segurança e certificados que comprovam a conformidade com as normas pertinentes

Por que você não ler manuais?

Normalmente, isso é devido à falta de tempo e à certeza quanto à funcionalidade específica do dispositivo adquirido. Infelizmente, a mesma ligação e o arranque Vicks EDG-4516+ não são suficientes. O manual contém uma série de orientações sobre funcionalidades específicas, a segurança, os métodos de manutenção (mesmo sobre produtos que devem ser usados), possíveis defeitos Vicks EDG-4516+ e formas de resolver problemas comuns durante o uso. No final, no manual podemos encontrar as coordenadas do serviço Vicks na ausência da eficácia das soluções propostas. Atualmente, muito apreciados são manuais na forma de animações interessantes e vídeos de instrução que de uma forma melhor do que o o folheto falam ao usuário. Este tipo de manual é a chance que o usuário percorrer todo o vídeo instrutivo, sem ignorar especificações e descrições técnicas complicadas Vicks EDG-4516+, como para a versão papel.

Por que ler manuais?

Primeiro de tudo, contem a resposta sobre a construção, as possibilidades do dispositivo Vicks EDG-4516+, uso dos acessórios individuais e uma gama de informações para desfrutar plenamente todos os recursos e facilidades.

Após a compra bem sucedida de um equipamento / dispositivo, é bom ter um momento para se familiarizar com cada parte do manual Vicks EDG-4516+. Atualmente, são cuidadosamente preparados e traduzidos para sejam não só compreensíveis para os usuários, mas para cumprir a sua função básica de informação

Índice do manual

  • Página 1

    EDG-4508+ 8-Port Ethernet to RS-232/422/485 Dat a Gateway EDG-4516+ 16-Port Ethernet to RS-232/422/485 Dat a Gateway User Manual[...]

  • Página 2

    EDG-4508+/4516+ series User Manual ii Copyright This documentation and the softwa re included with this product are copyrighted 2004 by Advantech Co., Ltd. All rights are reserved. Advantech Co., Ltd. reserves the ri ght to make improvement s in the products described in this manu al at any time without notice. No part of this manual may be reprodu[...]

  • Página 3

    iii Product W a rranty (2 year s) Advantech warrants to you, the original purchaser , that each of its prod- ucts will be free from defects in mat erials and workm anship for two years from the date of purchase. This warranty does not apply t o any products which have b een repaired or altered by persons other than repair perso nnel authorized by A[...]

  • Página 4

    EDG-4508+/4516+ series User Manual iv FCC Class A This equipment has been tested and f ound to comply with the li mits for a Class A digital devi ce, pursuant to Part 15 of th e FCC Rules. These limits are designed to provide reasonable protection against harmful interfer- ence when the equipment is operated in a commercial e nvironment. This equip[...]

  • Página 5

    iii Table of Contents Contents Chapter 1 Overview .......................................................... 2 1.1 Introduction ... .................... ....................... ................... ................ 2 1.2 Features ................ .................... ...................... .................... .......... 2 1.3 Specifications....... [...]

  • Página 6

    EDG-4508+/4516+ User Manual iv 3.2 Locating the EDG-4508+/4516+ .. ....................... ...................... 20 3.3 Device System Configuration ................ .................... ................ 21 3.4 Network Configuration ................. .................... ....................... .. 22 3.5 Port Configuration .. ......................[...]

  • Página 7

    v Table of Contents Figure 7.9: .......... ......... ........... ......... ........... ......... ........ 64 Figure 7.10: .......... ........... ......... ........... ......... ........... ...... 65 Figure 7.11: .......... ........... ......... ........... ......... ........... ...... 65 7.2 Network Architecture and Example Code ........... .......[...]

  • Página 8

    EDG-4508+/4516+ User Manual vi Chapter 9 Troubleshooting............................................. 94 Appendix A ......................................................................... 98 A.1 RS-232 Pin Assignment.............. ................... ....................... ..... 98 A.2 RJ-48 Cable PIN Assignment ............. ...................[...]

  • Página 9

    2 CHAPTER 1 Overview[...]

  • Página 10

    EDG-4508+/4516+ User Manual 2 Chapter 1 Overview 1.1 Introduction This manual provides the necessary information to use EDG-4508+, EDG-4516+ and t he rear-wired versions of these. The Ad vantech Ether- net Data Gateway series (EDG series) consists of fast and cos t-effective data gateways between RS-232/422/485 and Ethernet interfaces. EDG-4508+ an[...]

  • Página 11

    3 Chapter 1 1.3 Specifications • I/O controller: 16C654 or compatible (au to hardware flow control) • LAN Speed: 100Base-TX (10/100 Mbps) • Ethernet Connection: RJ-45 • Serial: RS-232, RS-422 and RS-485 • Serial Connection: RJ-48 • DI/O: programmabl e 4DI,4DO for extra control • Signals: TxD, RxD, R TS, CTS, DTR, DSR, DCD, GND • Spe[...]

  • Página 12

    EDG-4508+/4516+ User Manual 4[...]

  • Página 13

    2 CHAPTER 2 Getting S t arted[...]

  • Página 14

    EDG-4508+/4516+ User Manual 6 Chapter 2 Getting S t arted Figure 2.1: Installation Flow Chart Plug LA N Cable (RJ-45) to EDG-4508(R)+ /EDG-4516(R)+ Install Configuration Utility to PC Search all EDG Series in Configuration Utility Complete all settings and IP addresses on PC Test connection by Ping IP address from PC Set up Serial port by Port Mapp[...]

  • Página 15

    7 Chapter 2 2.1 Underst anding EDG-4508+ and EDG-4516+ EDG-4508+ and EDG-4516+ are advanced Ethern et data gateway units. They extend traditional COM ports of a PC to Ethernet access. Through Ethernet networking, users can control and mo nitor remote serial devices and equipment over LAN or W AN. Since EDG-4508+ an d EDG-4516+ are connected with th[...]

  • Página 16

    EDG-4508+/4516+ User Manual 8 2.2 Connecting Hardware Figure 2.2: EDG-4508+/4516+ Front Panel Figure 2.3: EDG-4508R+/4516R+ Front Panel Serial Ports 8 Ports for 4508+ Serial Ports 16 Ports for 4516+ Console Connector Status LED Ethernet Connector[...]

  • Página 17

    9 Chapter 2 Figure 2.4: EDG-4508+/ 4516+ LED Indicators and Co nnectors Figure 2.5: EDG-4508R+/4516R+ LED Indicators 1 2 3 4 5 6 7 8[...]

  • Página 18

    EDG-4508+/4516+ User Manual 10 T able 2.1: EDG-4508+/45 16+ LED & Connector Definitions Item LED St atus Descrip tion ! St a t u s ON Power on OFF Power off or no power Flash S tatus Heart Beat Monitoring S teady Device Locate Fun ction Enable " St a t u s Dual Power Indicator (Optional) # Console F T ype Console connector for Console Conf[...]

  • Página 19

    11 Chapter 2 Figure 2.6: EDG-4508+/4516+ Rear Panel Figure 2.7: EDG-4508R+/4516R+ Rear Pa nel Power Switch & Connector DI/O PIN Connector Fuse Storage[...]

  • Página 20

    EDG-4508+/4516+ User Manual 12 2.2.1 Rack Mounting Figure 2.8: Rack Mounting[...]

  • Página 21

    13 Chapter 2 2.2.2 Network Connection Figure 2.9: Ethernet Connector of EDG-4508+/4516+ Figure 2.10: Ethernet Connector of EDG-4508R+/4516R+ Ethernet Connector[...]

  • Página 22

    EDG-4508+/4516+ User Manual 14 2.2.3 Power Supply Connection Figure 2.1 1: Power Switch and Connector with Fuse 2.2.4 Serial Port Connection Figure 2.12: 8 Ports RS-232/485/422 Serial Connector for EDG-4508+ Figure 2.13: 16 Ports RS-232/485/42 2 Serial Connector for ED G-4516+ Figure 2.14: RS-232/485/422 Serial Connectors for EDG-45 08R+/4516R+ Fus[...]

  • Página 23

    15 Chapter 2 2.2.5 Ordering Information • EDG-4504 4-port Ethernet to RS-2 32/422/485 D ata Gateway • EDG-4508+ 8-port Ethernet to RS-2 32/422/485 D ata Gateway for fron t wiring access • EDG-4508R+ 8 port Ethernet to RS -232/422/485 Data Gatewa y for rear wiring access • EDG-4516+ 16-port Ethernet to RS-232/422/48 5 Data Gateway for fro nt[...]

  • Página 24

    EDG-4508+/4516+ User Manual 16 2.3 Inst allation 2.3.1 Inst all/Uninst all Driver & Utility In order to use a PC and an Ethernet network to control serial devices connected to EDG-45 08+/4516+, you must first have a host runnin g W in- dows 98/NT/2000/XP . This type of application also requires th e host to have an Ethernet card and the TCP/IP [...]

  • Página 25

    17 Chapter 2 4. Carefully read the Software License Agreement, and press "Next" to continue. 5. The Set up program will specify a default installatio n path, C:Program FilesAdvantechEDG COMPort Utilit y .[...]

  • Página 26

    EDG-4508+/4516+ User Manual 18 6. In this step, you may select a sp ecific program folder or just use the default setting and press "Next". If a new destination path is necessary , just click the Browse b utton to change the path. After you have specified the installation path, click the Next button.[...]

  • Página 27

    19 Chapter 2 7. After setup has copied all program files to your computer , click th e Finish button to finish the installat ion.[...]

  • Página 28

    EDG-4508+/4516+ User Manual 20[...]

  • Página 29

    2 CHAPTER 3 Configuration[...]

  • Página 30

    EDG-4508+/4516+ User Manual 18 Chapter 3 Configuration 3.1 Auto Search EDG-4508+ and EDG-4516+ provide s an easy-to-use configuration util- ity to confi gure your Ethernet Data Gateway Device through an Ethernet connection. The u tility provides an auto-search function to show your device(s) by simply executing the configurati on utility program fr[...]

  • Página 31

    19 Chapter 3 Y ou can click on the device name to show the features of the specific device. Click on the "+" before the model name (e.g. EDG-4516 +), and the utility will expand th e tree structure to show the individual device name. For Example, EDG Configuration Utili ty shows "ADAM00010203041 5" after expanding the tree st ru[...]

  • Página 32

    EDG-4508+/4516+ User Manual 20 3.2 Locating EDG-4508+/4516+ The configuration utility provides a "Locate" function to assist you in finding a specific device. Y ou can select the EDG Series as a group or just select one specific module, e.g. EDG-4508+ or ED G-4516+. There are two different opti ons for the Locate function (1) Designated: [...]

  • Página 33

    21 Chapter 3 3.3 Device System Configuration The configuration utility only searches for EDG-4 508+ and EDG-4516+ on the local network, and cannot search beyond a router or gateway . Make sure that the EDG-4508+ or EDG-4516+ you want to moni tor resides in the same local network segment as the host PC. Ethernet Data Gateway In this column, you will[...]

  • Página 34

    EDG-4508+/4516+ User Manual 22 3.4 Network Configuration Ethernet Option MAC Address This does not need configuration. Link Speed This function will show the current lin king speed to be either 10Mbps or 100Mbps. However, the utility will auto-detect the current transmission speed on the network segment and set the transmission speed for the device[...]

  • Página 35

    23 Chapter 3 3.5 Port Configuration Port Setting Y ou can modify the descri ption for individ ual port settings in the Po rt Setting Option. Name Show Port Name 8 Ports for EDG-4508+ 16 Ports for ED G-4516+ Description Show individual desc ription for each port. Y ou can change th e description for your connected m odule to identify the connection [...]

  • Página 36

    EDG-4508+/4516+ User Manual 24 Port Configu ration Y ou can m odify port con figuration i n this Configurat ion Option such as T ype, Parity , Flow Con trol, Data Bits, Stop Bits, Baud Rate and Host Idle T imeout. Ty p e Serial Port T ype Y ou can change the connectio n type for your module to : RS-232, RS-422 or RS-485.[...]

  • Página 37

    25 Chapter 3 Parity Parity Check T ype Y ou can follow the parity check t ype of your co nnected module. The fol- lowing types are provided. • None • Odd • Even • Mark • Space Flow Control Flow Control T ype Y ou can choose the flow control type of yo ur connected module. The fol- lowing types are available. • None • Xon/Xoff • R TS[...]

  • Página 38

    EDG-4508+/4516+ User Manual 26 Data Bi ts Data Bits T ype Y ou can choose t he number of Data Bits of your connected modu le to be 5, 6, 7 or 8. S top Bits Stop Bits T ype Y ou can choose 1 , 1.5 or 2 Stop Bits for your co nnected module[...]

  • Página 39

    27 Chapter 3 Baud Rate Flow Control T ype Y ou can choose the Baud Rate of y our connected modu le. The follo wing rates are available: • 7,200 • 9,600 • 14,400 • 19,200 • 38,400 • 57,600 • 1 15,200 • 230,400 * Set All Port The ‘Set All Port’ function helps you set all serial ports at one time. All you need is to set one port an[...]

  • Página 40

    EDG-4508+/4516+ User Manual 28 Host Idle Timeout The ‘Host Id le T imeout’ setting monitors the connection between the host and the device. If the ‘Host Idle T i meout’ setting time is reached, the device will release the resources allo cated to the port mappi ng. This pre- vents a stalled host from aff ecting the connected device. . Auto R[...]

  • Página 41

    29 Chapter 3 3.6 Security Configuration For security reasons, you are high ly recommended to use EDG’ s security features. The EDG configur ation utility provides securi ty functions for the network structure. Only configure the allowed IP The system will auto de tect the IP address for the currently connected computer . If you enable this functi[...]

  • Página 42

    EDG-4508+/4516+ User Manual 30[...]

  • Página 43

    2 CHAPTER 4 Port Mapping Utility[...]

  • Página 44

    EDG-4508+/4516+ User Manual 32 Chapter 4 Port Mapping Utility 4.1 Overview The purpose of the port mappi ng utility is to help you manage all p orts on one W indows 98/NT/2 000/ME/XP platform. The utility disp lays three types of ports: used ports, unused po rts and EDG ports. Please follo w the V irtual COM port setting steps. 4.2 V irtual CO M Po[...]

  • Página 45

    33 Chapter 4 2. Click the ADD butto n to assign a COM port to an EDG device. Module of Installed Device Y ou can choose between all connected EDG devices. In this example, "EDG-4516+" was chosen. IP Address of Installed Device Enter the IP address you assigned in chapter 3.4. Port of Installed Device Choose the port where you wan t to set[...]

  • Página 46

    EDG-4508+/4516+ User Manual 34 Memo Y ou can add a description to th e port setting if necessary . Add Click here to add a single port setting to your specification. Add All Y ou can assign all ports to follow cu rren t settings by clicking the "Add All" button. This is more convenient than addi ng ports individually . For this example, w[...]

  • Página 47

    35 Chapter 4 4.3 Inquiring Virtua l COM Port Setting Y ou can check the virtual COM po rt setting by cl icking on th e EDG device’ s ports. In this case, CO M1 1 is assigned to Port 1 of EDG-4516+. Note If you assigned a different COM po rt to the same EDG series modu le port, the following dialog box will remind you.[...]

  • Página 48

    EDG-4508+/4516+ User Manual 36 4.3.1 Up dating EDG Firmware Updating Firmwar e Advantech continually upgrad es its firmware. Y ou can use the down load function located on the Port Mapping utility to carry out the upgrade pro- cedure. Please access Advantech's web s ite at http://www .advantech.com to download t he required comp uter file and [...]

  • Página 49

    37 Chapter 4 4.3.2 Self T est Function Te s t The purpose of this test is to confirm that the commun ication from the host PC to the EDG device is OK. When the test is selected, an external test will be performed to check th at the connection signal between each port is working properly . For this te st, you will need to connect each port to a Loop[...]

  • Página 50

    EDG-4508+/4516+ User Manual 38 Signal T est • R TS->CTS: Checks the R TS and CTS signals between two ports. • DTR->RI: Checks the DTR and RI signals between two ports. • DTR->DSR: Checks the DTR and DSR signals between two ports. • DTR->DCD: Checks the DTR and DCD signals between two ports. Communication Parameters T est • Bau[...]

  • Página 51

    39 Chapter 4 Delete Y ou can delete Port Mapp ing Setting by clicking the button. Apply If an y c ha ng e s a r e ma d e, p le a se p re ss t h e b ut t on t o c o nf i rm y ou r modifications. Exit If you want to quit the utility , please click on the button. If any changes are made in the COM Port Mapping setting , the system reboot requirement w[...]

  • Página 52

    EDG-4508+/4516+ User Manual 40 4.3.3 Save the Configuration If you want to save or recover the configuration, you can select the "Import/Export" items. 1. a. Select "File" b. Select "Import" or "Export". 2. Save or open the configurations[...]

  • Página 53

    2 CHAPTER 5 W eb-Based Configuration[...]

  • Página 54

    EDG-4508+/4516+ User Manual 42 Chapter 5 W eb-Based Configuration 5.1 Overview EDG devices can be configured throu gh a web interface. By using a stan- dard web br owser , the same proce dure as with the W indows configura- tion utility can be used. In the br owser ’ s address field, enter the IP Address of your EDG d evice. The defa ult IP setti[...]

  • Página 55

    43 Chapter 5 5.3 Network Configuration Under network configuration, there ar e: MAC address, IP Address, Sub- net Mask and Default Gateway . Enter the corresponding values fo r your network envi ronment. Step 1. Enter IP Address, Subnet Mask and Default Gateway Step 2. Press ‘Save’ to store the settings. Note All new configurations will take ef[...]

  • Página 56

    EDG-4508+/4516+ User Manual 44 5.4 Port Configuration Under port configuration, you can as sign the type and host idle timeout for individual ports. Note EDG-4508+ and EDG-4516+ pro vide RS-232 / RS-4852 / RS-422. Note The Host Time Out function is similar to the one in the Conf iguration Utility .[...]

  • Página 57

    45 Chapter 5 5.5 DI/O Event Configuration In event configuration, you can assign an DI event by en abling the check box and choosing the optimized action mode, Server IP and TCP Port for the active event. DI 0, DI 1, DI 2, DI 3 Options for Event 1 will be activated when any one of DI signal meets the Action option. The event will be monitored on th[...]

  • Página 58

    EDG-4508+/4516+ User Manual 46 5.6 Reset Configuration All configurations will take effect after this reset step. Press the reset but- ton and the system will give a re set response. It will take a few seconds to reconnect with the new values.[...]

  • Página 59

    2 CHAPTER 6 Console Configuration[...]

  • Página 60

    EDG-4508+/4516+ User Manual 48 Chapter 6 Console Configuration 6.1 Overview The purpose of the Console Configuration is to help you manage your device in console mode. On e of the main functions of th e console mode is to change the web configuration login password. Y ou can use terminal software like Hyper T ermi nal, T elix an d other related ter[...]

  • Página 61

    49 Chapter 6 S tep 3. Selecting a COM Port Confirm that the console configurat ion works ok. S tep 4. COM Port Setting T o connect the EDG series for cons ole configuration, the port setting should match th e EDG series' default setting. Console Configuratio n Default Set ting Baud Rate: 57600 Data Bits: 8 Parity: None St op bits: 1 Flow contr[...]

  • Página 62

    EDG-4508+/4516+ User Manual 50 S t ep 5. Connecting Successfully After connecting the devi ce in console mode, you can simply type the "Help" command to show the Supported Comman d Lists 6.3 Command List • version [Usage] version [Function] displays the current firmware version >version Current version of firmware is 1.11-1.1 1 Comma[...]

  • Página 63

    51 Chapter 6 • log [Usage] log [Function] displays log file >log [05-09-2003 17:01:17] Sy stem up • date: displays or sets the date [Usage] date [Function] displays the date >date Current date is 05- 09-2003 [Usage] date [mm -dd-yy [dse]] [Function] sets the date >date 06-09-03 >date > Current date is 06-09-2003 • time: displa [...]

  • Página 64

    EDG-4508+/4516+ User Manual 52 • net [Usage] net [Function] displays the configuration of net >net Current net is ip 172.18.3.226 gw 0.0.0.0 netm ask 255.255.255.0 [Usage] net set ip d.d.d.d gw d.d.d.d netmask d.d.d.d [Function] sets the configuration of net >net set ip 172.18.3.227 gw 0.0.0.0 netmask 255.255.255.0 >net Current net is ip[...]

  • Página 65

    53 Chapter 6 • port [USAGE] port [nn | all] [FUNCTION] displays the status of port(s) >port all The Port01 is type 422, idleto 30 , idle The Port02 is type 232, idleto 30 , idle The Port03 is type 232, idleto 30 , idle The Port04 is type 232, idleto 30 , idle The Port05 is type 232, idleto 30 , idle The Port06 is type 232, idleto 30 , idle The[...]

  • Página 66

    EDG-4508+/4516+ User Manual 54 • event [USAGE] even t [nn | all] [FUNCTION] displays the configuration of event(s) [USAGE] event nn iomap xx actio n [L2H|H2L|CHG] server d.d.d.d:d [FUNCTION] sets the co nfiguration of event [USAGE] event [ nn | all] clear [FUNCTION] clears the c onfiguration of event >event 2 iomap f action L2H server 172 .18.[...]

  • Página 67

    55 Chapter 6 • ping [USAGE] ping ad dr (addr: IP address of destination host) [FUNCTION] Sends ICMP ECHO_REQUEST packets to network hosts >ping 17 2.18.3.226 32 bytes from 172.18.3.226: icmp _seq=0 ttl=64 time=1 ms 32 bytes from 172.18.3.226: icmp _seq=1 ttl=64 time=1 ms 32 bytes from 172.18.3.226: icmp _seq=2 ttl=64 time=1 ms 32 bytes from 17[...]

  • Página 68

    EDG-4508+/4516+ User Manual 56[...]

  • Página 69

    2 CHAPTER 7 Universal Serial Device Gateway[...]

  • Página 70

    EDG-4508+/4516+ User Manual 58 Chapter 7 Universal Serial Device Gateway Advantech EDG-4508+/4516+ pro vides a mechanism that allows user to upgrade the firmware. After upgrad ing the firmware, ED G-4508+/4516+ will turn into universal serial device g ateway and denominat e "EDG- 4508+U/4516+U". EDG-4508 +U/4516+U allows nearly any device[...]

  • Página 71

    59 Chapter 7 Figure 7.1: 3. Press "Start" button to start the firmware download procedure. Figure 7.2: 1 2 3[...]

  • Página 72

    EDG-4508+/4516+ User Manual 60 4. When the firmware download procedure is don e, you will discover the model name of the EDG Configuration Util ity is changed from EDG-4508+ to EDG-4508+U. Besid e s, it will add a new functio n: "Setting" in EDG Configuration Utili ty instead of "Security". The "Setting" in EDG Configu[...]

  • Página 73

    61 Chapter 7 TCP Port number Figure 7.5: The TCP port number represents th e source port number in TCP connec- tions, and is the num ber used to identify the channel fo r remote initiat ing connections. Range: 1-65535. If an unknown caller wants to connect to the system and asks for som e services, they need to define the TC P port to carry a long-[...]

  • Página 74

    EDG-4508+/4516+ User Manual 62 Allow any IP to access Figure 7.7: If this option is enabled, any PC can access data from this EDG-4508+U/ 4516+U. Specified IP which can access If you do not want many PCs to have the access right, you can limit at most 32 PCs to access data fr om this EDG- 4508+U/4516+U. Port Mode Figure 7.8: The EDG-4508+U/EDG-4 51[...]

  • Página 75

    63 Chapter 7 1. Select port 1 ~ port 8 if you ar e u sing EDG-4508+U. Select po rt 1 ~ port 16 if you are using EDG-4516+U. 2. Key-in the data idle time. Th e default is 60 seconds. If you want to keep connection continually , you can key-in "0". Data idle Time is the time period in which the device waits for data. If the EDG-4 508+U/ 451[...]

  • Página 76

    EDG-4508+/4516+ User Manual 64 Figure 7.9: File Name Description 4508+Uv200.exf The firmware of EDG-4508+ U; version 2.0. 4508+v200.exf The firmware of EDG-4508+; version 2.0. 4516+U200.exf The firmware of EDG-4516+U; version 2.0 4516+v200.exf The version of EDG-4516+; version 2.0 1 2 3[...]

  • Página 77

    65 Chapter 7 3. Press "Start" button to start the firmware download procedure. Figure 7.10: 4. When the firmware download procedure is don e, you will discover the model name of the EDG Configuration Util ity is changed from EDG-4508+U to EDG-4508+. Besides, the function "Secu rity" of EDG Configuration Utility wi ll be restored[...]

  • Página 78

    EDG-4508+/4516+ User Manual 66 7 . 2 N e t w o r k A r c h i t e c t u r e a n d E x a m p l e C o d e The EDG-4508+U/4516 +U is an advanced peer-to-peer data gateway unit. It extends tradit ional RS-232/422/485 interfaces to Ethernet net- work. Through netwo rking, you can control and monito r remote serial devices either over a LAN or over the W [...]

  • Página 79

    67 Chapter 7 7.2.1 Polling Network Architecture If you want to use host PC to poll the serial devices, which con nect to EDG-4508+U/4516+U vi a Ethernet, you can use polling netw ork architecture. Figure 7.12: Network Architect ure-Polling Figure 7.13: Flow chart-Polling Network Ho st PC cre ate T CP s o ck et C onn ect to EDG - 4 508+U/ EDG -4516+[...]

  • Página 80

    EDG-4508+/4516+ User Manual 68 Example (EDG-4508+U ): SOCKADDR_IN D st4508UAddr; SOCKET Dst4508USock; char RxData[10]; memset(&Dst4508UAddr , 0, sizeof(SOCKADDR _IN)); Dst4508UAddr ..sin_family = AF_INET ; Dst4508UAddr ..sin_addr .s_add r = inet_addr("10.0.0.1"); //Indicate the IP Address of EDG- 4508+U that you want to conn ect.// Ds[...]

  • Página 81

    69 Chapter 7 7.2.2 Event-handling Network Archi tecture If an event occurs from serial devices connected to the EDG-4508+U/ 4516+U, the host PC can get the data via the Ethernet. Y ou can use the event-handling network architecture. Figure 7.14: Network architecture: Event-handling Figure 7.15: Flow chart : Event-handling network De fin e th e TC P[...]

  • Página 82

    EDG-4508+/4516+ User Manual 70 Example (EDG-4508+U ): SOCKADDR_IN H ostAddr; SOCKET HostSock; SOCKADDR_IN ClntAddr; SOCKET ClntSock; int ClntAddrLen; char RxData[256]; memset(&HostAddr , 0, sizeof(SOCKADDR_ IN)); HostAddr ..si n_family = AF_INET ; HostAddr ..sin_ad dr .s_addr = INADDR_AN Y ; HostAddr .sin_ port = htons(5201); //Define the TCP p[...]

  • Página 83

    71 Chapter 7 7.2.3 Peer-to-Peer Network Architecture If you want to transmit data from one serial device to ano ther serial device via the Ethernet, you can add ED G-4508+U/4516+Us at bot h sides and use peer-to-peer network architecture. Figure 7.16: Network ar chitecture: Peer-to-peer Figure 7.17: Flow chart: Peer-to-Peer network K ey-in t he i n[...]

  • Página 84

    EDG-4508+/4516+ User Manual 72 Example (EDG-4508+U ): 1. Complete the set ting of #1 EDG-4508+U #1 EDG-450 8+U Module name: Office IP address: 172.20.2 0.1 1 1 TCP port: 5200 Figure 7.18: #1 ED G-4508+U Config uration Utility 172.2 0.20. 222 52 22[...]

  • Página 85

    73 Chapter 7 2. Find out the IP address and TC P po rt of #2 EDG-4508+U that you want to connect. #2 EDG-450 8+U Module name: Factory IP address: 172.20.2 0.222 TCP port: 5220 Figure 7.19: #2 ED G-4508+U Config uration Utility 172.20 .20.111 5201 5220[...]

  • Página 86

    EDG-4508+/4516+ User Manual 74 3. Key-in the IP address and TCP port of #2 EDG-4508+U in #1 EDG-4508+U configuration utility . Figure 7.20: Key-in informat ion of #2 EDG-4508+U 4. Follow the above procedure and complete the setting of #2 EDG-4508+U in the configuration utility . Figure 7.21: Key-in informat ion of #1 EDG-4508+U 172. 20. 20.222 5222[...]

  • Página 87

    75 Chapter 7 5. Check the comm unication parameters of both EDG-4508+Us are the same. If not, it might not work. Pl ease check the "Baud rate", "Flow control", "Parity", "Data bit" and "Stop bit". Figure 7.22: Communication p arameters of #1 EDG -4508+U Figure 7.23: Communication p arameters of #2 E[...]

  • Página 88

    EDG-4508+/4516+ User Manual 76 7.3 Web-Based Configuration fo r EDG-4508+U/4516+U EDG-4508+U/4516+U also supp ort web-based confi guration function. All operations are the same as EDG-4508+/4516 +. Y ou can configure EDG-4508+U/4516+U by internet browser . Further information about the W eb-based Configuration, please refer to chapter 5. 7.3.1 Acce[...]

  • Página 89

    77 Chapter 7 7.3.2 Network Configuration Under network configuration, there ar e MAC address, IP Ad dress, Subnet Mask and D efault Gateway and List en TCP Port Number . Enter the corresponding val ues for your network environ ment. Step1. Enter MAC address, IP Address, Subnet Mask and Default Gateway and Listen TCP Port Number . Step2: If you do a[...]

  • Página 90

    EDG-4508+/4516+ User Manual 78 7.3.3 Port Configuration Under port configuration, you can assig n the type, host idle timeou t and configure the connected IP and TCP port for each port. For instance, if the port 1 of EDG- 4516+U#1 con nects with the port 8 of EDG-4516+U#2, please fulfill Port 8 IP address and TCP port of EDG-4516+U #2 in port 1 inf[...]

  • Página 91

    79 Chapter 7 7.3.4 DI/O Event Configuration In event configuration, you can assi gn DI event by enabling the check box and choose the optimized action mo de, Server IP and TCP Port for the active event. Further informatio n about DI/O event configu ration, please refer to session 5.5. 7.3.5 Reset Configuration All configurations w ill take effect a[...]

  • Página 92

    EDG-4508+/4516+ User Manual 80 • version [Usage] version [Function] displays the current firmware version >version Current version of firmware is 1.11-1.1 1 • log [Usage] log [Function] displays log file >log [05-09-2003 17:01:17] Sy stem up • date: displays or sets the date [Usage] date [Function] displays the date >date Current dat[...]

  • Página 93

    81 Chapter 7 • net [Usage] net [Function] displays the configuration of net >net Current net is ip 172.18.3.226 gw 0.0.0.0 netm ask 255.255.255.0 [Usage] net set ip d.d.d.d gw d.d.d.d netmask d.d.d.d [Function] sets the configuration of net >net set ip 172.18.3.227 gw 0.0.0.0 netmask 255.255.255.0 >net Current net is ip 172.18.3.227 gw 0[...]

  • Página 94

    EDG-4508+/4516+ User Manual 82 The Port15 is type 422, idleto 30 , idle The Port16 is type 422, idleto 30 , idle [USAGE] port [nn | all] type [232|422|4 85] [FUNCTION] sets the type of port(s) >port 3 type 485 >port 3 The Port03 is type 485, idleto 30 , idle [USAGE] port [nn | all] idleto [0 - 65535] [FUNCTION] sets the idle timeout of port(s[...]

  • Página 95

    83 Chapter 7 • event [USAGE] event [nn | all] [FUNCTION] disp lays the configuratio n of event(s) [USAGE] even t nn iomap xx action [L2H| H2L|CHG] server d.d.d. d:d [FUNCTION] sets the configuration of event [USAGE] event [nn | all] clear [FUNCTION] clears the c onfiguration of event >event 2 iomap f action L2H server 172.18.3.5 8:503 >even[...]

  • Página 96

    EDG-4508+/4516+ User Manual 84 • l ping [USAGE] ping addr (ad dr: IP address of destination host) [FUNCTION] Sends ICMP ECHO_RE QUEST packets to network hosts >ping 172.18.3.226 32 bytes from 172.18.3.226: icmp_seq=0 ttl=64 time=1 ms 32 bytes from 172.18.3.226: icmp_seq=1 ttl=64 time=1 ms 32 bytes from 172.18.3.226: icmp_seq=2 ttl=64 time=1 ms[...]

  • Página 97

    2 CHAPTER 8 Event and DI/O Monitoring[...]

  • Página 98

    EDG-4508+/4516+ User Manual 86 Chapter 8 Event and DI/O Monitoring 8.1 Overview The purpose of Event and DIO T est is to help yo u monitor your EDG-4508+/4516+ DI/DO event(s). Follow these steps to test the DI/DO event(s). 8.2 Event and DI/O Monitoring 8.2.1 Polling Monitoring The following screen will appear once the EVENT T ester Program is execu[...]

  • Página 99

    87 Chapter 8 8.2.2 Event Monitoring Once you have executed the steps in Chapter 3.4, you can use the tester to monitor the event status with the port and IP y ou have assigned b efore. Please follow these steps: Step 1. Assign IP and TCP Port for monitoring (Setting Event monitoring from W eb Event Configurati on) Step 2. Assign TCP Port of Event S[...]

  • Página 100

    EDG-4508+/4516+ User Manual 88 Step 3. W e can activate the DI0 ev ent; tester will show the green indicator . Message Log will show event log with timer and event description. (DI0 Active and Event Monitor Shows Green) 8.2.3 DI V alue Inverse Option Because of different wiring issues, we have provided DI value inverse optional function to Inverse [...]

  • Página 101

    89 Chapter 8 Step 2. After enabling DI value inve rse function, Green indicator means inactive and Red indi cator means active. Step 3. After DI value inverse is en abled, follow the event configuration rule from the web configurat ion.[...]

  • Página 102

    EDG-4508+/4516+ User Manual 90 8.3 Programming I/O According the feature list, it men tioned EDG-4508+/45 16+ provide the D/I AND D/O handling funct ion. In order to help customer to creat e the I/ O event handling environm ent. W e provide a programmable I/ O sample program for customer use. A fter installing the EDG COM Port Ut ility , the sample[...]

  • Página 103

    91 Chapter 8 It remarks the function of htons(n), th e parameter n means the TCP Port in server application and It help s the programmer to make his own program easier by referencing the note we provided . It remarks the function of socket(AF_IN ET , SOCK_STREAM, 0), the function of socket(var1, var2,n) means to create the socket of TCP on Host. Pr[...]

  • Página 104

    EDG-4508+/4516+ User Manual 92 mbtcp.h File name of mbtcp means Modbus TCP; we provide the easier defi nition of necessary parameter . For example, MODBUSTCPMAXMSGLENG TH MODBUS TCP Max Message Length MODBUSTCPMSGHDRLENG TH MODBUS TCP Message Header Length * The p rogramming I/O samp le programs are for programmer's reference to make the event[...]

  • Página 105

    2 CHAPTER 9 T roubleshooting[...]

  • Página 106

    EDG-4508+/4516+ User Manual 94 Chapter 9 T roubleshooting This chapter explains how to solve some of the most co mmon problems with the EDG Series. If you still hav e problems after reading th is chapter , contact your deal er , or e-mail Advantech for help. "Configuration Utility ca n not find EDG Series" 1. Check the "Power" L[...]

  • Página 107

    95 Chapter 9 "The host PC can access the EDG Seri es at this local site but later relocates the EDG Series to a remo te site that PCs cannot access." Y our IP address might have changed because of different network inter- face connections, and as a result, yo u are no longer on the EDG Series' Access Control list. T o resolve this is[...]

  • Página 108

    EDG-4508+/4516+ User Manual 96[...]

  • Página 109

    2 APPENDIX A[...]

  • Página 110

    EDG-4508+/4516+ User Manual 98 Appendix A A.1 RS-232 Pin Assignment A.2 RJ-48 Cable PIN Assignment 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 10[...]

  • Página 111

    99 Appendix A RS-422 RS-485 Pin No. Description 1T x - 4T x + 5G N D 7R x + 9R x - Pin No. Description 1D A T A - 4D A T A + 5G N D[...]

  • Página 112

    EDG-4508+/4516+ User Manual 100[...]