ADAM-45792 Port Serial Device toEthernet Data GatewayUser’s Manual
1ChapterOverview
2 ADAM-4579 User’s Manual1.1 IntroductionThe ADAM-4579 is a peer-to-peer data gatewaybetween RS-232/422/485 and Ethernet interfaces. This unit imme
Chapter 1 Introduction 3inadvertently.The download & testing utility helps you to diagnosethe communication condition between devices.1.2 Featu
4 ADAM-4579 User’s Manual• Parity bit: odd, even, none, space, mark• Data bit: 5, 6, 7, 8• Stop bit: 1, 1.5, 2• Diagnostic LEDs:Network: TX/RX, Lin
2Getting StartedChapter
6 ADAM-4579 User’s ManualThis chapter includes an overview of the ADAM-4579 hardwareinstallation procedures. As mentioned in the previous chapter, t
Chapter 2 Getting Started 7The following illustration shows the network architecture as below: Figure 2-1 Network architecture:PollingFigure 2
8 ADAM-4579 User’s Manual Figure 2-3 Network architecture:Peer-to-peer Figure 2-4 Network Architecture: ControllingInternetADAM-4579RS-485ADAM
Chapter 2 Getting Started 92.1.2 Serial ArchitectureThe ADAM-4579 provides two modes to meet your needs. One iscommand mode; the other is data mo
10 ADAM-4579 User’s Manual2.1.2 Top / Front / Rear View2.1.2.1 ADAM-4579There are five network status LEDs located on the top panel ofADAM-4579, eac
Copyright NoticeThis document is copyrighted, 2001, by Advantech Co., Ltd. All rightsare reserved. Advantech Co., Ltd., reserves the right to make imp
Chapter 2 Getting Started 11Figure 2-7 ADAM-4579Back PanelFigure 2-5 ADAM-4579Top PanelFigure 2-6 ADAM-4579Front PanelSt atus /PowerSp eed/Lin
12 ADAM-4579 User’s Manual2.1.3 StickersIf you forget the IP addresses of specific ADAM-4579 or whichspecific networking device you connect to, we h
Chapter 2 Getting Started 132.2 Connecting the HardwareNext, we will explain how to find a proper location for your EDG seriesand explain how to
14 ADAM-4579 User’s ManualFigure 2-8 Panel Mounting
Chapter 2 Getting Started 15Figure 2-9 Din Rail MountingDIN Rail MountingYou can mount the ADAM-4579 on a standard DIN Rail. First, usingtwo scr
16 ADAM-4579 User’s ManualPiggyback StackADAM-4579 can be stacked as seen in the figure below.Figure2-10 Piggyback Stack
Chapter 2 Getting Started 172.2.3 Power ConnectionYou should take the following steps to connect ADAM-4579 power.1. Connect the power cable to 2-
18 ADAM-4579 User’s ManualFigure 2-13 Serial Connection for ADAM-45798Figure 2-12 Power Connection for ADAM-4579up , indicating that the ADAM-4579 i
Chapter 2 Getting Started 19RJ-48DB-9 (male)RS-232RS-485RS-422PIN Name RX TX GNDRJ-48 2 3 5
20 ADAM-4579 User’s Manual2.2.4.2 Connecting to PCSometimes, you want ADAM-4579 to connect to PC. You have to plugcrossed null modem connector (fema
Advantech Customer ServicesEach and every Advantech product is built to the most exactingspecifications to ensure reliable performance in the unusual
3Installation andConfigurationChapter
22 ADAM-4579 User’s Manual3.1 Windows utility InstallationThe ADAM-4579 provides two window-based utilities. One is onfigu-ration utility; the other
Chapter 3: Installation and Configuration 23Figure 3-1 Configuration Utility3.2 Configuring the ADAM-4579The ADAM-4579 provides easy Windows config
24 ADAM-4579 User’s ManualFigure 3-2 Locate all ADAM-4570/4572/4579/EDG-45041. Select “Designated” and select “ADAM-4579”2. Click “Locate”3. The “Sta
Chapter 3: Installation and Configuration 25Figure 3-3 Locate the desired group of ADAM-4579sFigure 3-4 Locate specific ADAM-4579s
26 ADAM-4579 User’s ManualConfiguration utility can only search the ADAM-4570/4571/4572/4579/EDG-4504 devices on the local network segment and cannot
Chapter 3: Installation and Configuration 27Firmware versionIn this field, the configuration utility represents the firmware version ofthe ADAM-457
28 ADAM-4579 User’s ManualFigure 3-7 Port Configuration Windowor 100Mbps. However, the utility will auto-detect the current transmis-sion speed on th
Chapter 3: Installation and Configuration 29NameTo specify which port on the ADAM-4579 is to be connected to theserial device.DescriptionYou can gi
30 ADAM-4579 User’s Manual3.2.5 Setting ConfigurationFigure 3-8 Setting configuration3.2.5.1 TCP Port numberThe TCP port number represents the sourc
Product WarrantyAdvantech warrants to you, the original purchaser, that each of itsproducts will be free from defects in materials and workmanship for
Chapter 3: Installation and Configuration 31Note1: If the serial port is in use, the socket connection willbe refused.Note2: Timing between serial
32 ADAM-4579 User’s ManualThe ADAM-4579 provide two modes: Data and Control mode. If youselect Data Mode, serial devices that connect to the ADAM-457
Chapter 3: Installation and Configuration 33TCP port of ADAM-4579: &&&&TCP port of ADAM-4579’s port1: &&&& +1TCP po
34 ADAM-4579 User’s ManualAfter you have connected to another serial device via ADAM-4579, you mayneed to disconnect. Then you can use the command &q
Chapter 3: Installation and Configuration 353.3 Testing UtilityThe purpose of testing utility is to help you disgnose the communica-tion between de
36 ADAM-4579 User’s Manual2. Click “connect” button1. Key-in the IP address and TCP port of the device that you want toconnect. Select which port you
Chapter 3: Installation and Configuration 373. If the connection is ok, click “Test” buttonCommunication Parameters Test• Baud rate: From 50 bps t
38 ADAM-4579 User’s Manual3.3.2 Upgrading ADAM-4579s FirmwareDownloadAdvantech continually upgrades its firmware to keep pace with theever-expanding
Chapter 3: Installation and Configuration 393.4 Status MessagesThe status message shown at the bottom of the utility window reflectsthe current sta
40 ADAM-4579 User’s Manual“Lost Connection from the Device”Due to device shut down or network failure, the configuration utilityhas lost connection a
product returned without dated proof of purchase is not eligible forwarranty service.5. Write the RMA number visibly on the outside of the package and
4NetworkArchitecture andExample CodeChapter
42 ADAM-4579 User’s Manual4.1 Network ArchitectureThe ADAM-4579 provides four types of network architecture. You canuse the ADAM-4579 with any operat
Chapter 4: NetworkArchitecture andExample 43H ost PC creates TCP socketConnect to ADAM-4579Send data to ADAM-4579Receive data from ADAM-4579Di
44 ADAM-4579 User’s ManualExample:SOCKADDR_IN Dst4579Addr;SOCKET Dst4579Sock;char RxData[10];memset(&Dst4579Addr, 0, sizeof(SOCKADDR_IN));Dst4579
Chapter 4: Network Architecture and Example 45ADAMEther netRS-232/422/ 485+Vs GNDPort2 Port1A D A M-4579ADAM-5000ADAM-4000RS-485RS-485InternetPLC
46 ADAM-4579 User’s ManualR eceive data from ADAM-4579DisconnectDefine the TCP port of Host PC Host PC creates socket Accept connection from ADAM-457
Chapter 4: Network Architecture and Example 47Example:SOCKADDR_IN HostAddr;SOCKET HostSock;SOCKADDR_IN ClntAddr;SOCKET ClntSock;int ClntAddrLen;c
48 ADAM-4579 User’s Manual4.4 Peer-to-peer Network ArchitectureIf you want to transmit data from one serial device to another serialdevice via the Et
Chapter 4: Network Architecture and Example 49C om plete the settings of #1 ADAM-4579Key-in information of #2 ADAM-4579 in configuration utility
50 ADAM-4579 User’s ManualExample:1. Complete the settings of #1 ADAM-4579#1 ADAM-4579Module name: OfficeIP address: 172.20.20.111TCP port: 5200Figur
ContentsChapter 1: Overview ... 11.1 Introduction ...
Chapter 4: Network Architecture and Example 512. Find out the IP address and TCP port of #2 ADAM-4579 that youwant to connect.#2 ADAM-4579Module
52 ADAM-4579 User’s Manual3. Key-in the IP address & TCP port of #2 ADAM-4579 in #1 ADAM-4579 configuration utility.Figure 4-9 Key-in the informa
Chapter 4: Network Architecture and Example 535. Check the communication parameters of both ADAM-4579 are thesame. If not, it might not work. Ple
54 ADAM-4579 User’s Manual4.5 Controlling Network ArchitectureIf a serial device which connected to ADAM-4579 attempts to connectto different network
Chapter 4: Network Architecture and Example 55Serial device asks the ADAM-4579 to connect to the networking deviceADAM-4579 replies the connectio
56 ADAM-4579 User’s ManualExample:1. Serial device asks the ADAM-4579 to connect to the networkingdevice (10.0.0.1) and listen on the TCP Port (5200)
Chapter 4: Network Architecture and Example 574. After receiving the CONNECT message, the serial device canreceive/transmit the data from/to the
58 ADAM-4579 User’s Manual
3.2.5.4 Port Mode ... 313.2.5.5 Data Mode ...
FigureFigure 2-2 Network architecture:Event-handling .... 7Figure 2-1 Network architecture:Polling ...
Figure 4-5 Network architecture- Peer-to-peer ........... 48Figure 4-6 Flow chart- peer-to-peer network .....
Kommentare zu diesen Handbüchern