ADAM-45771 Port Universal Serial Device GatewayUser's Manual
TablesTable 2-1 ADAM-4577 LED Definition ... 9
1ChapterOverview
2 ADAM-4577 User’s Manual1.1 IntroductionThe ADAM-4577 is a peer-to-peer data gatewaybetween RS-232/422/485 and Ethernet interfaces. This unit imme
Chapter 1 Overview 3adjust all settings easily. In addition,the utility provides a securityoption that protects all configuration settings from bei
4 ADAM-4577 User’s ManualNetwork: RJ-45Serial: DB-9• Transmission speed: 300 bps to 230 Kbps• Parity bit: odd, even, none, space, mark• Data bit: 5
2Getting StartedChapter
6 ADAM-4577 User’s ManualThis chapter includes an overview of the ADAM-4577 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-4577 User’s Manual Figure 2-3 Network architecture:Peer-to-peerInternetADAM-4577RS-485ADAM-4577RS-485ADAMEthe rnetRS-232 /422/4 85+VsGNDPo
Chapter 2 Getting Started 9Table 2-1 ADAM-4577 LED Definition2.1.3 Top / Front / Rear ViewThere are three network status LEDs located on the top
Copyright NoticeThis document is copyrighted, 2001, by Advantech Co., Ltd. All rightsare reserved. Advantech Co., Ltd., reserves the right to make imp
10 ADAM-4577 User’s ManualFigure 2-6 ADAM-4577—Back PanelFigure 2-4 ADAM-4577—Top PanelFigure 2-5 ADAM-4577—Front PanelStatus/PowerSpeed/LinkTX/RX(E
Chapter 2 Getting Started 112.1.4 StickersIf you forget the IP addresses of specific ADAM-4577 or whichspecific networking device you connect to,
12 ADAM-4577 User’s Manual2.2 Connecting the HardwareNext, we will explain how to find a proper location for your EDG seriesand explain how to co
Chapter 2 Getting Started 13Figure 2-7 Panel Mounting
14 ADAM-4577 User’s ManualFigure 2-8 Din Rail MountingDIN Rail MountingYou can mount the ADAM-4577 on a standard DIN Rail. First, usingtwo screws,
Chapter 2 Getting Started 15Piggyback StackADAM-4577 can be stacked as seen in the figure below.Figure2-9 Piggyback Stack
16 ADAM-4577 User’s Manual2.2.3 Power ConnectionYou should take the following steps to connect ADAM-4577 power.1.Connect the power cable to 2-pin c
Chapter 2 Getting Started 17Figure 2-12 Serial Connection for ADAM-4577ADAM-4577orFigure 2-11 Power Connection for ADAM-4577up , indicating that
18 ADAM-4577 User’s ManualDB-9 (male)RS-232RS-485RS-422
Chapter 2 Getting Started 192.2.4.2 Connecting to PCSometimes, you want ADAM-4577 to connect to PC. You have to plugcrossed null modem connector
Advantech Customer ServicesEach and every Advantech product is built to the most exactingspecifications to ensure reliable performance in the unusual
20 ADAM-4577 User’s Manual
3Installation andConfigurationChapter
22 ADAM-4577 User’s Manual3.1 Windows utility InstallationThe ADAM-4577 provides two window-based utilities. One is configu-ration utility; the othe
Chapter 3 Installation and Configuration 233.2 Configuring the ADAM-4577The ADAM-4577 provides easy Windows configuration throughEthernet connect
24 ADAM-4577 User’s Manual3.2.1 Search for Specific ADAM-4577If you want to locate specific ADAM-4577s, the configuration utilityprovides a “Locate”
Chapter 3 Installation and Configuration 25Figure 3-3 Locate specific ADAM-4577sConfiguration utility can only search the ADAM-4570/4571/4572/457
26 ADAM-4577 User’s ManualFirmware versionIn this field, the configuration utility represents the firmware version ofthe ADAM-4577. You might need t
Chapter 3 Installation and Configuration 273.2.2 Network ConfigurationThis section will show network configuration of ADAM-4577’sconfiguration ut
28 ADAM-4577 User’s ManualTCP/IP:IP address, Subnet Mask, Default GatewayThe IP address identifies your ADAM-4577 device on the globalnetwork. Each
Chapter 3 Installation and Configuration 293.2.3 Port ConfigurationFigure 3-5 Port Configuration WindowNameADAM-4577 provide one port to connecte
Product WarrantyAdvantech warrants to you, the original purchaser, that each of itsproducts will be free from defects in materials and workmanship for
30 ADAM-4577 User’s ManualFlow ControlThe ADAM-4577 provides one option: NoneData BitsThe ADAM-4577 provides four options: 5, 6, 7 or 8.Stop BitsThe
Chapter 3 Installation and Configuration 313.2.4 Setting ConfigurationADAM-4577 provides TCP/IP and UDP two protocol. In settings, youcan choose
32 ADAM-4577 User’s Manual3.2.4.1 TCP(UDP) Port numberThe TCP(UDP) port number represents the source port number , andthe number is used to identify
Chapter 3 Installation and Configuration 333.2.4.2 Only configure the authorized IPThis option is enabled in order toprotect all configuration se
34 ADAM-4577 User’s Manual3.2.4.5 Port Mode1. Selected PortThe default is Port1, DAM-4577 provide one port to connected tothe serial device.2. Port
Chapter 3 Installation and Configuration 353.2.4.6 Protocol for CommunicationIn this option, you can choose either TCP or UDP mode according toy
36 ADAM-4577 User’s ManualTCP port of ADAM-4577: &&&&TCP port of ADAM-4577’s port1: &&&& +1For example:TCP port of A
Chapter 3 Installation and Configuration 37Figure 3-8 ADAM-4577 transmits data and response timeout diagramA: Time for Host PC transmits the data
38 ADAM-4577 User’s Manual2. Inter Frame BreakADAM-4577 provides one smart way to reduce inefficient waitingtime.Through Inter Frame Break,ADAM-4577
Chapter 3 Installation and Configuration 39Case2 :Assume the transmitted data spends 600 msAs Setting:Response timeout = 1000 msInter Frame Break
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
40 ADAM-4577 User’s Manual3.3 Testing UtilityThe purpose of testing utility is to help you diagnose the communica-tion between devices and download
Chapter 3 Installation and Configuration 413.3.1 Self Test FunctionThe purpose of this test is to confirm the communication from host PCto the AD
42 ADAM-4577 User’s Manual3. If the connection is ok, click “Test” buttonCommunication Parameters Test• Baud rate: From 50 bps to 230 Kbps• Data bit
Chapter 3 Installation and Configuration 433.3.2 Upgrading ADAM-4577 (tm) s FirmwareDownloadAdvantech continually upgrades its firmware to keep p
44 ADAM-4577 User’s Manual3.3.3 UDP Testing UtilityThe utility is for testing the status of ADAM-4577 UDP mode.By the utility, you can set Command T
Chapter 3 Installation and Configuration 45Target Device & UDP PortYou can set Target Device IP Address according to Network IPAddress in Con
46 ADAM-4577 User’s ManualThe command edit control can be inputted in ASCII code ast chooseASCII Command Forma, and the command edit control can be
Chapter 3 Installation and Configuration 47Send Command to the [IP Address : UDP Port] TimeoutFigure 3-13 Timeout FrameFollowing Frame is UDP Tes
48 ADAM-4577 User’s ManualFigure 3-15 Command HEX Testing Windows
Chapter 3 Installation and Configuration 493.4 Status MessagesThe status message shown at the bottom of the utility window reflectsthe current st
ContentsChapter 1: Overview ... 11.1 Introduction...
50 ADAM-4577 User’s Manual
4Network Architectureand Example CodeChapter
52 ADAM-4577 User’s ManualADAM-4577 is one port universal series device which supprots TCP/UDP protocol. TCP mode applies to Polling, Event-handling
Chapter 4 Network Architecture and Example Code 53Figure 4-2 Flow chart-Polling networkFigure 4-3 Polling Setting Windows Host PC creates TCP so
54 ADAM-4577 User’s ManualExample:SOCKADDR_IN Dst4577Addr;SOCKET Dst4577Sock;char RxData[10];memset(&Dst4577Addr, 0, sizeof(SOCKADDR_IN));Dst457
Chapter 4 Network Architecture and Example Code 554.1.2 Event-handling Network ArchitectureIf an event occurs from serial devices connected to th
56 ADAM-4577 User’s ManualFigure 4-5 Flow chart-Event handling networkFigure 4-6 Event handling Setting Windows Define the TCP port of Host PC Ac
Chapter 4 Network Architecture and Example Code 57Example:SOCKADDR_IN HostAddr;SOCKET HostSock;SOCKADDR_IN ClntAddr;SOCKET ClntSock;int ClntAddrL
58 ADAM-4577 User’s Manual4.1.3 Peer-to-peer Network ArchitectureIf you want to transmit data from one serial device to another serialdevice via the
Chapter 4 Network Architecture and Example Code 59Figure 4-9 Flow chart- Peer-to-peer network Complete the settings of #1 ADAM-4577 Key-in infor
3.2.4.1 TCP(UDP) Port number ... 323.2.4.2 Only configure the authorized IP ... 3
60 ADAM-4577 User’s ManualExample:1. Complete the settings of #1 ADAM-4577#1 ADAM-4577Module name: OfficeIP address: 172.18.1.198TCP port: 5200Figur
Chapter 4 Network Architecture and Example Code 612. Find out the IP address and TCP port of #2 ADAM-4577 that youwant to connect.#2 ADAM-4577Mod
62 ADAM-4577 User’s Manual3. Key-in the IP address & TCP port of #2 ADAM-4577 in #1 ADAM-4577 configuration utility.Figure 4-12 Key-in the info
Chapter 4 Network Architecture and Example Code 634.2 UDP Mode4.2.1 Polling Network ArchitectureIn UDP Mode, If you want to use host PC to poll
64 ADAM-4577 User’s ManualFigure 4-16 UDP Polling Setting WindowsExample:WSADATA wsd;SOCKADDR_IN Dst4577Addr;SOCKADDR_IN RecvedAddr;SOCKET Dst4577
Chapter 4 Network Architecture and Example Code 65//|//+--Indicate the IP Address of ADAM4577 which you want to accessDst4577Addr.sin_port = hton
66 ADAM-4577 User’s Manual
FiguresFigure 2-1 Network architecture: Polling ..... 7Figure 2-2 Network architecture: Event-handling .
Figure 4-1 Network architecture-Polling ............. 52Figure 4-2 Flow chart-Polling network ......
Kommentare zu diesen Handbüchern