Instruction/ maintenance manual of the product ADAM-5560 Advantech
Go to page of 194
User Manual ADAM-5560 Series Programmable Automation Controllers.
ADAM-5560 Series User Manual ii Copyright The document ation and the sof tware included with th is product are cop yrighted 2012 by Advantech Co., Ltd. All r ights are reserv ed. Advantech Co., Ltd . reserves the right to make improvements in the product s descr ibed in this manual at any time without notice.
iii ADAM-5560 Series User Manu al Declaration of Conformity CE This product has passed the CE test for env ironment al specifications when shielded cables are used for external wiring. W e recommend the use of shielded cables. This kind of cable is available from Advantec h.
ADAM-5560 Series User Manual iv Safety Instructions 1. Read these safety instructions carefully . 2. Keep this User Manual f or later reference. 3. Disconnect this equipment from any AC outlet before cleaning. Use a damp cloth. Do not use liquid or spray detergents fo r cleaning.
v ADAM-5560 Series User Manu al Content s Chapter 1 Overview ...............................................1 1.1 Introduction .... ................... ................. ................ ................ ................ ....... 2 1.2 Features .......
ADAM-5560 Series User Manual vi Figure 2.4 COM1/COM4 RS-232/485 Settings ............. ... .... ... .. 22 Figure 2.5 COM1 RS-23 2/485 and Terminal Resistor Settings. 23 Figure 2.6 COM3 RS-23 2/485 and Terminal Resistor Settings. 23 Figure 2.7 COM4 RS-23 2/485 and Terminal Resistor Settings.
vii ADAM-5560 Series User Manu al A.1 RS-485 Networks ........... ... .... ... ... ... .... ... ................ ... ... .... ... ................ ... 168 A.2 Basic Network Layout ....... ................. ................ ................ ...........
ADAM-5560 Series User Manual viii.
Chapter 1 1 Overview.
ADAM-5560 Series User Manual 2 1.1 Introduction ADAM-5560 Series Controlle r is Programm able Automation Controller designed for control tasks which require Industrial PC computing performance with the PLC’s robustness.
3 ADAM-5560 Series User Manu al Chapter 1 Overview Designed for control t asks that meet robust and computing performance requirement s of PLC and Industrial PC’ s ADAM-5560 Series Controller is designed for control t asks which need Industrial PC’s computing performance and PLC’ s robustness.
ADAM-5560 Series User Manual 4 Cross-Language Programming For some project integrate and scalable issue s, cross-language can help you to choose the different lang uage for you r projec t.
5 ADAM-5560 Series User Manu al Chapter 1 Overview Real time multi-t ask engine ADAM-5560 Series Controller provides the multi-task and multi-program e nviron- ment. ADAM-5560 Series Controller ’s communication, dat a process and I/O access tasks are working independent, so the sy stem performance and ef ficiency are better than traditional PLC.
ADAM-5560 Series User Manual 6 Dual Ethernet Port s ADAM-5560 Series Controller provides tw o Ethernet port s for different application requirements such as redundant Ethernet conne ction for reliability concern or sep a - rated network connections for security conc ern.
7 ADAM-5560 Series User Manu al Chapter 1 Overview Remote maintenance via FTP Server and Diag Anywhere Sof tware For remote maintenance function, the built-in FTP server provides service for upload- ing application program or downloading dat a logging files.
ADAM-5560 Series User Manual 8 Remote I/O Exp ansibility ADAM-5560 Series Controller supports not only Modb us/RTU Ma ster function via serial ports, but also the Modbus/TCP Client to retrieve data from remote I/O, and Modbus/TCP Server to exchange dat a with other Modbus devices via Etherne t port.
9 ADAM-5560 Series User Manu al Chapter 1 Overview Connector: DB-9 pin T ransmission speed: Up to 1 15.2 Kbps Max transmission dist ance: – RS-232: 50 feet (15.
ADAM-5560 Series User Manual 10 1.3.1 1 Mechanical Case: ABS+PC with captive mounting hardware Plug-in screw terminal block: Accepts 0.5 mm 2 to 2.
11 ADAM-5560 Series User Manu al Chapter 1 Overview There are two LEDs besides each Ethern et p o rt. The LEDs indicate operating st atus, as explained below: TX (Green): This LED blinks whenever the ADAM-5560 Series Controller transmitting data to Ethernet.
ADAM-5560 Series User Manual 12.
Chapter 2 2 Installation.
ADAM-5560 Series User Manual 14 2.1 Overview This chapter describes how to in stall an ADAM-5560 Series Controller . A quick hookup scheme is provided that let you easily configu re your system before imple- menting it into your application.
15 ADAM-5560 Series User Manu al Chapter 2 Installation 2.3 Hardware Inst allation 2.3.1 Selecting I/O Module T o organize an ADAM-5560 Series control sy stem, you need to select I/O modules to interface the main unit with field de vices or processes that you ha ve previously deter- mined.
ADAM-5560 Series User Manual 16 Module ADAM- 5013 ADAM- 5017 ADAM- 5017UH ADAM- 5018 ADAM- 5024 Analog Input Resolution 16 bit 16 bit 12 bit 16 bit - Input Channel 3 8 8 7 - Sampling Rate 10 10 8K (T otal ) 10 - V oltage In put - ±150 mV ±500 mV ±1 V ±5 V ±10 V ±10 V 0~10V 0~20mV ±15 mV ±50 mV ±100 mV ±500 mV ±1 V ±2.
17 ADAM-5560 Series User Manu al Chapter 2 Installation Module ADAM- 5052 ADAM- 5055S ADA M- 5056 ADAM- 5056D ADAM- 5056S / 5056SO Analog Input Resolution - - - - - Input Channel -- -- - Sampling Rate.
ADAM-5560 Series User Manual 18 2.3.2 Selecting Power Supply Module ADAM-5560 Series Controller works under unregulated power so urce between +10 and +30 VDC. When you arrange d ifferent I/ O modules on ADAM-5560 Series Con- troller ’s backplane, it may require comp arab le power supply .
19 ADAM-5560 Series User Manu al Chapter 2 Installation Calculate the Summary of the whole system’s power consumption. For example, there are following items in your system. ADAM-5550KW * 3 & ADAM-5024 * 2 & ADAM-5017 * 4 & ADAM-5068 * 2 & ADAM-5056D * 2 The power consumption is: 17 W * 3 + 2.
ADAM-5560 Series User Manual 20 Select a suitable power supply from T able 2.4 or other comp arable power resource for system operation. 2.3.3 Inst all Main Unit and Modules While inserting modules into the system, align the PC board of the module with the grooves on the top and bottom of the system.
21 ADAM-5560 Series User Manu al Chapter 2 Installation 2.3.5 Mounting The ADAM-5560 Series Controller can be in stalled on a p anel or on a DIN rail. 2.3.5.1 Panel Mount Mount the system on th e panel horizontally to provide proper ventilation. Y ou cannot mount the system vertically , upside down or on a flat horizont al surface.
ADAM-5560 Series User Manual 22 The system can also be secured to the cabi net by using mounting rails. If you mount the system on a rail, you s hould also consider using end brackets at each end of the rail. The ended bracket s help keep th e system from sliding horizonta lly along the rail.
23 ADAM-5560 Series User Manu al Chapter 2 Installation COM1 Jumper Setting The Communication port of COM1 is set by CN4, CN5, CN6 (Mode) and CN7 (T ermi- nal Resistor). Figure 2.5 COM1 RS-232/485 and T erminal Resistor Settings COM3 Jumper Setting The Communication port of COM3 is set by CN9, CN10, CN1 1 (Mode) and CN12 (T erminal Resistor).
ADAM-5560 Series User Manual 24 2.3.6.2 DIP Switch Setting Figure 2.8 ADAM-5560 Series DIP Switch Device ID Setting: Y ou can set up your device ID by changing DIP Switch 1-8. The available ID for ADAM-5560 Series Controller is from 0 to 255. Please refer to the T able 2.
25 ADAM-5560 Series User Manu al Chapter 2 Installation 2.3.7 COM Port Pin Assignment s Figure 2.9 RS-232 Port Pin Assignment Figure 2.10 RS-485 Port Pin Assignment.
ADAM-5560 Series User Manual 26 2.4 System Wi ring and Connections This section provides basic information on wiring the power su pply , I/O modules and communication port connection.
27 ADAM-5560 Series User Manu al Chapter 2 Installation 2.4.3.1 Remote I/O Wiring Modbus/RT U Master Function via COM1/COM2/COM4 RS-485: Figure 2.12 Remote I/O Wirin g Y ou can connect typical 128 ADAM-4000 Modbus Remote I/O modules via COM1/ COM2/COM4.
ADAM-5560 Series User Manual 28.
3 Quick Start Chapter 3.
ADAM-5560 Series User Manual 30 This chapter will help you get familiar with ADAM-5560KW Controller and Multiprog Programming Software by following step by step examples. In this chapter , you need to prepare the system configur ation as below . Main Module: ADAM-5560KW X1, IP Address: 192.
31 ADAM-5560 Series User Manu al Chapter 3 Quick Start 3.1 Set IP Address to ADAM-5560KW 1. [P AC Device] Power up ADAM-5560KW and click “S tart”. 2.
ADAM-5560 Series User Manual 32 3. [PAC Device] Right click “PCI-RTL8139 1” icon and then click “Properties”. 4. [PAC Device] T ype IP Address like “192.
33 ADAM-5560 Series User Manu al Chapter 3 Quick Start 5. [PAC Device] Right click “PCI-R TL81392” icon and then click “Properties”. 6. [PAC Device] T ype IP Address like “192.168.1.6” an d Subnet Mask “255.255.255.0”. Now the IP address conf iguration has been finished.
ADAM-5560 Series User Manual 34 7. If your PC has inst alled DiagAnywhere Sof tware, you can search the ADAM- 5560KW and check the Ethernet connectio n. Please click the “Remote device” and click “Search” button. 8. Click “ADAM-5560” and then click OK button without ente ring any password.
35 ADAM-5560 Series User Manu al Chapter 3 Quick Start 9. The screen of ADAM-5560KW will be shown in the window . Now it is possible to remotely control the ADAM-5560KW by PC’ s mouse. 3.2 Configure ADAM-5000 Local I/O 1. [P AC Device] Click “S tart” -> “Programs” -> “Advantech” -> “Adam.
ADAM-5560 Series User Manual 36 2. [P AC Device] Click “Local system” to view the local I/O modules. 3. [P AC Device] ADAM-5051 and ADAM-5056 are listed.
37 ADAM-5560 Series User Manu al Chapter 3 Quick Start 4. [PAC Device] Check the st ate of DI 0 is “ON”. 5. [PAC Device] Change the st ate of DI 0 to “OFF” and check the d isplay .
ADAM-5560 Series User Manual 38 6. [PAC Device] Select “ADAM-5056”. 7. [PAC Device] 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 .
39 ADAM-5560 Series User Manu al Chapter 3 Quick Start 3.3 Multiprog Inst allation Following will guide you how to setup Mult iprog IEC-61 131-3 development environ- ment on your PC. 1. Please use your web browser to visit Ad vantech web site. (www .advan- tech.
ADAM-5560 Series User Manual 40 2. Click “OK” to enter the DEMO Mode. 3. Click “Register” to enter the Registration Code..
41 ADAM-5560 Series User Manu al Chapter 3 Quick Start 4. Enter the Registration Code which come s with Advantech Multiprog Sof tware License Sheet. 5.
ADAM-5560 Series User Manual 42 6. Open a new project and st art to create the test project. 7. Select “ADAM-5560KW” item and then click “OK”..
43 ADAM-5560 Series User Manu al Chapter 3 Quick Start 8. Double click “Advant ech DAQ” item. 9. Check the folder is at “Input”..
ADAM-5560 Series User Manual 44 10. Select “ADAM5051” and then click “Add”. 11 . Select “0” for “Board ID”. Set “0” to “S tart Address” and then click “OK”.
45 ADAM-5560 Series User Manu al Chapter 3 Quick Start 12. Click “Create All Input V ariables” and then click “OK”. 13. Click “Output” folder .
ADAM-5560 Series User Manual 46 14. Select “1” for “Board ID”. Set “0” to “S tart Address” an d then click “OK”. 15. Click “Create All Input V ari ables” and then click “OK”.
47 ADAM-5560 Series User Manu al Chapter 3 Quick Start 16. Double click “main” and graphi cal worksheet will be shown. 17. Click on the graphical editor and ladder obje cts will be activated.
ADAM-5560 Series User Manual 48 18. Add a cont act network. 19. Double click “C000”..
49 ADAM-5560 Series User Manu al Chapter 3 Quick Start 20. Dialog box of “Contact/Coi l Property” will be shown. 21. Click “Global scope”. Select “In_ ADAM5051_ 0_0” and then click “Apply”.
ADAM-5560 Series User Manual 50 22. “Common” folder will be shown. Click “Cont act” folder . 23. Click “Global”. Select “ADAM5051_B00C000_I” an d then click “Apply”.
51 ADAM-5560 Series User Manu al Chapter 3 Quick Start 24. Click “OK”. 25. Double click “C001”..
ADAM-5560 Series User Manual 52 26. Click “Global”. Select “ADAM50 56_B01C000_O” and then click “Apply”. 27. Click “OK”..
53 ADAM-5560 Series User Manu al Chapter 3 Quick Start 28. Back to graphical editor . 29. Right click “Resource: ADV_CE” and then click “Settings”.
ADAM-5560 Series User Manual 54 30. T ype IP Address of ADAM-5560KW as “192.168.1 .5”. 31. Click “Make” to build the exe cution fi le. Check the project has been compiled successfully .
55 ADAM-5560 Series User Manu al Chapter 3 Quick Start 32. Click “Project Control Dialog” and then click “Download”. 33. Check “Include boot project” and then click “Download ”.
ADAM-5560 Series User Manual 56 34. Downloading execution file to ADAM-556 0KW . 35. Click “Cold” to execute a cold st art. During a cold sta rt all data are initialized.
57 ADAM-5560 Series User Manu al Chapter 3 Quick Start 36. Click “Debug On/Of f” to turn on the debug functio n. The ADAM-5560KW is run- ning correctly when you see the st atus bar turns green color . Y ou can see the DI0 and DO0 are turned blue co lor .
ADAM-5560 Series User Manual 58 38. Finish the test project and do n ot forget to save it properly ..
59 ADAM-5560 Series User Manu al Chapter 3 Quick Start 3.5 S pecial Module Support in KW ADAM-5050 is one of mix digi tal input /output module and ea ch channel can be inde- pendently configured to be an input or an output channel by the setting of it s DIP switch (Please refer the user manu al of ADAM-5000 IO Module to get more det ail).
ADAM-5560 Series User Manual 60.
Chapter 4 4 Modbus Functions.
ADAM-5560 Series User Manual 62 4.1 Introduction The Modbus functions of ADAM-5560KW Cont rolle r are powerfu l featu res which pro- vide high expansib ility and flexibility for user ’s applications. The supported mod bus functions include following items.
63 ADAM-5560 Series User Manu al Chapter 4 Modbus Functions 4.2.1 An example to demonstrate how to connect to ADAM-6050 for Modbus/TCP client function 1. [PAC Device] Run ADAM.NET utility by clicki ng “S tart” -> “Programs” -> “Advantech” -> AdamNET Utility .
ADAM-5560 Series User Manual 64 3. [PAC Device] Click “Search” button. 4. [PAC Device] Click “192.168.1.12” item and then “6050” item will show .
65 ADAM-5560 Series User Manu al Chapter 4 Modbus Functions 5. [PAC Device] Click “6050” item to see the channel setting. 6. [PAC Device] Enter “00000000” and then click “OK” b utton.
ADAM-5560 Series User Manual 66 7. [PAC Device] Check ADAM-6050 DI bit 0 is OFF . 8. [PAC Device] T urn on ADAM-6050 DI bit 0 and make sure the st atus is ON in the utility .
67 ADAM-5560 Series User Manu al Chapter 4 Modbus Functions 9. [PAC Device] ADAM-6050 setting is correct. Ex it from the ADAM.NET utility . 10. Open “T est.
ADAM-5560 Series User Manual 68 11 . Double-click “main” to show the program in graphical editor . 12. Double-click “Advant ech_DAQ” to show the “I/O Configuration” dialog box.
69 ADAM-5560 Series User Manu al Chapter 4 Modbus Functions 13. Click “MODBUSTCP” item and then click “Add” button. 14. Set Modbus Command: “1X”, Slave ID: 1, Slave IF: “192 .168.1.12”, Data T ype: “BOOL”, S tart Address: “1”, No.
ADAM-5560 Series User Manual 70 15. Click “Create All Input V ari ables” then click “OK” button. 16. Click “Cont act Network” button..
71 ADAM-5560 Series User Manu al Chapter 4 Modbus Functions 17. Double-click “C002”. 18. Click “Gloabal scope” folder ..
ADAM-5560 Series User Manual 72 19. Select “In_MBTCPDR V_0_1” and then click “Apply”. 20. Click “Contact” folder ..
73 ADAM-5560 Series User Manu al Chapter 4 Modbus Functions 21. Select “MBTR_1X0001_BOOL_00” and the n click “Apply”. 22. Check the setting is correct and then click “OK”.
ADAM-5560 Series User Manual 74 23. Double-clic k “C003”. 24. Select “ADAM5056_B01C001_0” and t hen click “Apply”..
75 ADAM-5560 Series User Manu al Chapter 4 Modbus Functions 25. Check the setting is correct and then click “OK”. 26. Click “Make” button to make the execution file.
ADAM-5560 Series User Manual 76 27. Check compile result is correct. 28. Click “Project Control Dia log” and then click “S top” and “Reset”.
77 ADAM-5560 Series User Manu al Chapter 4 Modbus Functions 29. Click “Download” button. Check the “Inclu de Bootproject” item and then click “Download” button to proceed with the download p rocess.
ADAM-5560 Series User Manual 78 31. Click “Cold” to run the project. 32. Check the sta tus of ADAM-6050 DI bit 0 and ADAM-50 56D DO bit 1 are OFF .
79 ADAM-5560 Series User Manu al Chapter 4 Modbus Functions 33. T urn on ADAM-6050 DI bit 0 and check th e st atus of ADAM-5056D DO bit 1 is turned ON correctly .
ADAM-5560 Series User Manual 80 4.3 Modbus/RTU Master Function The Modbus/R TU master function is supported by COM1/COM2/COM4 RS-485 Ports of ADAM-5560 Series Controller . There ar e typical 128 I/O modules can be connect ed to each COM port. So far , there are 12 modules of ADA M- 4000 Series s upport mod- bus protocol as following list.
81 ADAM-5560 Series User Manu al Chapter 4 Modbus Functions System Wiring: COM4 Jumper Settings: Note! After changing the ju mper settings, please reset th e ADAM-5560 Series Controller.
ADAM-5560 Series User Manual 82 RS-485 Port Pin Assignment: 1. [P AC Device] Run ADAM.NET utility by clicki ng “S tart” -> “Programs” -> “Advantech” -> Ad amNET Utility .
83 ADAM-5560 Series User Manu al Chapter 4 Modbus Functions 2. [P AC Device] Select “ADAM4000_5000” item. 3. [P AC Device] Select “COM4” and then click “Search” button.
ADAM-5560 Series User Manual 84 4. [P AC Device] Click “S tart” button and “4018P” will be shown. 5. [P AC Device] Click “4018P” to see the module setting.
85 ADAM-5560 Series User Manu al Chapter 4 Modbus Functions 6. [P AC Device] Click “Data area” to check the reading of Channel 0 is cor rect. This channel will be used by following demonstratio n. 7. [P AC Device] Select “COM4” and then click “Adam Commander” button.
ADAM-5560 Series User Manual 86 8. [P AC Device] Input “#010” and click “Send”. Check the response of the CH0 reading is correct. 9. [P AC Device] Set the ADAM-4018+ to initial mode by changing th e switch position to “Init” side and then resetting the module.
87 ADAM-5560 Series User Manu al Chapter 4 Modbus Functions 10. [P AC Device] Click “S tart” and “4018(*)” will be shown. “*” represent s the module is at initial mode. 11 . [P AC Device] Select “4018P(*)” and then change the Protocol setting to “Modbus”.
ADAM-5560 Series User Manual 88 12. [P AC Device] Click “OK” to change the set ting. 13. [P AC Device] Select “Data area” and check the CH0 reading.
89 ADAM-5560 Series User Manu al Chapter 4 Modbus Functions 14. [P AC Device] Check CH0 reading and then close the window . 15. [P AC Device] Set the ADAM-4018+ to normal mode by changing the switch position to “Normal” side and then resetting the mod ule.
ADAM-5560 Series User Manual 90 16. [P AC Device] Click “4018P(01)” to see the module setting. 17. [P AC Device] Select “Data area” folder and check CH0 reading.
91 ADAM-5560 Series User Manu al Chapter 4 Modbus Functions 18. [P AC Device] Select “COM4” and then click “Adam Commander”. 19. [P AC Device] Change to “MODBUS” folder .
ADAM-5560 Series User Manual 92 20. [P AC Device] Check the reading of CH0. The formula is (1215*1370) / 65 536 = 25.4 ºC. 21. Open the “T est.mwt” project and then double-click “main”.
93 ADAM-5560 Series User Manu al Chapter 4 Modbus Functions 22. Double-click “Advantech_DAQ”. 23. Select “MODBUSRTU” and then click “Add” button.
ADAM-5560 Series User Manual 94 24. Set COM: “COM4”, Modbus Command: “3 X”, Slave ID: 1, S tart Address: “1”, No. of points: 8, Data T ype: “INT”.
95 ADAM-5560 Series User Manu al Chapter 4 Modbus Functions 26. Click “Edit Wizard” to see the function blocks. 27. Find the “GT” Greater Than Function Block.
ADAM-5560 Series User Manual 96 28. Add one “GT” function block. 29. Add one coil by clicking “Ad d Coil Right” button..
97 ADAM-5560 Series User Manu al Chapter 4 Modbus Functions 30. Connect “C004” coil to “GT” output. 31. Double-click the first input of “GT” function block.
ADAM-5560 Series User Manual 98 32. Select “Global scope” folder . 33. Select “In_MBR TUDR V_769_772” and then click “Apply”..
99 ADAM-5560 Series User Manu al Chapter 4 Modbus Functions 34. Select “MBR_3X0001_INT_769_I” to read CH0 of ADAM-4018+ module and then click “Apply”.
ADAM-5560 Series User Man ual 100 36. T ype “1 196” and then Click “Apply” and “OK”. 37. Check the setting “1 196” is correct. (1 196*1370)/65536 = 25ºC.
101 ADAM-5560 Series User Manu al Chapter 4 Modbus Functions 38. Double-click “C004”. 39. Select “ADAM5056_B01C002_O” to connec t the “GT” function block output to ADAM-5056D DO bit 2.
ADAM-5560 Series User Man ual 102 40. Click “Make” button t o make the execution file. 41. Check compile result is correct..
103 ADAM-5560 Series User Manu al Chapter 4 Modbus Functions 42. Click “Project Control Dialog” button and then click “S top” and “Reset”. 43. Click “Download” button. Check the “Include bootproject” item and then click “Download” to proceed with download process.
ADAM-5560 Series User Man ual 104 44. Project is downloading. 45. Click “Cold” button to run the project..
105 ADAM-5560 Series User Manu al Chapter 4 Modbus Functions 46. Click “Debug on/of f” button. 47. Check the reading of ADAM-4018+ CH0 is “1088” which is less than “1 196”.
ADAM-5560 Series User Man ual 106 48. Heating the thermocouple of ADAM-4018+ CH0. When the readi ng is gr eat er than “1 196”, the ADAM-5056D DO CH2 will turn ON.
107 ADAM-5560 Series User Manu al Chapter 4 Modbus Functions 4.4 Modbus/TCP Server Functions ADAM-5560 Series Controller support s M odbus/TCP server function for connecting to HMI/SCADA software. The Modbus/TCP ser ver function is supported by using Ethernet port of ADAM-5560 Series Controller .
ADAM-5560 Series User Man ual 108 4.4.2 Example 1. Open the “T est.mwt” and add one “Move” f unction block. 2. “Move” function block will be shown on gra phical editor .
109 ADAM-5560 Series User Manu al Chapter 4 Modbus Functions 3. Double-click the input of “Move” function b lock. Select “MBTR_1X0001_BOOL_00” (ADAM-6050 DI bit 0) and then click “Apply” and “OK”. 4. Double-click output of “M ove” function block.
ADAM-5560 Series User Man ual 110 5. T ype “MB0X0001” and click “Apply” button. 6. Select “BOOL” for Dat a T ype. T ype “%mw3.0.0” for “I/O address” and th en click “Apply” and “OK”.
111 ADAM-5560 Series User Manu al Chapter 4 Modbus Functions 7. Click “Make” button to make the execution file. 8. Check compile resul t is correct.
ADAM-5560 Series User Man ual 112 9. Click “Project Control Dialog” button and then click “S top”. 10. C l i c k “Reset” button..
113 ADAM-5560 Series User Manu al Chapter 4 Modbus Functions 11 . Click “Download ” button. Check the “Include bootproject” item and then click “Download” to proceed with download process.
ADAM-5560 Series User Man ual 114 13. Click “Cold” to run the project. Click “Debug on/of f” button to see the result. 14. Run Modbus/TCP Client u tility Modscan and check the value of I/O address mw3.0.0 and Modscan I/O address 00001 are the same.
115 ADAM-5560 Series User Manu al Chapter 4 Modbus Functions 15. Change the status o f ADAM-6050 DI bit 0 to “1”. Check the values of I/O address mw3.0.0 and Modscan I/O address 00 001 are all changed to “1”. 16. Add one more “Move” fu nction block for analog measurement.
ADAM-5560 Series User Man ual 116 17. Double-click the input of the 2 nd “Move” function block. Select “MBR_3X0001_INT_769_I” (ADAM-4018+ CH0) and then click “App ly” and “OK”.
117 ADAM-5560 Series User Manu al Chapter 4 Modbus Functions 19. T ype “MB4X0001” and then click “Apply”. 20. Select “INT” for Data T ype. T ype “%mw3.
ADAM-5560 Series User Man ual 118 21. Click “Make” button to make the execution file and check the compile result is correct. 22. Click “Project Control Dialog” b utton.
119 ADAM-5560 Series User Manu al Chapter 4 Modbus Functions 23. Click “S top” and “Reset” button. 24. Click “Download” button. Check the “Include bootproject” item and then click “Download” to proceed with download process.
ADAM-5560 Series User Man ual 120 25. Project is downloading. 26. Click “Cold” to run the project . Click “Debug on/of f” button to see the result.
121 ADAM-5560 Series User Manu al Chapter 4 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.
ADAM-5560 Series User Man ual 122.
Chapter 5 5 Network Functions.
ADAM-5560 Series User Man ual 124 5.1 W e b Server Functions ADAM-5560 Series Controller features bui lt-in web server function of Windows CE 5.0. Before you using the web server function, please do follow the step s in section 7.1.1 to configure the basic settings properly .
125 ADAM-5560 Series User Manu al Chapter 5 Network Functions 2. The NAS Admin page will be shown. T ype in the password, for examp le, “admin” and then click “Apply”.
ADAM-5560 Series User Man ual 126 4. Internet Explorer will connect to server automatically an d ask to type the user name and password a gain. 5. Change the Device Name like “A DAM-5510-1” and then click “Apply”.
127 ADAM-5560 Series User Manu al Chapter 5 Network Functions 6. Click “Add/Del Users” to change the password of user name “ad min”, if necessary . 7. T ype “admin” in “User” field. In foll owing example, please type “admin” in “Password” field and then click “Apply New”.
ADAM-5560 Series User Man ual 128 8. The message “Add/Modify User Success” will be shown. 9. Run “Configuration Utility”..
129 ADAM-5560 Series User Manu al Chapter 5 Network Functions 10. Click “Misc” folder . 11 . Change to “Misc” folder and “Web Server Root” will be modified. 12. User can put the developed web page in the specific fo lder in ADAM-5560 and link the webpage by change the W eb Server Root.
ADAM-5560 Series User Man ual 130 13. Click “OK” to reboot the ADAM-5 560..
131 ADAM-5560 Series User Manu al Chapter 5 Network Functions 5.2 FTP Server Function ADAM-5560 Series Controller features built-in FTP Server function of Windows CE 5.0. Before you using the FTP Server fun ction, please do follow the step s as below to configure the basic settings properly .
ADAM-5560 Series User Man ual 132 2. Click “Device Management”. 3. Click “Configure FTP Server”..
133 ADAM-5560 Series User Manu al Chapter 5 Network Functions 4. Enter the “FTP Server Configuration” page. 5. Check “FTP Server Enabled”, un-check “Allow Ano nymous Users”, change “Default Directory” as “HardDiskFTP”. Click “Submit” button.
ADAM-5560 Series User Man ual 134 6. Click “Reboot” button. 7. After the ADAM-5560 was rebooted, following p age will be shown again..
135 ADAM-5560 Series User Manu al Chapter 5 Network Functions 8. Scroll down the p age. Check the “Home Directory” for all users and th en click “Submit” button.
ADAM-5560 Series User Man ual 136 10. After re setting, following p age will be sh own again. The basic settings for FTP Server have been configured. 11 . Right-click the mouse and then add a new directory “New Folder” under “HardDisk” directory of ADAM-5560 Series Cont roller .
137 ADAM-5560 Series User Manu al Chapter 5 Network Functions 12. Enter the name for the new folder as “FTP”. 13. Enter “HardDiskFTP” directory .
ADAM-5560 Series User Man ual 138 14. Add “T est FTP” directory . 15. T ype “ftp ://192.168.1.5” to login the FTP Server . Y ou will see the warning message because anonymous login is n ot allowed now .
139 ADAM-5560 Series User Manu al Chapter 5 Network Functions 16. Click “Login As” item to enter t he user name and passwo rd. 17. Login the FTP Server by usern ame: user1 and p assword: “user1”.
ADAM-5560 Series User Man ual 140 18. The “T est FTP” directory can be accessed now . 19. T ry to upload files onto FTP Server ..
141 ADAM-5560 Series User Manu al Chapter 5 Network Functions 20. Upload the directory of “OPC” onto FTP Server . 21. Uploading process is proceedin g.
ADAM-5560 Series User Man ual 142 22. The uploaded “OPC” director y will be shown. 23. Check the files under “OPC” directory in FTP client..
143 ADAM-5560 Series User Manu al Chapter 5 Network Functions 24. Check the files under “OPC” directory o n the ADAM-5560. 5.3 Email Alarm Function There is an example for demonstrating how to sen d an email from ADAM-5560 Series Controller . Please refer to following info.
ADAM-5560 Series User Man ual 144 2. The function block is included by “AdvT oolPack” library . Double-click “main” to see the function block. 3. T ype the correct settings in the “Init” fields as below and try to run this e xample directly .
145 ADAM-5560 Series User Manu al Chapter 5 Network Functions 5.4 SQL Server Function There is an example for demonstrating how to use the built-in SQL Server function on ADAM-5560 Series Controller . Pl ease refer to following info. 1. Open “AdvSQLDemo.
ADAM-5560 Series User Man ual 146 SQL Function Block Reference: AdvSQL_Init Function: Initialize SQL mobile dat abase. 1. Enable: (BOOL), Enable AdvSQL function blocks. 2. DataBaseName: (STRING) , SQL mobile database na me. 3. T ableName: (STRING), SQL mobile dat abase table name.
147 ADAM-5560 Series User Manu al Chapter 5 Network Functions AdvSQL_SelectLastDa t a Function: Read the last reco rd from SQL mobile database . 1. Enable: (BOOL), Enable AdvSQL function blocks. 2. DataBaseName: (STRING), SQL mobile dat abase name. Rreserved fo r handling more than one SQL mo bile database in the fu ture.
ADAM-5560 Series User Man ual 148.
Chapter 6 6 Miscellaneous Functions.
ADAM-5560 Series User Man ual 150 6.1 Advantech Utilities There are four Advantech utilities which a re pre-inst alled on ADAM-5560 Series Con- troller .
151 ADAM-5560 Series User Manu al Chapter 6 Miscellaneous Functions 6.2 Change Language Interface of CE 1. Enter “Control Panel”. 2. Run “Regional Settings”.
ADAM-5560 Series User Man ual 152 3. Click “User Interface Language” folder and select “Chinese (T aiwan)” item. 4. Click “OK” to finish the change .
153 ADAM-5560 Series User Manu al Chapter 6 Miscellaneous Functions 5. Click “OK” to reboot the ADAM-5560. 6. The Language Interface has been changed correctly .
ADAM-5560 Series User Man ual 154 6.3 Example of Configuring T ouch Screen 1. Run the “T ouch Screen Config” utility . 2. Select COM port as COM3, for example.
155 ADAM-5560 Series User Manu al Chapter 6 Miscellaneous Functions 3. Click “OK” and reboot the ADAM-5560 syste m. 4. Enter “Control Panel”..
ADAM-5560 Series User Man ual 156 5. Run “S tylus” to set the properties. 6. Click “Recalibrate” but ton..
157 ADAM-5560 Series User Manu al Chapter 6 Miscellaneous Functions 7. Follow the instructions and use finger to press the t arget on the screen. 8. Follow the instructions and use finger to press the t arget on the screen.
ADAM-5560 Series User Man ual 158 9. Follow the instructions and use finger to p ress the target on the screen. 10. Follow the instructions and use fing er to press the targe t on the screen.
159 ADAM-5560 Series User Manu al Chapter 6 Miscellaneous Functions 11 . Follow the instructions and use finger to press the target on the scree n. 12.
ADAM-5560 Series User Man ual 160 13. Click “OK” to finish the recalibration. 6.4 Save and Upload Project Source 1. Open a project and click “Program Con trol Dialog”.
161 ADAM-5560 Series User Manu al Chapter 6 Miscellaneous Functions 2. Click “Download” button. Check the “Inclu de Sources” item and then click “Download”. 3. The “Upload” button will be activated w hen project source code has been downloaded correctly .
ADAM-5560 Series User Man ual 162 4. Click “Upload” button and then click “Project Source” to te st uploading source function. 5. Click “OK” to proceed with uploading the project source.
163 ADAM-5560 Series User Manu al Chapter 6 Miscellaneous Functions 6. Uploading project source has been finished. 6.5 Changing the Language Interface 1.
ADAM-5560 Series User Man ual 164 2. Select “T rad. Chinese” item. 3. Click “Apply” and “OK” buttons..
165 ADAM-5560 Series User Manu al Chapter 6 Miscellaneous Functions 4. Close Multiprog and then reloa d it. The Language Interface will change to T raditional Chinese correctly .
ADAM-5560 Series User Man ual 166.
Chapter A A RS-485 Networks.
ADAM-5560 Series User Man ual 168 A.1 RS-485 Networks EIA RS-485 is the industry’ s most widel y used bidirectional, balance d transmission line standard. It is specifically developed for industrial multi-drop systems that should be able to transmit and receive data at high rates o r over long distan ces.
169 ADAM-5560 Series User Manu al Chapter A RS-485 Networks Figure A.1 Daisychaining St ar Layout In this scheme the repeaters are connected to drop-down cab les from th e main wire s of the first segment.
ADAM-5560 Series User Man ual 170 Random This is a combination of daisyc hain and hierarchical structure. Figure A.3 Random structure A.3 Line T ermination Each discontinuity in impedance causes reflections and distortion. Whe n a imped- ance discontinuity occurs in the transm ission line the immediate ef fect is signal reflection.
171 ADAM-5560 Series User Manu al Chapter A RS-485 Networks Example: Each input of t he receivers has a nomin al input impedance of 18 k feeding into a diode transistor- resistor biasing network that is equ ivalent to an 18 k input resistor tied to a common mode voltage of 2.
ADAM-5560 Series User Man ual 172 A.4 RS-485 Dat a Flow Control The RS-485 standard uses a single p air of wires to send and receive data. This line sharing requires some method to control the direction of the dat a flow . RTS (Request T o Send) and CTS (Clear T o Send) are the most commonly used methods.
Chapter B B Grounding Reference.
ADAM-5560 Series User Man ual 174 B.1 Field Grounding and Shielding Applications Unfortunately , it’s impossible to finish a system integration t ask at one time. W e always meet some trouble in the field. A communicat ion network or system isn’t sta- ble, induced noise or equipment is damag ed or there are storms.
175 ADAM-5560 Series User Manu al Chapter B G rounding Reference B.2.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 circu it inside the computer .
ADAM-5560 Series User Man ual 176 B.2.3 Normal Mode and Common Mode Have you ever tried to measure the volt age between a live circuit and a concrete floor? How about the voltage between neutral and a concrete floor? Y ou will get non- sense values.
177 ADAM-5560 Series User Manu al Chapter B G rounding Reference What’s th e purpose of high volt age transmissions? W e have all seen high volta ge transmission towers. The power plant raises the volt age while generating the power , then a local power st ation steps down the voltage .
ADAM-5560 Series User Man ual 178 Figure B.8 Single Point Grounding (2) The above diagram shows you that a sing le 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 .
179 ADAM-5560 Series User Manu al Chapter B G rounding Reference Figure B.10 Double Isolated Cable Double isolated cable Figure 10 is an example of a doub le isolated cable.
ADAM-5560 Series User Man ual 180 B.3.2 System Shielding Figure B.1 1 System Shielding Never stripping too much of the plast ic cable cover . This is improper and can destroy the characteristics of the Sh iel ded-T wisted-Pair cable. Besides, the bare wire shield easily conduct s the noise.
181 ADAM-5560 Series User Manu al Chapter B G rounding 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 circuit s, a signal will use the p ath of least resis- tance.
ADAM-5560 Series User Man ual 182 B.4 Noise Reduction T echniques Isolate noise sources in shielded enclosures. Place sensitive equipment in shiel ded enclosure and away from computer equipment. Use separate gro unds between noise sources and signals.
Chapter C C Reference Documents.
ADAM-5560 Series User Man ual 184 Following resources are help ful for underst anding how to use Multiprog Softwa re and IEC-61 131-3 programming languages.
185 ADAM-5560 Series User Manu al Chapter C Reference Documents.
www .advantech.com Please verify specifications be fore quoting. This guide is intended for reference purposes only . All product specifications are subj ect to change without notice.
An important point after buying a device Advantech ADAM-5560 (or even before the purchase) is to read its user manual. We should do this for several simple reasons:
If you have not bought Advantech ADAM-5560 yet, this is a good time to familiarize yourself with the basic data on the product. First of all view first pages of the manual, you can find above. You should find there the most important technical data Advantech ADAM-5560 - thus you can check whether the hardware meets your expectations. When delving into next pages of the user manual, Advantech ADAM-5560 you will learn all the available features of the product, as well as information on its operation. The information that you get Advantech ADAM-5560 will certainly help you make a decision on the purchase.
If you already are a holder of Advantech ADAM-5560, but have not read the manual yet, you should do it for the reasons described above. You will learn then if you properly used the available features, and whether you have not made any mistakes, which can shorten the lifetime Advantech ADAM-5560.
However, one of the most important roles played by the user manual is to help in solving problems with Advantech ADAM-5560. Almost always you will find there Troubleshooting, which are the most frequently occurring failures and malfunctions of the device Advantech ADAM-5560 along with tips on how to solve them. Even if you fail to solve the problem, the manual will show you a further procedure – contact to the customer service center or the nearest service center