Summary of Contents for Advantech ADAM-5550KW Series
Page 1
ADAM-5550KW Series Programmable Automation Controller User's Manual...
Page 2
No part of this manual may be reproduced, copied, translated or transmitted in any form or by any means without the prior written permission of Advantech Co., Ltd. Information provided in this manual is intended to be accurate and reliable.
1.2.21 Built-in SQL Mobile Server………..……………………………. 1-11 1.2.22 RS-232/485 communication ability.…………..……………….. 1-11 1.2.23 Remote I/O Expansibility……………………………………….. 1-12 1.2.24 Built-in OPC Server (ADAM-5550KWAS only)…………….…. 1-12 1.2.25 Built-in Advantech Studio Runtime (ADAM-5550KWAS only). 1-12 1.3 ADAM-5550KW Series Controller Specification……..…. 1-13 1.3.1 System…………………………………………………………..…. 1-13 1.3.2 USB Ports….……………………………………………………..1-13 1.3.3 VGA Port…………………………………………………………...
Page 4
1.4.5 Boot-up Time…………………..………………………………….. 1-17 Chapter 2 Installation Guidelines.....…..………… 2-1 2.1 System Requirements……………………………………….. 2-2 2.1.1 Host Computer Requirements…………………………………… 2-2 2.1.2 ADAM-5550KW Series Requirements………………………….. 2-2 2.1.3 I/O Module Requirements………………………………………… 2-2 2.2 Hardware Installation………………………………………… 2-4 2.2.1 Selecting I/O Module………………………………………………. 2-4 2.2.2 Selecting Power Supply Module…………………………………. 2-8 2.2.3 Install Main Unit and Modules……………………………………...
Page 5
3.4 Create a Project and Test the System…………………… 3-26 Chapter 4 Link to Local A-Studio (For ADAM-5550KWAS) ... 4-1 4.1 Configure ProConOS CE OPC Server …………………… 4-2 4.2 Link to Advantech Studio CE Runtime …..…………..… 4-18 Chapter 5 Modbus Functions …………………….…...…. 5-1 5.1 Introduction……………………….…………………….…….. 5-2 5.2 Modbus/TCP Client Function…..…………………….……..
The powerful Multiprog KW Software and stable ProCon OS have allowed ADAM-5550KW Series Controller to become the best choice for a Programmable Automation Controller on the market today. With the optional HMI Software and built-in VGA port, no longer will users be required to build up additional SCADA PC’s in...
1.2.1 Designed for control tasks that meet robust and computing performance requirements of PLC and Industrial PC’s ADAM-5550KW Series Controller is designed for control tasks which need Industrial PC’s computing performance and PLC’s robustness. Its multiple functionalities include discrete, analog and motion functions.
Chapter 1 System Overview 1.2.2 Built-in VAG Port ADAM-5550KW Series Controller has a built-in VGA port which can directly connect to a display. So HMI function can be integrated into this controller. ADAM-5550KW Series Controller can be operated with or without display and/or keyboard/mouse which can meet different requirements of applications.
(LD) on the simple I/O module control or simple logical expression and use Function Block (FB) on process control for more advanced expression and use Sequential Function Chart (SFC) for system configuration in hybrid control system such as Water Treatment. ADAM-5550KW Series User’s Manual 1-5...
Chapter 1 System Overview Figure 1-1 Cross-Language Programming 1.2.8 Deterministic I/O ADAM-5550KW Series Controller can guarantee deterministic I/O at 1ms. The feature guarantees control and response speed at I/O level so HMI software or operations of other application programs cannot affect the I/O control performance.
Chapter 1 System Overview 1.2.10 Custom Function Block for complex control ADAM-5550KW Series Controller allows custom function block for advanced control algorithm such as fuzzy logic control or neural network control function. Users can define their own function block for common use function or special domain know-how. The control kernel also provides powerful floating point calculation and rich memory for complex control.
The ADAM-5550KW Series Controller uses a convenient backplane system for supporting versatile I/O modules. Advantech's complete line of ADAM-5000 I/O modules integrates with the ADAM-5550KW Series Controller to support your applications. Following table is the latest I/O module support list we provided for user’s choice.
The communication between master and slave is based on a customized RS-485 solution that saves wires, covers a long distance, supports high-speed communication and has time- deterministic features. Various functions can be chosen on the slave ADAM-5550KW Series User’s Manual 1-9...
DIN rail mounting design makes it easy to distribute them in the field. 1.2.17 Supports Motion Control Module (Preliminary) ADAM-5550KW Series Controller supports two types of motion control modules. One is a stepping/pulse-type servo motor control module, designed for general-purpose applications, and the other is the cost-effective intelligent stepping motor control module.
Chapter 1 System Overview 1.2.21 Built-in SQL Mobile Server ADAM-5550KW Series Controller embeds SQL server so it is very easy to exchange data between enterprise database/local HMI software and SQL server by SQL query functions. Following is the Architecture of ADAM-5550KW Series Controller Kernel.
I/O modules or connect to other controllers. 1.2.24 Built-in OPC Server (ADAM-5550KWAS only) The built-in OPC Server can seamless connect ProConOS I/O tags to local HMI Software such as Advantech Studio or other 3 party software. Users just need to mark the variable’s OPC checkbox by clicking into the box or pressing the space bar in a variables grid worksheet.
Chapter 1 System Overview system by integrating controller with HMI. Users just need to buy a suitable panel and connect it to the VGA port of ADAM-5550KWAS. 1.3 ADAM-5550KW Series Controller Specification 1.3.1 System • CPU: AMD Geode GX533 (GX2) Processor •...
• Real Time O.S: KW ProConOS (Up to 16 cycle tasks) • Programmable Code/Data Size: up to 710KB 1.3.14 Dimensions The following diagrams show the dimensions of the system unit and an I/O unit. All dimensions are in millimeters. Figure 1-5 ADAM-5550KW Series Controller Dimension ADAM-5550KW Series User’s Manual 1-15...
Chapter 1 System Overview 1.3.15 LED Status There are two LEDs on the front panel of ADAM-5550KW Series Controller. The LEDs indicate operating status, as explained below: PWR: Power indicator. This LED is on whenever the ADAM-5550KW Series Controller is powered on.
Chapter 1 System Overview 1.4.5 Boot-up Time The boot-up time of ADAM-5550KW Series Controller is around 30 seconds. ADAM-5550KW Series User’s Manual 1-17...
1. One ADAM-5550KW Series main unit, i.e., ADAM-5550KW or ADAM-5550EKWAS 2. ADAM-5550KW Series User’s Manual 3. One Advantech Multiprog CD. 4. Power supply for ADAM-5550KW Series (+10 to +30 VDC unregulated) 5. One Ethernet Hub or Switch like ADAM-6520 or ADAM-6510 2.1.3 I/O Module Requirements At least one I/O module is needed to use the system.
Page 25
Servo Motor Control Module Storage I/O ADAM-5030 2 SD Slots and 2 USB Ports Non-isolated ADAM-5090 4-port RS-232 Modules Non-isolated Serial I/O 4-port RS-232 Module with ADAM-5091 Non-isolated Share Interrupt Table 2-1 I/O Module Support List ADAM-5550KW Series User’s Manual 2-3...
2.2 Hardware Installation 2.2.1 Selecting I/O Module To organize an ADAM-5550KW Series control system, you need to select I/O modules to interface the main unit with field devices or processes that you have previously determined. There are several things should be considered when you select the I/O modules.
Page 28
Resolution Analog Voltage Output Output Current Output Digital Input Digital Input 16 W/LED 16 W/LED Channels 16 DIO (bit-wise and Digital Digital Output selectabl-e) Output Channels Channels Count-er Input (32-bit) Frequency Mode Isolation 2500 VDC 2-6 ADAM-5550KW Series User’s Manual...
Page 29
Input Input Channels Digital Digital 6 relay (2 form A/ 4 form 8 relay 8 power relay Output Output (8 form A) (8 form A) Channels Channels Counte Input Frequency (32-bit) Mode RS-232 Channels Isolation ADAM-5550KW Series User’s Manual 2-7...
ADAM-5550KW Series Controller works under unregulated power source between +10 and +30 VDC. When you arrange different I/O modules on ADAM-5550KW Series Controller’s backplane, it may require comparable power supply. Use the following steps as guidelines for selecting a power supply for your ADAM-5550KW Series control system.
Page 31
8-slot PC-based SoftLogic Controller 1.2W ADAM-5510EKW/TP 8-slot Ethernet-enabled SoftLogic Controller 2.0W ADAM-5550KW 8-slot Programmable Automation Controller ADAM-5550KWAS 8-slot Programmable Automation Controller with Advantech Studio I/O Modules Description Power Consumption ADAM-5013 3-Channel RTD Input Module 1.1 W ADAM-5017 8-Channel Analog Input Module (mV, mA or High Voltage) 1.25 W...
Page 32
60 mm 60 mm (L x W x H) (L x W x H) (L x W x H) 0~50 0~50 0~50 Operating Temperature (32~122 (32~122 (32~122 DIN-rail Mountable Table 2-5 Power Supply Specification Table 2-10 ADAM-5550KW Series User’s Manual...
2.2.4 I/O Slots and I/O Channel Numbering The ADAM-5550KW Series provides 8 slots for I/O modules. The I/O slots are numbered 0 through 7, and the channel numbering of any I/O module in any slot starts from 0. For example, the ADAM-5017 is an 8-channel analog input module.
Chapter 2 Installation Guidelines 2.2.5 Mounting The ADAM-5550KW Series Controller can be installed on a panel or on a DIN rail. Panel Mount Mount the system on the panel horizontally to provide proper ventilation. You cannot mount the system vertically, upside down or on a flat horizontal surface.
Page 35
Chapter 2 Installation Guidelines DIN Rail Mount Figure 2-4: DIN Rail Mount for ADAM-5550KW Series The system can also be secured to the cabinet by using mounting rails. If you mount the system on a rail, you should also consider using end brackets at each end of the rail.
Page 36
Chapter 2 Installation Guidelines (a) Since the ADAM-5550KW generates the heat, it should be mounted on a good ventilate location in the below shown. (b) Do not mount the ADAM-5550KW in either of orientations shown below. Vertical Flat 2-14 ADAM-5550KW Series User’s Manual...
Page 37
Chapter 2 Installation Guidelines (c) Because the ADAM-5550KW generates a lot of heat, so the Heat Sink would be too hot to touch. DO NOT TOUCH THE SURFACE OF HEAT SINK BY YOUR HAND. ADAM-5550KW Series User’s Manual 2-15...
Jumper Settings and DIP Switch Settings This section tells you how to set the jumpers and DIP switches to configure your ADAM-5550KW Series Controller. It gives the system default configuration and your options for each jumper and dip switch. There is only one jumper (JP1) on the CPU card. The backplane has one 8-pin DIP switch and six jumpers on it.
Following figure shows the COM1 to COM4 location. Figure 2-7: COM Ports Location The Communication mode of COM1 and COM4 are set by jumpers on the backplane. Please refer to Figure 2-8 to get the jumper locations. ADAM-5550KW Series User’s Manual 2-17...
Page 40
The Communication port of COM1 is set by JP2 (mode) and JP3 (terminal resistor). Figure 2-9 COM1 RS-232/485 and Terminal Resistor Settings 2.2.6.2.2 COM4 Jumper Setting The Communication port of COM4 is set by JP4 (mode), JP10 (mode), JP9 (mode) and JP5 (terminal resistor). 2-18 ADAM-5550KW Series User’s Manual...
Device ID Setting: You can set up your device ID by changing DIP Switch 1-8. The available ID for ADAM-5550KW Series Controller is from 0 to 255. Please refer to the Table 2-6 Device ID DIP Switch Table to set up your Device ID.
This section provides basic information on wiring the power supply, I/O modules and communication port connection. 2.3.1 Power supply wiring Although the ADAM-5550KW Series Controller is designed for a standard industrial unregulated 24 V power supply, they accept any power unit that supplies within the range of +10 to +30 V .
7. Avoid creating sharp bends in the wires. 2.3.3 Connection of Communication Ports The ADAM-5550KW Series Controller has four communication ports. These ports allow you to integrate the remote devices. 2.3.3.1 Remote I/O Wiring Modbus/RTU Master Function via COM1/COM2/COM4 RS-485: Figure 2-13: Remote I/O Wiring 2-22 ADAM-5550KW Series User’s Manual...
RS-485 mode by Figure 2-9 and Figure 2-10. 2.3.4 Ethernet Network Connection The ADAM-5550KW Series Controller provides Ethernet interfaces for network integration. Usually, you will need to prepare an ADAM-6520 Ethernet switch or hub for connecting to other network devices as following figure.
Page 47
Chapter 3 Quick Start This chapter will help you get familiar with ADAM-5550KW Series Controller and Multiprog Programming Software by following step by step examples. In this chapter, you need to prepare the system configuration as below. Main Module: ADAM-5550KW X1, IP Address: 192.168.1.5...
Page 48
Chapter 3 Quick Start Power wiring System Wiring ADAM-5550KW Series User’s Manual 3-3...
Chapter 3 Quick Start 3.1 Set IP Address to ADAM-5550KW 1. Power up ADAM-5550KW and click “Start” 2. Click “Settings” and “Network and Dial-up Connections” 3-4 ADAM-5550KW Series User’s Manual...
Page 50
Chapter 3 Quick Start 3. Right click “PCI-RTL81391” icon and then click “Properties” 4. Type IP Address like “192.168.1.5” and Subnet Mask “255.255.255.0”. ADAM-5550KW Series User’s Manual 3-5...
Page 51
Chapter 3 Quick Start 5. Right click “PCI-RTL81392” icon and then click “Properties” 6. Type IP Address like “192.168.1.6” and Subnet Mask “255.255.255.0”. Now the IP address configuration has been finished. 3-6 ADAM-5550KW Series User’s Manual...
Page 52
7. If your PC has installed DiagAnywhere Software, you can search the ADAM-5550KW and check the Ethernet connection. Please click the “Remote device” and click “Search” button 8. Click “ADAM-5550” and then click OK button without entering any password. ADAM-5550KW Series User’s Manual 3-7...
9. The screen of ADAM-5550KW will be shown in the window. Now it is possible to remotely control the ADAM-5550KW by PC’s mouse. 3.2 Configure ADAM-5000 Local I/O 1. Click “Start” -> “Programs” -> “Advantech” -> “Adam.NET Utility” 3-8 ADAM-5550KW Series User’s Manual...
Page 54
Chapter 3 Quick Start 2. Click “Local system” to view the local I/O modules 3. ADAM-5051 and ADAM-5056 are listed. Select “ADAM-5051”. ADAM-5550KW Series User’s Manual 3-9...
Page 55
Chapter 3 Quick Start 4. Check the state of DI 0 is “ON”. 5. Change the state of DI 0 to “OFF” and check the display. 3-10 ADAM-5550KW Series User’s Manual...
Page 56
Chapter 3 Quick Start 6. Select “ADAM-5056”. 7. Change the state of DO 0, DO 2, DO 4, DO 6, DO 8, DO 10, DO 12, DO 14 to “ON” and check the display ADAM-5550KW Series User’s Manual 3-11...
Chapter 3 Quick Start 3.3 Multiprog Installation Following will demonstrate how to install Advantech Multiprog Software. 1. Insert the Advantech Multiprog CD and click Multiprog item. 2. Click “Next” button 3-12 ADAM-5550KW Series User’s Manual...
Page 58
Chapter 3 Quick Start 3. Select “I accept the item in the license agreement” and click “Next” 4. Select “English” only and click “Next” ADAM-5550KW Series User’s Manual 3-13...
Page 59
Chapter 3 Quick Start 5. Click “Next” for default directory to install Multiprog. 6. Click “Next” for default directory to install Multiprog. 3-14 ADAM-5550KW Series User’s Manual...
Page 60
Chapter 3 Quick Start 7. Click “Install” to start the installation. 8. Click “OK” to finish the installation of Multiprog. ADAM-5550KW Series User’s Manual 3-15...
In following demonstration, a simple project of performing DI and DO function by ladder diagram is shown. After finish this section, you can ensure the system is workable. 1. Open Advantech Multiprog by clicking Multiprog item. 2. Click “OK” to enter the DEMO Mode. 3-26 ADAM-5550KW Series User’s Manual...
Page 72
Chapter 3 Quick Start 3. Click “Register” to enter the Registration Code. 4. Enter the Registration Code which comes with Advantech Multiprog Software License Sheet. ADAM-5550KW Series User’s Manual 3-27...
Page 73
Chapter 3 Quick Start 5. Click “OK” to finish the registration. 6. Open a new project and start to create the test project. 3-28 ADAM-5550KW Series User’s Manual...
Page 74
Chapter 3 Quick Start 7. Select “ADV_CE” item and then click “OK”. 8. Double click “Advantech DAQ” item. ADAM-5550KW Series User’s Manual 3-29...
Page 75
Chapter 3 Quick Start 9. Check the folder is at “Input”. 10. Select “ADAM5051” and then click “Add”. 3-30 ADAM-5550KW Series User’s Manual...
Page 76
Chapter 3 Quick Start 11. Select “0” for “Board ID”. Set “0” to “Start Address” and then click “OK”. 12. Click “Create All Input Variables” and then click “OK”. ADAM-5550KW Series User’s Manual 3-31...
Page 77
Chapter 3 Quick Start 13. Click “Output” folder. Select “ADAM5056” and then click “Add”. 14. Select “1” for “Board ID”. Set “0” to “Start Address” and then click “OK”. 3-32 ADAM-5550KW Series User’s Manual...
Page 78
Chapter 3 Quick Start 15. Click “Create All Input Variables” and then click “OK”. 16. Double click “main” and graphical worksheet will be shown. ADAM-5550KW Series User’s Manual 3-33...
Page 79
Chapter 3 Quick Start 17. Click on the graphical editor and ladder objects will be activated. 18. Add a contact network. 3-34 ADAM-5550KW Series User’s Manual...
Page 80
Chapter 3 Quick Start 19. Double click “C000”. 20. Dialog box of “Contact/Coil Property” will be shown. ADAM-5550KW Series User’s Manual 3-35...
Page 81
Chapter 3 Quick Start 21. Click “Global scope”. Select “In_ADAM5051_0_0” and then click “Apply”. 22. “Common” folder will be shown. Click “Contact” folder. 3-36 ADAM-5550KW Series User’s Manual...
Page 82
Chapter 3 Quick Start 23. Click “Global”. Select “ADAM5051_B00C000_I” and then click “Apply”. 24. Click “OK”. ADAM-5550KW Series User’s Manual 3-37...
Page 83
Chapter 3 Quick Start 25. Double click “C001. 26. Click “Global”. Select “ADAM5056_B01C000_O” and then click “Apply 3-38 ADAM-5550KW Series User’s Manual...
Page 84
Chapter 3 Quick Start 27. Click “OK”. 28. Back to graphical editor. ADAM-5550KW Series User’s Manual 3-39...
Page 85
Chapter 3 Quick Start 29. Right click “Resource: ADV_CE” and then click “Settings”. 30. Type IP Address of ADAM-5550KW as “192.168.1.5”. 3-40 ADAM-5550KW Series User’s Manual...
Page 86
Chapter 3 Quick Start 31. Click “Make” to build the execution file. Check the project has been compiled successfully. 32. Click “Project Control Dialog” and then click “Download”. ADAM-5550KW Series User’s Manual 3-41...
Page 87
Chapter 3 Quick Start 33. Check “Include boot project” and then click “Download”. 34. Downloading execution file to ADAM-5550KW. 3-42 ADAM-5550KW Series User’s Manual...
Page 88
36. Click “Debug On/Off” to turn on the debug function. The ADAM- 5550KW is running correctly when you see the status bar turns green color. You can see the DI0 and DO0 are turned blue color. It means the state is FALSE ADAM-5550KW Series User’s Manual 3-43...
Page 89
ADAM-5056 CH0 turns ON correctly. The DI0 and DO0 on graphical editor are turned red color too. It means the state is TRUE. 38. Finish the test project and do not forget to save it properly. 3-44 ADAM-5550KW Series User’s Manual...
Chapter 4 Link to Local A-Studio (For ADAM-5550KWAS) In this chapter, step by step demonstration will be shown for linking ProConOS to local HMI software Advantech Studio CE Runtime by using ProConOS CE OPC Server. All of the needed software has been bundled in ADAM-5550KWAS.
Page 92
Chapter 4 Link to Local A-Studio (For ADAM-5550KWAS) 2. The Advantech Studio CE Runtime and ProConOS OPC Sever have been installed. 3. Open a new project in Multiprog by selecting “ADV_CE” and then click “OK”. ADAM-5550KW Series User’s Manual 4-3...
Page 93
Chapter 4 Link to Local A-Studio (For ADAM-5550KWAS) 4. Double-click “main” and then click on the graphic editor. 5. An incremental counter will be created in this example. Please double-click “ADD” function block and then double-click the first input. 4-4 ADAM-5550KW Series User’s Manual...
Page 94
Chapter 4 Link to Local A-Studio (For ADAM-5550KWAS) 6. Click “Apply”. 7. Select “INT”. Check “OPC” and then click “Apply” and “OK” buttons. ADAM-5550KW Series User’s Manual 4-5...
Page 95
Chapter 4 Link to Local A-Studio (For ADAM-5550KWAS) 8. Double-click the second input of “ADD” function block. 9. Type “1” in the “Name” field and then click “Apply” and “OK” buttons. 4-6 ADAM-5550KW Series User’s Manual...
Page 96
Chapter 4 Link to Local A-Studio (For ADAM-5550KWAS) 10. Click output of the “ADD” function block. 11. Select “V000” and then click “Apply” and “OK” button. ADAM-5550KW Series User’s Manual 4-7...
Page 97
Chapter 4 Link to Local A-Studio (For ADAM-5550KWAS) 12. Click “Make” button to finish the compilation. Right click “Resource” and then select “Settings”. 13. Check all the items under “OPC” and then input the correct IP address. 4-8 ADAM-5550KW Series User’s Manual...
Page 98
Chapter 4 Link to Local A-Studio (For ADAM-5550KWAS) 14. Click “Project Control Dialog” button. 15. Click “Download” button. Check “Include Bootproject” and “Include OPC data” and then click “Download” button. ADAM-5550KW Series User’s Manual 4-9...
Page 99
Chapter 4 Link to Local A-Studio (For ADAM-5550KWAS) 16. Click “Cold” button to run the execution file and then click “Debug on/off” button. 17. Check the value of “V000” is incremental. 4-10 ADAM-5550KW Series User’s Manual...
Page 100
Chapter 4 Link to Local A-Studio (For ADAM-5550KWAS) 18. Double-click “My Device”. 19. Double-click “HardDisk” directory. ADAM-5550KW Series User’s Manual 4-11...
Page 101
Chapter 4 Link to Local A-Studio (For ADAM-5550KWAS) 20. Double-click “Proconos” directory. 21. Double-click “OPC” directory. 4-12 ADAM-5550KW Series User’s Manual...
Page 102
Chapter 4 Link to Local A-Studio (For ADAM-5550KWAS) 22. Run resource editor “ResEdit” of OPC Server. 23. Check “Resource” is “proconos” and IP address is local host “127.0.0.1”. ADAM-5550KW Series User’s Manual 4-13...
Page 103
Chapter 4 Link to Local A-Studio (For ADAM-5550KWAS) 24. The filename of ProConOS OPC Server is “PcosOPC”. It is not necessary to run this file because OPC client will launch it automatically. 25. Run OPC client “OPCClient”. 4-14 ADAM-5550KW Series User’s Manual...
Page 104
Chapter 4 Link to Local A-Studio (For ADAM-5550KWAS) 26. Select “InProc Server”. 27. Click “Connect to server” button. ADAM-5550KW Series User’s Manual 4-15...
Page 105
Chapter 4 Link to Local A-Studio (For ADAM-5550KWAS) 28. Click “Add all items”. 29. Check the value of “Proconos.main.V000”. 4-16 ADAM-5550KW Series User’s Manual...
Page 106
Chapter 4 Link to Local A-Studio (For ADAM-5550KWAS) 30. Check the value is incremental and then close the file. 31. The ProConOS OPC Server is also closed automatically. ADAM-5550KW Series User’s Manual 4-17...
Chapter 4 Link to Local A-Studio (For ADAM-5550KWAS) 4.2 Link to Advantech Studio CE Runtime 1. Double-click “My Device”. 2. Double-click “HardDisk” directory. 4-18 ADAM-5550KW Series User’s Manual...
Page 108
Chapter 4 Link to Local A-Studio (For ADAM-5550KWAS) 3. Run Advantech Studio Remote Agent “CEServer”. 4. Click “Start” button. ADAM-5550KW Series User’s Manual 4-19...
Page 109
Chapter 4 Link to Local A-Studio (For ADAM-5550KWAS) 5. Open a new project in Advantech Studio. 6. Select “Project”. Type the application name. Select “CE Standard” of “Target” and then click “OK” buttons. 4-20 ADAM-5550KW Series User’s Manual...
Page 110
Chapter 4 Link to Local A-Studio (For ADAM-5550KWAS) 7. Click “OK” button. 8. Select “Comm” folder. ADAM-5550KW Series User’s Manual 4-21...
Page 111
Chapter 4 Link to Local A-Studio (For ADAM-5550KWAS) 9. Right click “OPC” and click “Insert” button. 10. Type the Description. Select “PCOS.OPC.20” for Server Identifier and then type TagName “V000”, Item “Proconos.main.V000” and Scan “Always” according to Section 4.1 Step 29. 4-22 ADAM-5550KW Series User’s Manual...
Page 112
Chapter 4 Link to Local A-Studio (For ADAM-5550KWAS) 11. Select “Graphics” folder. Right-click “Screens” and then click “Insert”. 12. Type “Description” and then click “OK” button. ADAM-5550KW Series User’s Manual 4-23...
Page 113
Chapter 4 Link to Local A-Studio (For ADAM-5550KWAS) 13. Click “Text” item. 14. Click the display and then type ”#####”. 4-24 ADAM-5550KW Series User’s Manual...
Page 114
Chapter 4 Link to Local A-Studio (For ADAM-5550KWAS) 15. Select “Text” object and then click “Text I/O” button. 16. Double-click “Text” object and then select “Tag/Expression”. ADAM-5550KW Series User’s Manual 4-25...
Page 115
Chapter 4 Link to Local A-Studio (For ADAM-5550KWAS) 17. Select “V000” and then click “OK” button. 18. Check Tag/Expression is “V000” and then close the dialog box. 4-26 ADAM-5550KW Series User’s Manual...
Page 116
Chapter 4 Link to Local A-Studio (For ADAM-5550KWAS) 19. Save the display as the filename “main.scr”. 20. Select “Project -> Settings”. ADAM-5550KW Series User’s Manual 4-27...
Page 117
Chapter 4 Link to Local A-Studio (For ADAM-5550KWAS) 21. Select “Options”. Check the Target system is “CE Standard” and then click “OK” button. 22. Select “Execution Environment”. 4-28 ADAM-5550KW Series User’s Manual...
Page 118
Chapter 4 Link to Local A-Studio (For ADAM-5550KWAS) 23. Type correct Network IP “192.168.1.5” and then click “Connect”. 24. Check the status is “Connected to CEView 6.0”. ADAM-5550KW Series User’s Manual 4-29...
Page 119
Chapter 4 Link to Local A-Studio (For ADAM-5550KWAS) 25. Select “Application” folder. 26. Click “Send To Target” button and check the status is “success”. 4-30 ADAM-5550KW Series User’s Manual...
Page 120
Chapter 4 Link to Local A-Studio (For ADAM-5550KWAS) 27. Click “Run” button and check the status is “Application was started”. 28. Check the value of V000. ADAM-5550KW Series User’s Manual 4-31...
Page 121
Chapter 4 Link to Local A-Studio (For ADAM-5550KWAS) 29. Confirm the value of V000 is incremental. 30. Following steps will show how to automatically run the project of dvantech Studio while ADAM-5550KWAS boot-up. Please stop the application. 4-32 ADAM-5550KW Series User’s Manual...
Page 122
Chapter 4 Link to Local A-Studio (For ADAM-5550KWAS) 31. Click “Setup” button. 32. Check “Run CEView on startup” and then click “OK” button. ADAM-5550KW Series User’s Manual 4-33...
Page 123
Chapter 4 Link to Local A-Studio (For ADAM-5550KWAS) 33. Select “Start” -> “Programs” -> “Advantech” -> “Configuration Utility”. 34. Select “Misc” folder and then click “Add”. 4-34 ADAM-5550KW Series User’s Manual...
Page 124
Chapter 4 Link to Local A-Studio (For ADAM-5550KWAS) 35. Double-click “HardDisk” directory. 36. Double-click “CEServer”. 37. Check “CEServer.exe” has been added and then click “OK”. ADAM-5550KW Series User’s Manual 4-35...
Page 125
Chapter 4 Link to Local A-Studio (For ADAM-5550KWAS) 38. Click “Reboot” button and then click “OK” to reboot. 39. Check the application has been automatically executed correctly. 4-36 ADAM-5550KW Series User’s Manual...
Page 126
Chapter 4 Link to Local A-Studio (For ADAM-5550KWAS) 40. Check the value of “V000” is incremental correctly. ADAM-5550KW Series User’s Manual 4-37...
Chapter 5 Modbus Functions 5.1 Introduction The Modbus functions of ADAM-5550KW Series Controller are powerful features which provide high expansibility and flexibility for user’s applications. The supported modbus functions include following items. - Modbus/RTU Master Function: Connect to Modbus/RTU remote I/O modules such as Modbus modules of ADAM-4000 series.
Page 129
Chapter 5 Modbus Functions 5.2.1 An example to demonstrate how to connect to ADAM-6050 for Modbus/TCP client function. 1. Run ADAM.NET utility by clicking “Start” -> “Programs” -> “Advantech” -> AdamNET Utility. ADAM-5550KW Series User’s Manual 5-3...
Page 131
Chapter 5 Modbus Functions 4. Click “192.168.1.12” item and then “6050” item will show. 5. Click “6050” item to see the channel setting. ADAM-5550KW Series User’s Manual 5-5...
Page 132
Chapter 5 Modbus Functions 6. Enter “00000000” and then click “OK” button. 7. Check ADAM-6050 DI bit 0 is OFF. 5-6 ADAM-5550KW Series User’s Manual...
Page 133
Chapter 5 Modbus Functions 8. Turn on ADAM-6050 DI bit 0 and check the status of ADAM-6050 bit 0 is ON in the utility. 9. ADAM-6050 setting is correct. Exit from the ADAM.NET utility. ADAM-5550KW Series User’s Manual 5-7...
Page 134
Chapter 5 Modbus Functions 10. Open “Test.mwt” and follow the example in section 3.4. 11. Double-click “main” to show the program in graphical editor. 5-8 ADAM-5550KW Series User’s Manual...
Page 135
Chapter 5 Modbus Functions 12. Double-click “Advantech_DAQ” to show the “I/O Configuration” dialog box. 13. Click “MODBUSTCP” item and then click “Add” button. ADAM-5550KW Series User’s Manual 5-9...
Page 136
Chapter 5 Modbus Functions 14. Set Modbus Command: “1X”, Slave ID: 1, Slave IF: “192.168.1.12”, Data Type: “BOOL”, Start Address: “1”, No. of points: 12. 15. Click “Create All Input Variables” then click “OK” button. 5-10 ADAM-5550KW Series User’s Manual...
Page 138
Chapter 5 Modbus Functions 18. Click “Gloabal scope” folder. 19. Select “In_MBTCPDRV_0_1” and then click “Apply”. 5-12 ADAM-5550KW Series User’s Manual...
Page 139
Chapter 5 Modbus Functions 20. Click “Contact” folder. 21. Select “MBTR_1X0001_BOOL_00” and then click “Apply”. ADAM-5550KW Series User’s Manual 5-13...
Page 140
Chapter 5 Modbus Functions 22. Check the setting is correct and then click “OK”. 23. Double-click “C003”. 5-14 ADAM-5550KW Series User’s Manual...
Page 141
Chapter 5 Modbus Functions 24. Select “ADAM5056_B01C001_0” and then click “Apply”. 25. Check the setting is correct and then click “OK”. ADAM-5550KW Series User’s Manual 5-15...
Page 142
Chapter 5 Modbus Functions 26. Click “Make” button to make the execution file. 27. Check compile result is correct. 5-16 ADAM-5550KW Series User’s Manual...
Page 143
Chapter 5 Modbus Functions 28. Click “Project Control Dialog” and then click “Stop” and “Reset”. 29. Click “Download” button. Check the “Include Bootproject” item and then click “Download” button to proceed with the download process. ADAM-5550KW Series User’s Manual 5-17...
Page 144
Chapter 5 Modbus Functions 30. Execution file is downloading. 31. Click “Cold” to run the project. 5-18 ADAM-5550KW Series User’s Manual...
Page 145
32. Check the status of ADAM-6050 DI bit 0 and ADAM-5056D DO bit 1 are OFF. 33. Turn on ADAM-6050 DI bit 0 and check the status of ADAM- 5056D DO bit 1 is turned ON correctly. ADAM-5550KW Series User’s Manual 5-19...
5.3 Modbus/RTU Master Function The Modbus/RTU master function is supported by COM1/COM2/COM4 RS-485 Ports of ADAM-5550KW Series Controller. There are typical 128 I/O modules can be connected to each COM port. So far, there are 12 modules of ADAM-4000 Series support modbus protocol as following list.
Page 147
ADAM-4018+ settings: ID address: 01 Typr K thermocouple applied to CH0 (0~1370ºC) ADAM-6050 settings: (for following previous example) IP address: 192.168.1.12 ADAM-5550KW Series Controller settings: Slot 0: ADAM-5051D Slot 1: ADAM-5056D IP address: 192.168.1.5 System Wiring: ADAM-5550KW Series User’s Manual 5-21...
Page 148
Chapter 5 Modbus Functions COM4 Jumper Settings: Note: After changing the jumper settings, please reset the ADAM- 5550KW Series Controller. RS-485 Port Pin Assignment: 5-22 ADAM-5550KW Series User’s Manual...
Page 149
Chapter 5 Modbus Functions 1. Run ADAM.NET utility by clicking “Start” -> “Programs” -> “Advantech” -> AdamNET Utility. 2. Select “ADAM4000_5000” item. ADAM-5550KW Series User’s Manual 5-23...
Page 150
Chapter 5 Modbus Functions 3. Select “COM4” and then click “Search” button. 4. Click “Start” button and “4018P” will be shown. 5-24 ADAM-5550KW Series User’s Manual...
Page 151
Chapter 5 Modbus Functions 5. Click “4018P” to see the module setting. 6. Click “Data area” to check the reading of Channel 0 is correct. This channel will be used by following demonstration. ADAM-5550KW Series User’s Manual 5-25...
Page 152
Chapter 5 Modbus Functions 7. Select “COM4” and then click “Adam Commander” button. 8. Input “#010” and click “Send”. Check the response of the CH0 reading is correct. 5-26 ADAM-5550KW Series User’s Manual...
Page 153
“Init” side and then resetting the module. The switch is at the left side of the module. After that, select “COM4” and then click “Search” button again. 10. Click “Start” and “4018(*)” will be shown. “*” represents the module is at initial mode. ADAM-5550KW Series User’s Manual 5-27...
Page 154
Chapter 5 Modbus Functions 11. Select “4018P(*)” and then change the Protocol setting to “Modbus”. 12. Click “OK” to change the setting. 5-28 ADAM-5550KW Series User’s Manual...
Page 155
Chapter 5 Modbus Functions 13. Select “Data area” and check the CH0 reading. Click “WaveScan” to see the wavescan window. 14. Check CH0 reading and then close the window. ADAM-5550KW Series User’s Manual 5-29...
Page 156
15. Set the ADAM-4018+ to normal mode by changing the switch position to “Normal” side and then resetting the module. After that, select “COM4” and then click “Search” and “Start” buttons. 16. Click “4018P(01)” to see the module setting. 5-30 ADAM-5550KW Series User’s Manual...
Page 157
Chapter 5 Modbus Functions 17. Select “Data area” folder and check CH0 reading. 18. Select “COM4” and then click “Adam Commander”. ADAM-5550KW Series User’s Manual 5-31...
Page 158
Chapter 5 Modbus Functions 19. Change to “MODBUS” folder. 20. Check the reading of CH0. The formula is (1215*1370) / 65536 = 25.4 ºC. 5-32 ADAM-5550KW Series User’s Manual...
Page 159
Chapter 5 Modbus Functions 21. Open the “Test.mwt” project and then double-click “main”. 22. Double-click “Advantech_DAQ”. ADAM-5550KW Series User’s Manual 5-33...
Page 160
Chapter 5 Modbus Functions 23. Select “MODBUSRTU” and then click “Add” button. 24. Set COM: “COM4”, Modbus Command: “3X”, Slave ID: 1, Start Address: “1”, No. of points: 8, Data Type: “INT”. 5-34 ADAM-5550KW Series User’s Manual...
Page 161
Chapter 5 Modbus Functions 25. Click “Create All Input Variables” and then click “OK”. 26. Click “Edit Wizard” to see the function blocks. ADAM-5550KW Series User’s Manual 5-35...
Page 162
Chapter 5 Modbus Functions 27. Find the “GT” Greater Than Function Block. 28. Add one “GT” function block. 5-36 ADAM-5550KW Series User’s Manual...
Page 163
Chapter 5 Modbus Functions 29. Add one coil by clicking “Add Coil Right” button. 30. Connect “C004” coil to “GT” output. ADAM-5550KW Series User’s Manual 5-37...
Page 164
Chapter 5 Modbus Functions 31. Double-click the first input of “GT” function block. 32. Select “Global scope” folder. 5-38 ADAM-5550KW Series User’s Manual...
Page 165
Chapter 5 Modbus Functions 33. Select “In_MBRTUDRV_769_772” and then click “Apply”. 34. Select “MBR_3X0001_INT_769_I” to read CH0 of ADAM-4018+ module and then click “Apply”. ADAM-5550KW Series User’s Manual 5-39...
Page 166
Chapter 5 Modbus Functions 35. Double-click on the second input of “GT” function block. 36. Type “1196” and then Click “Apply” and “OK”. 5-40 ADAM-5550KW Series User’s Manual...
Page 167
Chapter 5 Modbus Functions 37. Check the setting “1196” is correct. (1196*1370)/65536 = 25ºC 38. Double-click “C004”. ADAM-5550KW Series User’s Manual 5-41...
Page 168
Chapter 5 Modbus Functions 39. Select “ADAM5056_B01C002_O” to connect the “GT” function block output to ADAM-5056D DO bit 2. Click “Apply” and “OK”. 40. Click “Make” button to make the execution file. 5-42 ADAM-5550KW Series User’s Manual...
Page 169
Chapter 5 Modbus Functions 41. Check compile result is correct. 42. Click “Project Control Dialog” button and then click “Stop” and “Reset”. ADAM-5550KW Series User’s Manual 5-43...
Page 170
Chapter 5 Modbus Functions 43. Click “Download” button. Check the “Include bootproject” item and then click “Download” to proceed with download process. 44. Project is downloading. 5-44 ADAM-5550KW Series User’s Manual...
Page 171
Chapter 5 Modbus Functions 45. Click “Cold” button to run the project. 46. Click “Debug on/off” button. ADAM-5550KW Series User’s Manual 5-45...
Page 172
47. Check the reading of ADAM-4018+ CH0 is “1088” which is less than “1196”. The ADAM-5056D DO CH2 is OFF. 48. Heating the thermocouple of ADAM-4018+ CH0. When the reading is greater than “1196”, the ADAM-5056D DO CH2 will turn ON. 5-46 ADAM-5550KW Series User’s Manual...
Ethernet port of ADAM-5550KW Series Controller. 5.4.1 Modbus Address Mapping ADAM-5550KW Series Controller reserves 16K Bytes memory space for Modbus function. The memory block can store user’s data and exchange the data through Modbus protocol. The unit in Modbus 4X registers is Word so there are totally 8K Words available.
Page 174
Data 3 mw3.4+mw3.5 42003 2 Bytes For Dword and Real data type: I/O Address Modbus Address Length Data 1 mw3.0+mw3.1+mw3.2+mw3.3 42001+42002 4 Bytes Data 2 mw3.4+mw3.5+mw3.6+mw3.7 42003+42004 4 Bytes Data 3 mw3.8+mw3.9+mw3.10+mw3.11 42005+42006 4 Bytes 5-48 ADAM-5550KW Series User’s Manual...
Page 175
Chapter 5 Modbus Functions 5.4.2 Example 1. Open the “Test.mwt” and add one “Move” function block. 2. “Move” function block will be shown on graphical editor. ADAM-5550KW Series User’s Manual 5-49...
Page 176
Chapter 5 Modbus Functions 3. Double-click the input of “Move” function block. Select “MBTR_1X0001_BOOL_00” (ADAM-6050 DI bit 0) and then click “Apply” and “OK”. 4. Double-click output of “Move” function block. 5-50 ADAM-5550KW Series User’s Manual...
Page 177
Chapter 5 Modbus Functions 5. Type “MB0X0001” and click “Apply” button. 6. Select “BOOL” for Data Type. Type “%mw3.0.0” for “I/O address” and then click “Apply” and “OK”. ADAM-5550KW Series User’s Manual 5-51...
Page 178
Chapter 5 Modbus Functions 7. Click “Make” button to make the execution file. 8. Check compile result is correct. 5-52 ADAM-5550KW Series User’s Manual...
Page 179
Chapter 5 Modbus Functions 9. Click “Project Control Dialog” button and then click “Stop”. 10. Click “Reset” button. ADAM-5550KW Series User’s Manual 5-53...
Page 180
Chapter 5 Modbus Functions 11. Click “Download” button. Check the “Include bootproject” item and then click “Download” to proceed with download process. 12. Project is downloading. 5-54 ADAM-5550KW Series User’s Manual...
Page 181
13. Click “Cold” to run the project. Click “Debug on/off” button to see the result. 14. Run Modbus/TCP Client utility Modscan and check the value of I/O address mw3.0.0 and Modscan I/O address 00001 are the same. ADAM-5550KW Series User’s Manual 5-55...
Page 182
15. Change the status of ADAM-6050 DI bit 0 to “1”. Check the values of I/O address mw3.0.0 and Modscan I/O address 00001 are all changed to “1”. 16. Add one more “Move” function block for analog measurement. 5-56 ADAM-5550KW Series User’s Manual...
Page 183
Chapter 5 Modbus Functions 17. Double-click the input of the 2 “Move” function block. Select “MBR_3X0001_INT_769_I” (ADAM-4018+ CH0) and then click “Apply” and “OK”. 18. Double-click the output. ADAM-5550KW Series User’s Manual 5-57...
Page 184
Chapter 5 Modbus Functions 19. Type “MB4X0001” and then click “Apply”. 20. Select “INT” for Data Type. Type “%mw3.2” for “I/O address” and then click “Apply” and “OK”. 5-58 ADAM-5550KW Series User’s Manual...
Page 185
Chapter 5 Modbus Functions 21. Click “Make” button to make the execution file and check the compile result is correct. 22. Click “Project Control Dialog” button. ADAM-5550KW Series User’s Manual 5-59...
Page 186
Chapter 5 Modbus Functions 23. Click “Stop” and “Reset” button. 24. Click “Download” button. Check the “Include bootproject” item and then click “Download” to proceed with download process. 5-60 ADAM-5550KW Series User’s Manual...
Page 187
Chapter 5 Modbus Functions 25. Project is downloading. 26. Click “Cold” to run the project . Click “Debug on/off” button to see the result. ADAM-5550KW Series User’s Manual 5-61...
Page 188
Chapter 5 Modbus Functions 27. Run Modbus/TCP Client utility Modscan and check the values of I/O address mw3.2 and Modscan I/O address 40002 are the same. 28. Save the project and the test is finished. 5-62 ADAM-5550KW Series User’s Manual...
AMONet slave devices so each device can link maximum 128 AMONet slave devices. The AMONet software support on ADAM-5550KW Series Controller conforms to PLCopen Motion Control Function Blocks. Please refer to following path to open the on-line help of AMONet solution for detail technical informtion.
Chapter 6 AMONet On-line Help 2. Right-click “AdvMotion_A1” and then select “Help on ‘AdvMotion_A1’ library”. 3. Advantech DAQ KW Driver User Manual is opened. There are detail technical information and examples for reference. ADAM-5550KW Series User’s Manual 6-3...
Page 192
Chapter 6 AMONet On-line Help 4. Select “Driver Reference for WinCE Target Systems” to read the four steps startup example. 6-4 ADAM-5550KW Series User’s Manual...
Chapter 7 Network Functions 7.1 Web Server Function ADAM-5550KW Series Controller features built-in web server function of Windows CE 5.0. Before you using the web server function, please do follow the steps in section 7.1.1 to configure the basic settings properly.
Page 195
Chapter 7 Network Functions 2. The NAS Admin page will be shown. Type in the password, for example, “admin” and then click “Apply” 3. Gateway is resetting. ADAM-5550KW Series User’s Manual 7-3...
Page 196
Chapter 7 Network Functions 4. Internet Explorer will connect to server automatically and ask to type the user name and password again. 5. Change the Device Name like “ADAM-5510-1” and then click “Apply”. 7-4 ADAM-5550KW Series User’s Manual...
Page 197
Chapter 7 Network Functions 6. Click “Add/Del Users” to change the password of user name “admin”, if necessary. 7. Type “admin” in “User” field. In following example, please type “admin” in “Password” field and then click “Apply New”. ADAM-5550KW Series User’s Manual 7-5...
Page 198
Chapter 7 Network Functions 8. The message “Add/Modify User Success” will be shown. 9. Run “Configuration Utility”. 7-6 ADAM-5550KW Series User’s Manual...
Page 199
Chapter 7 Network Functions 10. Click “Misc” folder. 11. Change to “Misc” folder and “Web Server Root” will be modified. ADAM-5550KW Series User’s Manual 7-7...
Page 200
Chapter 7 Network Functions 12. Change the default root directory as “\HardDisk\Web5550” in “Web Server Root” field and then click “Apply”. 13. Click “OK” to reboot the ADAM-5550KW. 7-8 ADAM-5550KW Series User’s Manual...
Page 201
Chapter 7 Network Functions 14. Type ADAM-5550KW IP Address “http://192.168.1.5” in Internet Explorer. 15. Enter user name: “admin”, password: “admin” and then click “OK”. ADAM-5550KW Series User’s Manual 7-9...
Page 202
Chapter 7 Network Functions 16. The WebAdmin page “Web Server Configuration” will be shown. 17. Click “ADAM-5550”. The info of local I/O modules will be shown. 7-10 ADAM-5550KW Series User’s Manual...
Page 203
Chapter 7 Network Functions 18. Click “(S0 5051)” to see the status of ADAM-5051 in slot 0. 19. Click “(S1 5056)” to see the status of ADAM-5056 in slot 1. ADAM-5550KW Series User’s Manual 7-11...
Page 204
Chapter 7 Network Functions 20. Click “DO 0” and check the status of DO 0 is ON. 21. Click “WebAdmin” and then click “Modify” to configure defaulty web site. 7-12 ADAM-5550KW Series User’s Manual...
Page 205
Chapter 7 Network Functions 22. Click “Configure the virtual directories on this Web site”. 23. Check the virtual path is “/” and Physical Path is “\HardDisk\Web5550”. Click “Modify” button. ADAM-5550KW Series User’s Manual 7-13...
Page 206
Chapter 7 Network Functions 24. Change “Level Required” to “User” under “User settings”. It’s important to protect all users from the access of ADAM-5550 I/O. 25. Scroll down this page and then click “Update” button. 7-14 ADAM-5550KW Series User’s Manual...
Page 207
Chapter 7 Network Functions 26. Click “Restart Web Server”. 27. The Web server is being refreshed. ADAM-5550KW Series User’s Manual 7-15...
Page 208
Chapter 7 Network Functions 28. Click “Remote Admin” for further configuration. 29. Click Device Name to “ADAM-5550-1” and then click “Apply”. 7-16 ADAM-5550KW Series User’s Manual...
Page 209
Chapter 7 Network Functions 30. Click “Add/Del” Users. 31. Add user name like “user1” and password “user1” and then click “Add New” button. ADAM-5550KW Series User’s Manual 7-17...
Page 210
Chapter 7 Network Functions 32. The user1 account will be added correctly. 33. Back to “Default Web Site” and click “Configure administrative users for this Web site”. 7-18 ADAM-5550KW Series User’s Manual...
Page 211
34. Check “user1” is default and “Allow default items” is not checked. Click “Update” button if you need to change the setting. 35. Type “http://192.168.1.5” and ADAM-5550 I/O information will not be found here. Enter the User name: “user1”, password: “user1”. ADAM-5550KW Series User’s Manual 7-19...
Page 212
Chapter 7 Network Functions 36. Click “OK” button again. 37. The message “Access denied” will be shown. It means user1 cannot enter the WebAdmin page. It is correct. 7-20 ADAM-5550KW Series User’s Manual...
Page 213
Chapter 7 Network Functions 38. Click “ADAM-5550” to see the I/O information. 39. Click “(S1) 5056” to see the status of ADAM-5056. ADAM-5550KW Series User’s Manual 7-21...
Page 214
Chapter 7 Network Functions 40. Click “DO 0” and check the status of DO 0 is ON. 7-22 ADAM-5550KW Series User’s Manual...
Page 215
ADAMFcn=Customize Template=”TemplateFileName” Example ADAMFcn=Customize&Template=Web5013 Set Variable You can ask the library to set user-defined characters in the feedback webpage. Function Parameter ADAMFcn=SetVar Val0=”UserString” Example Return ADAMFcn=SetVar&Var0=mystring mystring Note: Maximum size of ”UserString” is 50 characters. ADAM-5550KW Series User’s Manual 7-23...
Page 216
ADAMFcn=GetSlotID Val0=S”Slot”C”Channel” Example Return ADAMFcn=GetSlotID&Val0=S2 Module ID (5013 or 5017…) Modify Input Range The module information is sent by forms. Especially, user has to send any information corresponding with the template parameters. Example: ADAM-5013 Template 7-24 ADAM-5550KW Series User’s Manual...
Page 217
Chapter 7 Network Functions Modify Output Range and Apply Output Value Example: ADAM-5024 Template ADAM-5550KW Series User’s Manual 7-25...
Page 219
Chapter 7 Network Functions Set DO Value Example: ADAM-5056 Template ADAM-5550KW Series User’s Manual 7-27...
Page 220
</html> Please copy “WebSample.htm” to the directory of Web5550 library like “\HardDisk\Web5550”. The IP address of ADAM-5550KW is “192.168.1.5”, we can use the WebSample template to show the status of ADAM-5056D by following query string. 7-28 ADAM-5550KW Series User’s Manual...
Page 221
Chapter 7 Network Functions http://192.168.1.5/Web5550.dll?ADAMFcn=Customize&Template=WebSa mple&ADAMFcn=GetValues&Val0=S0C0&Val1=S0C1&Val2=S0C2 1. Check the DO0, DO1 and DO2 status of ADAM-5056D. 2. Type the query string. ”http://192.168.1.5/Web5550.dll?ADAMFcn=Customize&Template=W ebSample&ADAMFcn=GetValues&Val0=S0C0&Val1=S0C1&Val2=S0 C2” ADAM-5550KW Series User’s Manual 7-29...
Page 222
Chapter 7 Network Functions 3. Turn ON DO0 and keep DO1 and DO2 status as OFF. 4. Refresh the web page and check the DO0 status is ON. 7-30 ADAM-5550KW Series User’s Manual...
If you enable the FTP Server function and do not configure the settings properly, please be noted that it is possible that malicious user gain completely control of the files on the ADAM-5550KW Series Controller. 1. Type IP address “http://192.168.1.5”. Enter user name: “admin”, password: “admin”...
Page 224
Chapter 7 Network Functions 2. Click “Remote Admin” to configure the FTP server. 3. Click “Device Management” 7-32 ADAM-5550KW Series User’s Manual...
Page 225
Chapter 7 Network Functions 4. Click “Configure FTP Server”. 5. Enter the “FTP Server Configuration” page. ADAM-5550KW Series User’s Manual 7-33...
Page 227
Chapter 7 Network Functions 8. After the ADAM-5550KW was rebooted, following page will be shown again. 9. Scroll down the page. Check the “Home Directory” for all users and then click “Submit” button. ADAM-5550KW Series User’s Manual 7-35...
Page 228
Chapter 7 Network Functions 10. Wait for a moment for resetting. 11. After resetting, following page will be shown again. The basic settings for FTP Server have been configured. 7-36 ADAM-5550KW Series User’s Manual...
Page 229
Chapter 7 Network Functions 12. Right-click the mouse and then add a new directory “New Folder” under “HardDisk” directory of ADAM-5550KW Series Controller. 13. Enter the name for the new folder as “FTP”. ADAM-5550KW Series User’s Manual 7-37...
Page 230
Chapter 7 Network Functions 14. Enter “HardDisk\FTP” directory. 15. Add “Test FTP” directory. 7-38 ADAM-5550KW Series User’s Manual...
Page 231
Chapter 7 Network Functions 16. Type “ftp://192.168.1.5” to login the FTP Server. You will see the warning message because anonymous login is not allowed now. 17. Click “Login As” item to enter the user name and password. ADAM-5550KW Series User’s Manual 7-39...
Page 232
Chapter 7 Network Functions 18. Login the FTP Server by username: user1 and password: “user1”. 19. The “Test FTP” directory can be accessed now. 7-40 ADAM-5550KW Series User’s Manual...
Page 233
Chapter 7 Network Functions 20. Try to upload files onto FTP Server. 21. Upload the directory of “OPC” onto FTP Server. ADAM-5550KW Series User’s Manual 7-41...
Page 234
Chapter 7 Network Functions 22. Uploading process is proceeding. 23. The uploaded “OPC” directory will be shown. 7-42 ADAM-5550KW Series User’s Manual...
Page 235
Chapter 7 Network Functions 24. Check the files under “OPC” directory in FTP client. 25. Check the files under “OPC” directory on the ADAM-5550KW. ADAM-5550KW Series User’s Manual 7-43...
Chapter 7 Network Functions 7.3 Email Alarm Function There is an example for demonstrating how to send an email from ADAM-5550KW Series Controller. Please refer to following info. 1. Open “AdvMailDemo.mwt”. 2. The function block is included by “AdvToolPack” library. Double- click “main”...
Page 237
3. Type the correct settings in the “Init” fields as below and try to run this example directly. Note: The sending email function is only supported by mail server via intranet within enterprise network. The free mail box cannot support the sending email function. ADAM-5550KW Series User’s Manual 7-45...
Chapter 7 Network Functions 7.4 SQL Server Function There is an example for demonstrating how to use the built-in SQL Server function on ADAM-5550KW Series Controller. Please refer to following info. 1. Open “AdvSQLDemo.mwt”. 2. Type to run this example directly.
Page 239
3. TableName: (STRING), SQL mobile database table name 4. ColumnTotal: (INT), Total number of fields in SQL mobile database. Maximum number is 10. 5. PrimaryIndex: (INT) KEY Index of SQL mobile databas . ClearDataBase: (BOOL), Clear SQL mobile database ADAM-5550KW Series User’s Manual 7-47...
Page 240
3. ColumnIndex: (INT), The column index in SQL mobile data base. 4. ColumnName: (STRING), Name of SQL mobile d atabase 5. ValLength: (INT), Maximum length of da ta field. . Value:(STRING), Content of data field. 7-48 ADAM-5550KW Series User’s Manual...
Page 241
3. ColumnIndex: (INT), The column index in SQL mobile data base. 4. ColumnName: (STRING), Name of SQL mobile d atabase 5. ValLength: (INT), Maximum length of da ta field. . Value:(STRING), Content of data field. ADAM-5550KW Series User’s Manual 7-49...
Chapter 8 Miscellaneous Functions 8.1 Advantech Utilities There are four Advantech utilities which are pre-installed on ADAM- 5550KW Series Controller. The major functions are as below. Adam.NET Utility: CE version of ADAM Utility for configuring ADAM- 5550KW Series Local ADAM-5000 I/O Modules, ADAM-4000 Remote I/O Modules, ADAM-6000 and ADAM-5000/TCP Ethernet I/O Modules.
Chapter 8 Miscellaneous Functions 8.2 Change Language Interface of CE 1. Enter “Control Panel”. 2. Run “Regional Settings”. ADAM-5550KW Series User’s Manual 8-3...
Page 245
Chapter 8 Miscellaneous Functions 3. Click “User Interface Language” folder and select “Chinese (Taiwan)” item. 4. Click “OK” to finish the change. 8-4 ADAM-5550KW Series User’s Manual...
Page 246
Chapter 8 Miscellaneous Functions 5. Click “OK” to reboot the ADAM-5550KW. 6. The Language Interface has been changed correctly. ADAM-5550KW Series User’s Manual 8-5...
Chapter 8 Miscellaneous Functions 8.3 Example of Configuring Touch Screen 1. Run the “Touch Screen Config” utility. 2. Select COM port as COM3, for example. 8-6 ADAM-5550KW Series User’s Manual...
Page 248
Chapter 8 Miscellaneous Functions 3. Click “OK” and reboot the ADAM-5550KW system. 4. Enter “Control Panel”. ADAM-5550KW Series User’s Manual 8-7...
Page 249
Chapter 8 Miscellaneous Functions 5. Run “Stylus” to set the properties. 6. Click “Recalibrate” button. 8-8 ADAM-5550KW Series User’s Manual...
Page 250
Chapter 8 Miscellaneous Functions 7. Follow the instructions and use finger to press the target on the screen. 8. Follow the instructions and use finger to press the target on the screen. ADAM-5550KW Series User’s Manual 8-9...
Page 251
Chapter 8 Miscellaneous Functions 9. Follow the instructions and use finger to press the target on the screen. 10. Follow the instructions and use finger to press the target on the screen. 8-10 ADAM-5550KW Series User’s Manual...
Page 252
Chapter 8 Miscellaneous Functions 11. Follow the instructions and use finger to press the target on the screen. 12. Press “Enter” key to accept the new settings. ADAM-5550KW Series User’s Manual 8-11...
Chapter 8 Miscellaneous Functions 13. Click “OK” to finish the recalibration. 8.4 Save and Upload Project Source 1. Open a project and click “Program Control Dialog”. 8-12 ADAM-5550KW Series User’s Manual...
Page 254
Chapter 8 Miscellaneous Functions 2. Click “Download” button. Check the “Include Sources” item and then click “Download”. 3. The “Upload” button will be activated when project source code has been downloaded correctly. ADAM-5550KW Series User’s Manual 8-13...
Page 255
Chapter 8 Miscellaneous Functions 4. Click “Upload” button and then click “Project Source” to test uploading source function. 5. Click “OK” to proceed with uploading the project source. 8-14 ADAM-5550KW Series User’s Manual...
Chapter 8 Miscellaneous Functions 6. Uploading project source has been finished. 8.5 Example of changing Language Interface from English to Traditional Chinese 1. Click “Extras\Options” item. ADAM-5550KW Series User’s Manual 8-15...
Page 258
Chapter 8 Miscellaneous Functions 4. Close Multiprog and then reload it. The Language Interface will change to Traditional Chinese correctly. ADAM-5550KW Series User’s Manual 8-17...
Page 259
Please be noted that the maximum of plug quantity of ADAM- 5091 is 3pcs. If you plug more than 3pcs at the same time, the Utility screen will be shown “N/A” as below. 8-18 ADAM-5550KW Series User’s Manual...
Page 261
Parallel connected nodes, true multi-drop ADAM-5550KW Series Controller is fully isolated and use just a single set of twisted pair wires to send and receive! Since the nodes are connected in parallel they can be freely disconnected from the host without affecting the functioning of the remaining nodes.
Page 262
Thus all connections are parallel and connecting or discon- necting of a node doesn’t affect the network as a whole. Since ADAM-5550KW Series Controller use the RS-485 standard, they can connect and communicate with the host PC. The basic layouts that can be...
Page 263
Appendix A RS-485 Network Star Layout In this scheme the repeaters are connected to drop-down cables from the main wires of the first segment. A tree structure is the result. This scheme is not recommended when using long lines since it will cause a serious amount of signal distortion due to signal reflections in several line-endings.
Page 264
Appendix A RS-485 Network Random This is a combination of daisychain and hierarchical structure. Figure A-3: Random structure ADAM-5510KW Series User’s Manual A-5...
Page 265
Appendix A RS-485 Network Line Termination Each discontinuity in impedance causes reflections and distortion. When a impedance discontinuity occurs in the transmission line the immediate effect is signal reflection. This will lead to signal distortion. Specially at line ends this mismatch causes problems. To eliminate this discontinuity, terminate the line with a resistor.
Page 266
Appendix A RS-485 Network Figure A-5: Termination resistor locations Because each input is biased to 2.4 V, the nominal common mode voltage of balanced RS-485 systems, the 18 k on the input can be taken as being in series across the input of each individual receiver.
Page 267
Appendix A RS-485 Network Thus as already stated above the line termination resistor R will normally equal the characteristic impedance Z . The star connection causes a multitude of these discontinuities since there are several transmission lines and is therefore not recommend.
Page 269
Appendix B Grounding Reference Field Grounding and Shielding Application Overview Unfortunately, it’s impossible to finish a system integration task at one time. We always meet some trouble in the field. A communication network or system isn’t stable, induced noise or equipment is damaged or there are storms. However, the most usual issue is just simply improper wiring, ie, grounding and shielding.
Page 270
Appendix B Grounding Reference B.1 Grounding B-1.1 The ‘Earth’ for reference Figure B-1: Think the EARTH as GROUND. As you know, the EARTH cannot be conductive. However, all build- ings lie on, or in, the EARTH. Steel, concrete and associated cables (such as lighting arresters) and power system were connected to EARTH.
Page 271
Appendix B Grounding Reference B-1.2 The ‘Frame Ground’ and ‘Grounding Bar’ Figure B-2: Grounding Bar. Grounding is one of the most important issues for our system. Just like Frame Ground of the computer, this signal offers a reference point of the electronic circuit inside the computer. If we want to communicate with this computer, both Signal Ground and Frame Ground should be connected to make a reference point of each other’s electronic circuit.
Page 272
Appendix B Grounding Reference Figure B-3: Normal mode and Common mode. B-1.3 Normal Mode and Common Mode Have you ever tried to measure the voltage between a live circuit and a concrete floor? How about the voltage between neutral and a concrete floor? You will get nonsense values. ‘Hot’...
Page 273
Appendix B Grounding Reference Figure B-4: Normal mode and Common mode. • Ground-pin is longer than others, for first contact to power system and noise bypass. • Neutral-pin is broader than Live-pin, for reducing contact imped- ance. B-6 ADAM-5510KW Series User’s Manual...
Page 274
Appendix B Grounding Reference B-1.4 Wire impedance Figure B-5: The purpose of high voltage transmission • What’s the purpose of high voltage transmission? We have all seen high voltage transmission towers. The power plant raises the voltage while generating the power, then a local power station steps down the voltage.
Page 275
Appendix B Grounding Reference Figure B-6: wire impedance. B-8 ADAM-5510KW Series User’s Manual...
Page 276
Appendix B Grounding Reference B-1.5 Single Point Grounding Figure B-7: Single point grounding. (1) • What’s Single Point Grounding? Maybe you have had an unpleasant experience while taking a hot shower in Winter. Someone turns on a hot water faucet somewhere else. You will be impressed with the cold water! The bottom diagram above shows an example of how devices will influence each other with swift load change.
Page 277
Appendix B Grounding Reference Figure B-8: Single point grounding. (2) The above diagram shows you that a single point grounding system will be a more stable system. If you use thin cable for powering these devices, the end device will actually get lower power.
Page 278
Appendix B Grounding Reference B.2 Shielding B-2.1 Cable Shield Figure B-9: Single isolated cable • Single isolated cable The diagram shows the structure of an isolated cable. You see the isolated layer which is spiraled Aluminum foil to cover the wires. This spiraled structure makes a layer for shielding the cables from external noise.
Page 279
Appendix B Grounding Reference Figure B-10: Double isolated cable • Double isolated cable Figure 10 is an example of a double isolated cable. The first isolating layer of spiraled aluminum foil covers the conductors. The second isolation layer is several bare conductors that spiral and cross over the first shield layer.
Page 280
Appendix B Grounding Reference B-2.2 System Shielding Figure B-11: System Shielding • Never stripping too much of the plastic cable cover. This is improper and can destroy the characteristics of the Shielded-Twisted-Pair cable. Besides, the bare wire shield easily conducts the noise. •...
Page 281
Appendix B Grounding Reference Figure B-12: The characteristic of the cable • The characteristic of the cable Don’t strip off too much insulation for soldering. This could change the effectiveness of the Shielded-Twisted-Pair cable and open a path to introduce unwanted noise.
Page 282
Appendix B Grounding Reference Figure B-13: System Shielding (1) • Shield connection (1) If you break into a cable, you might get in a hurry to achieve your goal. As in all electronic circuits, a signal will use the path of least resis- tance.
Page 283
Appendix B Grounding Reference Figure B-14: System Shielding (2) • Shield connection (2) The previous diagram shows you that the fill soldering just makes an easier way for the signal. B-16 ADAM-5510KW Series User’s Manual...
Page 284
Appendix B Grounding Reference B.3 Noise Reduction Techniques • Isolate noise sources in shielded enclosures. • Place sensitive equipment in shielded enclosure and away from computer equipment. • Use separate grounds between noise sources and signals. • Keep ground/signal leads as short as possible. •...
Page 285
Appendix B Grounding Reference B.4 Check Point List • Follow the single point grounding rule? • Normal mode and common mode voltage? • Separate the DC and AC ground? • Reject the noise factor? • The shield is connected correctly? •...
Need help?
Do you have a question about the ADAM-5550KW Series and is the answer not in the manual?
Questions and answers