Home

Modbus Utility Manual

image

Contents

1. m8 tra exe i Modbus Lib 7 2 Jan 03 2012 25 Kids Labwersion M Scan Lib 1 5 4 Aug 12 2013 3 MiniOS 7 v24 11 Mar 232009 69 I O Scan Lib version vxComm Lib v32 32 Map 272013 The model module code TCPIP Lih R203 Ma 27 2013 a IP 8000 MTCP L r IP 8000 MRTU Copyright ic 2002 2006 ICF DAS CO LTO e 8000 MTCP t EI 8 PN Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 33 2 8 Range Code and Offset Settings To change the range code and offset settings click the module that is to be configured to open the Settings panel l 8 7028U The image here shows the I 87028U module as an example 2 8 1 Range Code Range code is used to set the maximum and minimum input output range for the module and only signals within this range can be legally transmitted Configure the Range Code setting in the Settings panel and then click the Set All button to apply the new settings Range Code s Offset Dec Fower on Dec Safe Dec ff 4 0 To 20 0 m gt lt 00 H Cni 50 0 To 20 0 m ir i 4 T m 20 0 m 00 To 10 0 V 10 0 To 10 0 VV 40 0 To 5 0 V 5 0 To 5 0 V a6 4 0 To 20 0 mA Alo E hed 0 To 20 0 ma 9 The range code types and definitions for modules are shown in Appendix D Range Codes for Analog Modules THHE THE
2. 2012 05 17 11 31 42 MODBUS DLL loaded Ker 2012 05 17 11 31 42 Opcc dll loaded Kernel 2012 05 17 11 31 45 ivi dly loaded Kernel lv A o RS 00000504 Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 2 2 Adding an Analog Output Channel Step 1 In the Modules folder expand the Inputs Outputs folder and then expand the ModBus folder Drag a Modbus Analog Output module to the worksheet DASTLabl2 HNet unknown Worksheet File Edit Modules Measurement View Tools Options Window Help rie jG om t3 ETK OB C1 i 2e i Modules Black Box Navigator E Modules S E InputstOutputs E GE Driver EE DDE ofl aE R2232 odbus H E ICom e IEEE 488 S S ModBus E gil cs Di etait EL Analog Output m Digital Input id m Digital Output ee OPC DA Chent eB Ivi H E Trigger Functions Step 2 Right click the module icon and click the Module Properties option Delete Module Delete Input Connections Delete Output Connections Replace Module ut Copy Delete search for Module Module Default Settmes Module Documentation Module Properties Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 99 Step 3 Configure the module properties in the Modbus Analog Output dialog box A In the Interfaces section set th
3. e a k Menon cono Al ERE D C Modbus RTU Slave This option is used to set the device to operate as a Modbus RTU Slave D Modbus ASCII Slave This option is used to set the device to operate as a Modbus ASCII Slave E Programming This option is used for programming only and will not automatically detect Modbus request F Debug This option is used to display debug messages relating to Modbus requests or communication messages etc while communicating with a Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Modbus master or Modbus clients G Console This option is used to perform configuration for file uploads or updating the firmware for the device Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 46 2 13 Watchdog Timer WDT Settings Every controller has the Watchdog that will be activated when crashed or hanged happened to the controller The Watchdog Timer is to count down when the controller lost the Modbus communication for a specified period When the Watchdog Timer counts to zero the Watchdog will be activated and all analog digital output modules will be set to their preset Safe values and the L3 LED on the panel will flash to indicate that an error has occurred Click the Watchdog icon to open the setting panel By Power on CPU Reset Events 387 Clear Watchdog Timer sec I 2 Set WOT Event Cou
4. 1 Net ID decimal 20 hexadecimal 14 2 Coils 18 30 are addressed as 17 29 decimal with a total of 13 coils 3 If the number of coils returned isn t a multiple of 8 the remaining bits in the last byte will be filled with 0 4 5C 0101 1100 refers to coils 18 to 25 from right to left The status values are OFF 25 ON 24 OFF 23 ON 22 ON 21 ON 20 OFF 19 OFF 18 5 1B 0001 1011 refers to coils 26 to 30 from right to left The status values are ON 30 ON 29 OFF 28 ON 27 ON 26 Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 Read DI 1xxxx Function Code 02 Read Input Status Fett KG 02 Starting Adiress Bit Count 120008 the input status 1 8C0 Command 120008 Be o 1 2 3 J ByteCount 2 NetID FC 02 Byte Count BisVale Bay 1 0 MM 1 Inputs 1 8 are addressed as 0 7 decimal there are a total of 8 inputs 2 FF 1111 1111 refers to coils 8 to 1 from right to left and the status of each coil is set ON Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 137 3 Read AO 4xxxx Function Code 03 Read Holding Registers Read registers Command 19301A02 40027 40028C0 __ Net ID FC 03 Byte Count RegisterValues Response 19 3 4 2 17 0 C0 Register 0 4002702 4002800 3 Byte Count 2 1 Hold
5. Workgroup Ver 4 5 7 Picture Reset Position FontColor lt lt gt gt Gauge Trend moe ma qma 8 01 30002 87017 30003 87017 30004 Step 4 Click the Start button on the main toolbar to begin connecting to the controller and acquiring the values If the connection has been correctly established the device state indicators will be switched to ON and the connected messages will be printed in the yellow text filed Simulation System Config Group Setup Open Database Device State ror or Eng 01 21 14 41 58 Message n Begin Time 20141 21 PM 02 41 58 101 21 14 41 58 Active Driver 192 168 2 199 P502 j01 21 14 42 00 192 168 2 199 open connection 01 21 14 42 01 87017 30001 Low Alarm Value 0 000 lt 0 01 21 14 42 01 Scaning I O takes 20 ms Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 126 Step 5 To acquire the I O values the Gauge button the Trend button or the Layout button can be clicked The Layout button is clicked in the following figures TheWorkgroup1 Ver 4 5 7 dialog box will be displayed and the values from the relevant modules also be displayed in the dialog box Workgroup1 e po I1 Workgroup Ver 4 5 MEM X Picture ResetPosition FontColor lt lt gt gt Gauge Trend Hide 87017 30002 87017 30003 87017 30004 87017 30005 87017 30006 87017 30007 87017 30008 10 10 9 8
6. 00 To 20 0 m o 4 ow om 0 0 To 20 0 m o oon ooo oo HEJ GENEE 0 0 To 20 0 m o Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com After the Watchdog has been reset the modules the DO value will be set to the Safe value DI Mapping DO Mapping Al Mapping AO Mapping Summay Analog Output 4xxxx Value Comment Address s Medie Sit Chanel 00 00 o 0260 1 0 0 000 30 0 0 To 20 0 m O1 01 B 0280 1 1 0 000 20 0 0 To 20 0 m 02 02 l ar 0280 2 0 000 20 0 0 To 20 0 mA 03 03 l ar 020C 1 3 0 000 20 0 0 To 20 0 m L4 04 67026C 1 4 0 000 20 0 0 To 20 0 mA 05 05 l ar 0280 5 US 30 0 0 To 20 0 m 06 OB S 028C 1 b 0 000 S60 0 0 To 20 0 m T m7 n a lord mo in 1 mmmnm nm I Us Ue l ar 025C TANTI D 0 0 To 20 0 m ee DI Mapping i DO Mapping Al Mapping After the Watchdog reset the value for channel 7 displays the Safe value 30 4 04 S 02 8C 1 4 D ooo 30 5 05 8F029C 1 F 30 0 0 To 20 0 m DE 06 87029C 1 B 0 000 B 0 0 To 20 0 m r oF l ar 028C 1 T F O00 10 0 0 To 20 0 m 4 WW UC t Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 11 87K Digital Input Counter For 87K series modules the DI chan
7. Date modified 4 10 2014 5 34 PM 1 21 2014 10 45 AM 12 24 2013 4 28 PM 4 10 2014 5 42 PM 12 24 2013 4 06 PM 4 10 2014 2 36 PM 4 10 2014 5 57 PM 4 10 2014 7 18 PM 1 20 2014 5 42 PM 4 10 2014 5 42 PM 12 24 2013 1 15 PM ANAMNIA CAOT MRA Copyright 2013 ICP DAS Co Ltd All Rights Reserved Type File folder File folder File folder File folder File folder File folder Configuration sett Configuration sett Configuration sett Configuration sett Configuration sett a ee ee TT E mail service icpdas com Step 3 Click the Group Setup button on the main toolbar to open the Workgroup Setting dialog box and begin to add the controller and the I O channels to the workgroup list eo e A a System Config roup Setup J Onen Database Exit About Simulation 9 Workgroup Setting Group VirtualChannel kgroup2 rkgroup3 Delete MailNotifier VirtualChannel Channel List ma nest Add eer Channel Lis Al List AO List DI List DO List Counter List Freq List Virtual Channel Control Lagic Contact List Web Camera Webcam Browsers ES m Em Frea Channels Nickname Tag Location Gain Ofisel Hight Alarm Low Alarm Description igh Ala Med Channels Add EDEN Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 4 Click the Install but
8. Description Slave ID 1 Tap Address Format Base Address C Hex amp Protocol Address Base 0 Address Range Definition C PLC Address Base 1 Oxxxx Coils DO Ta 1xxxx Discrete Input DI Ta 3 xxxx Input Registers Al Ta Integer Axxxx Holding Registers AQ 7 Ta Integer Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 7 In the Select Driver drop down menu select the MTCP driver that was added earlier and select Enter numbers by yourself from the Module drop down menu Enter the name of the AI module 87017W in this example in the Nickname text field of Nickname and set the Slave ID to 1 Check the AI checkbox and enter the channel numbers 0 to 7 then select Integer as the type Click the Add button to add the new module configuration to the Device List section and Channel List section Device Modbus TCP elect Driver MTCP 192 168 2 199 P502 Nickname Module Enter numbers by yourself JDescription lave ID wa Address Format Base Address Dec Protocol Address Base 0 C Hex C PLC Address Base 1 Address Range Definition Oxxxx Coils DO Ez To NEN To 4xxxx Holding Registers AO 1xxxx Discrete Input DI 3xxxx Input Registers Al Km cee ee Once the new device has been con
9. Port Settings cow Set Set il B ions per COM Part bi 10 S Step 2 Select the port to be configured from the drop down menu and then select the enable mode Modbus timeout and the other setting There are seven modes can be selected for the COM port When all the settings are done click the Set button to apply for new settings COM Port Settings 159 comze oOo OMi LOM E ms Baud Rate 115200 Data Bits e Parity None Stop Bits Enable Mode todbus Modbus Timeout Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com The new settings will be displayed in the System Settings panel immediately Seven modes can be selected for the COM port each of which are described below System Settings Set Met ID Modbus TCP ions per CONI Fort me 1 2 12 1 COM Port Enable Modes A VxComm This option creates virtual COM ports and maps them to the Ethernet ports on the serial modules B Modbus RTU Gateway This option allows the COM port to connect to up to 255 RTU slaves stations Enter the number of devices connected to the RTU gateway in the Stations per COM Port text field and then click the Set button The Modbus Utility will automatically assign the Slave ID if more than one port is set to the RTU gateway mode System Settings
10. Step 1 Reboot the controller in INIT mode For I 8000 modules short the INIT and INIT COM pins For IP 8000 and ET 87PN modules move the DIP switch to the Init position For 7188E devices short the INIT and GND pins Step 2 Execute the Modbus Utility and select the Modbus TCP mode Select Controller Flease Select Controller Step 3 Select the Update Firmware option from the Client Tools menu to connect to the controller File Window Client Tools Settings Help Modbus TCP Client Lar Modbus RTU Client Load q UDP Search Co ntrolle Update Firmware Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Select the required COM port from the drop down menu and click the Connect button After connecting the firmware file for the controller will be listed in the Update Firmware tab as shown in the diagram below Note The default COM port settings are 115200 N 8 1 Sh Up i Connect and Config Step by Step 7188E i B000 iP 8000 step 1 Power off the 18s8E l s000 IP 8000 device Step 2 For 7188E devices connect the INIT and GND pins For 8000 modules short the INIT and INIT COM pins For IP 8000 modules move the switch to the Init position tep 3 Power on the controller The digital LED display will start counting Disconnect up 4 Connect the PC to COMI on the 158E I 8000 I P 8000 device using an RS 232 c
11. 0000 Hexadecimal Units Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2B 26 ZB 2E 1000 a 0 00385 200 C to 600 C Cu 100 a 0 00421 20 C to 150 C Cu 100 a 0 00421 0 C to 200 C Cu 1000 a 00042 Decimal Unis 20 C to _o 003g5 Decimal Units _ 200 C to 200 C 2 s Complement 7FFF D556 Hexadecimal Units 2 s Complement 7FFF EEEF Hexadecimal Units 2 s Complement 7FFF 0000 SN EM Units 2 s Complement 7FFF EEEF Units 2 s Complement 7FFF 8000 Units Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 s Complement 7FFF 8000 EM Units 2 s Com E 200 C to pETUU TERE D556 zm m Units Decimal Units 432767 10922 30922 0 003916 600 C exadecimal Units 1 Type code 2B 2C and 2D are only available with I 87015 2 Type code 2E 2F 80 and 81 are only available with the I 87015 firmware version A1 10 and later I 87013 firmware version B1 3 and later Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 4 Thermistor Type Definitions Precon PM Decimal Units 32767 4096 to 2 s Complement degree 7FFF F000 Hexadecimal Units UP am 5394 1736000 to 2 s Dosen is RUN degree 7FFF D556 E DETT Ce
12. f 2 s Complement 7FFF 0000 Hexadecimal Units 2 s Decal ns 2767 l l 7FFF E000 Hexadecimal Units M Type Decimal Units 416384 32768 32768 2 s Complement 4000 8000 Hexadecimal Units L Type 2 s Emu re 7FFF E38F Hexadecimal Units Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 3 RTD Resistance Temperature Detector Type Definitions N 2 m N ws N N UJ N Platinum 100 a 0 00385 100 C to 100 C Platinum 100 a 0 00385 0 C to 100 C Platinum 100 a 0 00385 0 C to 200 C Platinum 100 a 0 00385 0 C to 600 C Platinum 100 a 0 003916 100 C to 100 C 2 s Decne 7FFF 8000 Hexadecimal Units 2 s Complement 7FFF 0000 Hexadecimal Units 2 s Complement 7FFF 0000 EN M Units 2 s EE 7FFF 0000 EE EM Units 2 s BE 7FFF 8000 Hexadecimal Units Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Platinum 100 a 0 003916 0 C to 100 C Platinum 100 a 0 003916 0 C to 200 C Platinum 100 a 27 0 003916 0 C to 600 C T Nickel 140 Decimal Units 80 C to 100 C Nickel 120 0 C to 100 C mMICIC ee 2 s Complement 7FFF 0000 EE um Units 2 s BE 7FFF 0000 E Units 2 s BAM 7FFF 0000 Units 2 s EE 7FFF 999A Hexadecimal Units 2 s Complement 7FFF
13. 20 0 m 01 01 l 87028C 1 R000 9730 40 0 To 20 0 m 02 02 l 87028C 1 OUD 30 0 0 To 20 0 m amp 03 03 l 87028C 1 0 000 30 0 0 To 20 0 m 04 04 l 87028C 1 0 000 30 0 0 To 20 0 m D5 05 B7028C 1 0 000 30 0 0 Ta 20 0 m DB 06 l 87028C 1 0 000 30 0 0 Ta 20 0 m OF 07 l 87028C 1 0 000 30 0 0 To 20 0 m 4 H Analog Output A4xxxx p m Address Module Slt Channel Value Wommert 700 UL l ar l0 28L 1 0 2 000 J 0 0 0 To 20 0 m 01 01 87028L 1 D 00L S730 0 0 To 20 0 m 02 02 87028L 2 WOU 20 D 0 To 20 0 m 03 03 B7028C OT To DL ra 04 04 B7028E Is mE After rebooting the controller the value for S7 28C tabs Suid channel 0 displays the Power on value 2 10 2 Analog Output Safe Value If Modbus communication with the controller is lost for longer than the defined timer period the Watchdog will be triggered and all modules will be set to a preset Safe Value In the Range Code dialog box enter a Safe value in the text box es for the relevant channel s then click the Set All button to apply the new Safe value s Range Code Ch Ch Input Output Range Offset Dec Power on Value sate Value a0Tes200m amp f o ooo oon 0 0 To 20 0 m j 0 i 0 000 0000 H nToc00m ff o ooo ooo 40 0 To 20 0 m o 0 000 0 000 E F 1 LE F EEE 1 F LE
14. Coil 8 7 65 4 3 2 1 1211109 Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 142 8 Write AO 4xxxx Function Code 16 Write Multiple Registers Bye 0 1 2 3 4 5 6 7 ByeCounti __ Net ID FC 16 Write Address Word Count Byte Count Register Values _ Hex 1 10 0 o of2 4 0 19 0 64 Example Net ID 1 write Command 110000240190 64 register 40001 40002C Bye 0 1 2 3 4 5 NetID FC 16 Write Address WordCount Rspme 1 10 0 0 0 2 1 Register 40001 40002 are addressed as 0 1 in Modbus The register values are 40001 25 hexadecimal 19 40002 100 hexadecimal 64 Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 143 Appendix C Supported Modules For details of which I O modules are supported by the different controllers go to http ftp icpdas com pub cd 8000cd napdos modbus 8000e document mbt8 s upport modules htm Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 744 Appendix D Range Codes for Analog Modules The Modbus Utility can be used to convert the input or output value to float format or other formats The operation can see Step 3 of 2 14Monitoring The formula shown below provides details of the conversion process Y Max Max Input Output Range Data X FValue Y Offset X X Min
15. ControlMaestro DASYLab EZ Data Logger GENESIS 32 64 iFIX InduSoft Web Studio LabView Trace Mode Vijeo Citect Wonderware Intouch etc 1 2 4 What are the benefits of using Modbus and Modbus TCP Open source no license fees Widely supported by SCADA and HMI software Easy to use Easily integrated with a variety of devices Low development cost mmondw gt Wide knowledge base 1 2 5 Modbus Resources A http www modbus org A community for Modbus users B http www modbustools com modbus activex asp An ActiveX control to communicate with a Modbus slave device via Modbus RTU ASCII or Modbus TCP Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com LE 1 3 Default Firmware Features When purchased the IP 8000 MTCP I 8000 MTCP controller already has the default Modbus firmware in Flash memory and includes the following features 1 3 1 Support for the Modbus TCP communication protocol that allows access to I O devices that are inserted in the I O slots The default firmware allows user to connect to the controller by Ethernet and send Modbus commands in Modbus TCP protocol form 1 3 2 Support for the VxComm technique for all COM ports on connected controllers Even if a serial device doesn t support the Modbus RTU protocol it can still be accessed via Ethernet However the VxComm driver will first need to be installed on the host PC and COM ports assigned in order to
16. D 0 D 0 0 Q 0 0 0 135r 93 18 0 0 0 0 g A e 1d D p 0 0 0 D 0 D Fo ie i oe Ys 19 0 0 0 0 0 0 0 0 0 0 0 0 D 0 0 13959293 20 0 D 0 0 D 0 0 y 0 0 0 0 0 D Ist rs 2 0 0 0 0 D 0 0 0 0 0 Dj 0 0 0 0 I13531 35 du 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 13554955 23 0 0 0 0 13 0 D 05 D 0 D 0 0 0 0 EESTE 24 i 0 D 0 0 0 0 0 0 0 0 0 0 an 0 13551558 aS 0 0 D 0 D 0 0 0 0 0 0 0 D 0 0 13 94 9305 2D 0 0 0 0 0 0 0 0 D 0 0 D 0 0 D i358 00 27 0 0 0 0 ih 0 0 0 0 0 0 0 D 0 0 13 58 01 28 0 0 0 1m 0 0 0 0 0 0 0 0 0 0 0 13 58 02 29 Dr 0 0 0 0 0 0 0 0 0 0 0 0 0 0 13 58 03 30 0 0 0 0 0 0 0 0 0 0 D 0 0 0 0 13 58 04 SL 0 ik 0 0 0 0 D 0 0 0 0 D 0 0 0 13 58 05 Ju 0 0 D 0 Dk 0 0 0 0 0 D 0 0 0 0 13758 06 3 0 0 D D D 0 0 0 0 0 0 0 0 0 0 15558 D 34 0 0 0 0 D 0 D 0 M 0 0 0 0 0 0 13 58 08 35 0 0 0 0 0 0 0 Uf 0 0 0 0 Q D 0 13 58 09 3b 0 0 D 0 0 0 0 D TA 0 D Q D 0 0 E 4 m d s Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 17 Save and Load the Configuration Settings The Modbus Utility allows the configuration of the module to be saved for future use Meaning that it can be loaded the next time the Modbus Utility is used without needing to
17. 200 200 0 192 163 2 1 00 0d e0 e0 c8 23 Step 5 Select the Network Settings tab and then click the Get Settings button The current network settings will be displayed in the LAN 1 text fields Edit the settings as required and then click the Save Settings button to save the new settings UpdseFmwee Network Settings 7 PLAN 2 o I gt 192 168 2 212 i MEME Em ree Get Settings SS eeee Mask 255 255 255 0 EO Clearalltext ai Te After setting the new network the Modus Utility will connect to new IP address automatically Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 4 Net ID Station number Setting The Net ID can be from 01 to FF and must be unique in the network Set Net ID by following the procedure described below Step 1 The Net ID is set using the 8 bit DIP switch located on the right hand side of the controller To set the Net ID move the DIP switch for the required bit to the ON position The following figure shows the Net ID for the controller Bits 1 and 2 are in the ON position and the others are set to OFF meaning that the Net ID for the controller is 3 Step 2 Reboot the controller to set the new Net ID Step 3 After connecting to the controller the Net ID for the controller will be displayed in the connection panel as described in Instruction to the Working Area index C 8831 NetiID 3 Copyright 2013 ICP DAS Co Ltd All
18. 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com f Citect Project Editor Modbus Demo UNCOMPILED Tags Alarms System Communication Servers Tools Window Help FD eaa EA Ein eJ Do I O Device 00001 Data Type Linked No Tag Name DIO I O Device Dev 8000 Address 10001 Data Type DIGITAL Lal Tag Name AO 0 I O Device Dev 8000 40001 Data Type INT E Eng Zero Scale 0 Eng Full Scale 10 Record 3 Linked No Tag Name AIO 1 0 Device Dev 8000 INT Lal Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Notes When using the Modbus protocol the Address Type must be set to Oxxxx for Digital Output 1xxxx for Digital Input 3xxxx for Analog Input and 4xxxx for Analog Output The Digital Input and Digital Output are declared as Boolean data and the Analog Input and Analog Output are declared as unsigned integer data The Starting Address begins at 0001 Thus to use the 5th Digital Output the Address filed must be se to 10005 and the Data Type must be set to DIGITAL To use the 15th Analog Input enter 30015 in the Address field and set the Data Type to INT Step 5 Switch the screen to the Citect Graphics Builder window click New from the File menu to create a new page Import As Flashing Properties Def
19. 22 Click the Express Setup radio button and then click the Next gt button to continue Citect Computer Setup Wizard This wizard will assist you in setting up and customizing your computer for use with Citect Select the type of setup you require Step 23 Select Modbus Demo from the Project Name drop down menu and then click the Next button to continue Project Setup a Select a compiled project that this computer will run s Project Name C ModbusDemo D 7 Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 24 Click the Server and Control Client radio button and click the Next gt button to continue Computer Role Setup The minimum role of this computer is determined by matching its IP address with the server addresses configured in your project Select the role of this computer Server and Control Client MultiProcess Control Client View only Client Note If no servers match this computer then this computer must be a cient Step 25 Click the Stand alone no other SCADA computers radio button and click the Next gt button to continue Select the primary networking model for this Stand alone no other SCADA computers Networked connect to other SCADA computers Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 26 Enter the password in the Password
20. 87046 02 02 B7046 ia 03 03 l 7046 4 04 l 7046 05 05 l 7046 DE 06 l 7046 OF 07 l 7046 oae LAFTNAC 4 AO CO Dno CO 03 CO bo ho os Oo Roco n c MAW its hae he Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 The display mode for analog modules can be changed to either Value Decimal or Hexadecimal format Click the Scale button and select the desired option from the Gow list Value see Hes 1 O00 15384 4000 10 000 15384 4000 10 000 15384 4000 10 000 15384 4000 0 000 Step 4 This step is to set the output values for analog output modules To change the output values for a specific channel double click the row to relevant channel in the AO Mapping table to open the Channel dialog box Enter the value and then click the OK button The value to the channel will be changed DI Mapping DO Mapping Al Mapping Analog Output 4xxxx Address o ecce seii Iii conten Comment NNNM 0 000 30 0 0 To 2 0 0 m LI 00 ar 028C pp TL Le AO Mapping Di 0 000 30 0 0 To 20 0 m 2 D000 38 0 0 To 20 0 mA Double click the row 0 000 30 0 0 To 20 0 mA i 000 30 0 0 To 20 0 m 05 05 87028C 1 5 0 000 30 0 0 To 20 0 m Channel 0 Channel 0 output value O20 rr p value TA 10 000 4 N 0 0To 2 101 0 m
21. All Rights Reserved E mail service icpdas com Step 4 Select the Net ID from the list and then click the Connect to selected ID button to establish a connection 8 Data bits Connect to Selected ID Hone Parity b l Lt 1 Stop bit RTU If COM port is successfully opened the status will be displayed in the text filed indicated in the diagram below sin RE IP 8411 MRTU MHMetlD 21 COMI Connect Wi OM E Connect Communication Mode Disconnect On line Mode COM Disconnect 2 5 3 Refresh Configuration after Connecting If the current configurations for the modules on the controller do not match the setting stored in the EEPROM click the Refresh button to save the current configuration to the EEPROM Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 6 Address Table Mapping Table After connecting to the module use the Summary tab on the address table to check the information related to the module including the slot number for the module and address of the I O channels points Note The I O addresses here are Base 0 DI Mapping DO Mapping Al Mapping AO Mapping Summary gt Slot Module Di 1x00 address Points DO Doo address Points Al 3000 address Points AO boso address Points 67040 6014 SE 00 00 15 S
22. Connections Replace Module search for Module Module Default Settmes Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 108 Step 3 Configure the module properties in the Modbus Digital Output dialog box A In the Device settings section set the Interface to TCP IP and enter the IP address B In the Device settings section set the Address which is the Net ID of the controller C Enter the Start byte which can be found from the address mapping in the Modbus Utility Modbus Digital Output Module name Modbus Digit Short descriptions Device settings 10 0 0 668 Start byte 0 C 3RBITTTTTTTTTTTTTT M Interface Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 109 Step 4 In the Modules folder expand the Control folder and then drag a Switch Control to the worksheet D DAS Lab12 Net unknown Worksheet File Edit Modules Measurement View Tools Optons Window Help um GG Sf ETEA O 8 2 Moduls Black Box Navigator 2 B Modules cU InputeChutputs Switch D amp E Trigger Functions IT E Mathematics _4 odbus E E Statistics H E Signal Analysis S E Control oe To Seque nce Generator Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 110 Step 5 Drag a line from the Switch00 icon to the Modbus Dig00 icon to es
23. Express I O Clusters gl Graphics Device Se IP Equipment 4 OPC DA Network Boards Servers Addresses il Modems I O Devices I O Remapping Cicode Files CitectVBA Files Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 14 Roll the scroll to find the Server named ModbusServer that was created in previous step Enter the port number 502 in the Port text field and then click the Replace button to complete the I O Server configuration f Citect Project Editor Modbus Demo T UNCOMPILED EZ Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 73 3 1 2 Designing the Layout and Acquiring the Data Step 1 Switch the screen to the Citect Project Editor window and then select the I O Devices option from the Communication menu in order to modify the parameters for the I O device that was created in Section 3 1 1 m File Edit Equipment Tags Alarms Step 2 Once the I O Device Modbus Demo dialog box is displayed roll the scroll to find the device named Dev 8000 that was created in Section 3 1 1 Determine the station number by checking the DIP switch on the right hand side of the controller and enter the value in the Address field In this example the station number 1 is used To prevent the Number was the same with the exist Server Number enter 2 in the Number field When
24. K 532767 1638 30K 2 s Complement l l 7FFF F99A Hexadecimal Iu to 2 s CREA degree 7FFF D556 Hexadecimal Units Celsius ohm 0 900 Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 159 2 8K Modules 2 5 V 2 s E 7FFF 8000 tan Units 20 mV 2 s E 7FFF 8000 an Units 1 25 V 2 s E 7 FFF 8000 sn Units 10 V 2 s E 7FFF 8000 an Units Decimal Units 32767 32768 p ee ee 2 s Erara 7FFF 8000 nto CERE 0 mA to 120 mA 2 s Eve 7EEE 0000 Eve Units Gain o QGam12163835 1638 o QGam12163835 Czscmpemen 7mr ww Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 160 Gain 3276 75 Direction 2 s Complement 7FFFFFFF 80000000 Counter Hexadecimal Units Up Down 2 s Complement Counter _ 7FFFFFFF 80000000 Hexadecimal Units Mode 2 Decim 2 s Complement Frequency 6DDDO 1 00000000 Hexadecimal Units Mode 3 Up Bacal ni 7 Counter 2 s Complement l l FFFFFFFF 00000000 Hexadecimal Units Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 161
25. Module DI address Point DO Hep Point Al address Point AO address Point 0 I 87061 E Z 00 00 16 E E I 87028C 00 00 8 2 I 870280 5 E 08 08 8 3 87046 00 00 16 x 3 87046 16 10 3 00 10 3 ALL Status 16 10 4 2 i S B H Qum je ess Hosp c rema NEN E z E Ea Ss Sy NEN Sa pce a NEN NEN NEN p Time sampling 00 01 02 053 04 051 06 07 098 09 PION CHL DI21 ESL PE sf 13551532 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 13 34 33 l 0 D D 0 ik 0 0 0 0 0 D 0 0 0 0 3 8 t zi 0 0 0 0 0 0 0 0 0 0 0 0 Q 0 0 13 57 35 a D 0 D 0 if 0 0 D 0 0 0 D 0 0 13257236 4 0 0 0 DE 0 0 0 D 0 D D 0 0 0 D 155343 Dh 5 0 D 0 0 0 0 0 0 D D 0 0 0 0 0 13 57 538 6 0 0 0 0 0 0 0 0 D 0 0 0 0 0 0 135534 39 2 D 0 Dr 0 0 0 0 0 0 0 D 0 D 0 0 j 13 57 40 8 0 0 0 0 0 0 im 0 0 0 0 0 0 0 0 i 57241 9 0 0 0 0 0 0 0 0 D 0 0 0 0 0 0 13594542 10 0 0 0 0 0 0 0 0 D 0 0 0 0 0 0 13 515 I D 0 D DE fh 0 ia if Dk 0 0 Q th 0 0 15 51 44 12 0 De D 0 0 DE 0 0 D 0 D 0 D 0 0 13 914 5 re 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 eis dn 14 0 D 0 0 Dk 0 0 0 0 0 0 0 0 0 13 57 48 I5 0 0 0 0 b 0 0 0 0 0 D 0 D 0 D 15 54 40 16 0 0 0 0 0 0 D 0 D 0 0 0 D 0 0 13257250 LE DE 0 0 0 15 0
26. Value Max Value 32768 32767 Min Input Output Range Float Value y Gain Data X Offset Gain the Slope for this Range Code type Data the input or output value Offset the offset value to compensate for an inaccuracy in the module The following tables provide the maximum and minimum values Gain and Offset for each range code type e 87K Analog Modules E Current and Voltage Type Definitions B Thermocouple Type Definitions B RTD Resistance Temperature Detector Type Definitions B Thermistor Type Definitions e 8K Modules Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 145 1 87K Analog Modules 1 1 Current and Voltage Type Definitions Analog Input Modules __Input Range 15 0 mV 15 0 mv 000030518 0 15 mV 7FFF 8000 2 s Complement Hexadecimal Units o 90mVto Decimal Units 32767 32768 50 mV 2 s Complement l l 7FFF 8000 Hexadecimal Units Decimal Units 32767 32768 2 s Complement 7 FFF 8000 Hexadecimal Units 100 mV to 100 mV 02 500 mV to 500 mV Decimal Units 132767 32768 2 s Complement l l 7FFF 8000 Hexadecimal Units na l vig ual Decimal Units 432767 32768 DEAEEEEM 2 s Complement l l 7FFF 8000 Hexadecimal Units 2 5 V to Decimal Units 32767 32768 A 2 5 V 2 s Complement l l 7EFFF 8000 Hexadecimal Units vg 20 mA to 20 0 mA 20 mA Decimal Units 32767 32768
27. _ Response 1 5 0 4 FF 0 1 Coil 5 is addressed as 4 A value of FF 00 sets the coil to ON and a value of 00 00 sets it to OFF All other values are treated as an invalid command Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 140 6 Write Single AO 4xxxx Function Code 06 Write Single Register o we Ot 2 3 1 set register Command 16020 9B 400039 to 155C2 Bt o 1 2 3 4 5 4 5 pT NetID FC 06 Write Address Register Value Repne 1 6 o 4 0 If the request is successful the function will return an echo of the request 1 Register 40003 is addressed as 2 in Modbus 2 Register value 155 9B hexadecimal Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 141 7 Write DO Oxxxx Function Code 15 Write Multiple Coils Brel o 1 2 3 4 5 6 7 ByteCountes Neb FC 15 Write Address Bit Count Byte Count Data to be Written ma 1 r 0 0 fo c 2 mo o Example Net ID 1 1111 0000 write coils 1 to 120 1110 0101 Command 1F000C2FE5 Bye 0 1 2 3 4 5 NetID FC 15 Write Address BitCount Response 1 F 0 o 0 c 1 Coils 1 12 are addressed as 0 11 there are a total of 12 hexadecimal 0C coils 2 The data is 2 byte value FE 05 hexadecimal 1111 1110 0000 0101 binary Bit 11 1 1 1 1 1 0 0000010 1
28. all settings are finished click the Replace button to complete the configuration Server Name ModbusServer Name Dev Bono Protocol MODNET 20 Port Name PORT1 BOARD1 w Startup Mode Priority Memoary Comment d Record 2 Deleted Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 Switch the screen to the Citect Explorer window expand the Modbus Demo folder in the Project List panel Double click the Variable Tags icon in the Tags folder to create a new variable tags E ModbusDemo Citect Explorer IProject List IE My Projects Example Als ModbusDemo Local Trend Tags EE Graphics Variables Equipmen Step 4 Switch the screen to the Citect Project Editor window enter a name for the tag in the Tag Name field in the Variable Tags Modbus Demo dialog box Then select the device from the I O Device drop down menu enter the correct address in the Address field and select the appropriate Data Type from the drop down menu After the details for the first tag have been entered click the Add button to save it and then repeat the procedure to create the next tag The parameters for all tags used in this example are shown in the table below Doo Dev 8000 pierra 000 X Dio ev 000 pierra 10001 X Copyright
29. can display the addresses that were added to Track area and adjust the settings for respective address and set the output values to the addresses of DO AO C Track area The Trend function has four areas to monitor and display the data and these four areas are named as Track 1 Track 2 Track 3 and Track 4 Track 1 can only display analog module trend lines and Track 2 to 4 can display digital module trend lines The following procedures indicate the setting to retrieve data Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 52 Step 1 Click the Trend button on the main menu to open the Scope dialog box Step 2 To record I O data on the trend chart select the I O type and address from the respective drop down menus Select a color for the chart line and assign a track number and then click the Add button to add the record to the Track area Select 10 Address Line Color Track After adding the address to the Track area the address can be set visible or not on the Track area by clicking the checkbox or change line color by clicking the color column 1 0 Address rach visible AD DD 00 ipi oo oo NN DI 02 02 DO no D Da 2 02 IDI DI DI to bo m3 Dd Md Step 3 To set the output values for the DO addresses click the address column and then the Channel Information dialog box will show Click the On button to s
30. link to the controller s COM ports Once installed the serial clients will then be able to access these remote serial devices via Ethernet using the standard RS 232 functions Here s the link of the VxComm driver for PC http ftp icpdas com pub cd 8000cd napdos driver vxcomm driver 2k 1 3 3 Automatic I O module scanning When a connection created the default firmware will scan all slots and then put modules information into the Summary table DI Mapping I DO Mapping I Al Mapping if AO Mapping 1 I 87005 x 2 I 87028 00 00 8 3 I 87055 00 00 g 00 00 i E i ALL Status 08 08 4 E i 1 5 4 Automatic assignment of a register address for the I O modules An I O module can be inserted into any slot and the Modbus firmware will automatically scan all slots and assign the I O channels to register in a continuous range The register mapping for all the I O channels can be retrieved by connecting to the controller using the Modbus Utility 1 5 5 Allows simultaneous access by multiple clients or masters Different controllers support a different number of connections to a client For more details refer to the FAQ on ICPDAS web site Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com LE http www icpdas com fag 7188e hardware 003 htm 1 3 6 Online configuration via Ethernet using the Modbus Utility 1 5 7 Supports I 8000 and 1 87000 series I O
31. text field and Confirm Password field to set the password for the server and click the Next gt button to continue Server Authentication Running a server process requires the configuration of a server password Setting this password allows servers to authenticate each other and creates a trusted network between server machines Configure 5erver Password Configure Server Password Password Tm Confirm Password mk A Next gt D cancel Hep Step 27 Click the Finish button to complete the computer setup Citect Computer Setup Your computer setup is complete Press the Finish button to save your settings and exit or press the Cancel button to quit without saving any changes Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 28 Press F5 to execute the project Verify that clicking the DO Button button or clicking the Analog Output Number object to enter a value will change the value for the Digital Output and the Analog Output ES Pagel SCADAExpert i Vijeo Citect x A DO LED DI LED AO Value Al Value M 3 50 0 88 DO Button Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 93 3 2 DASYLab In this section a detailed description of the procedure for connecting the DASYLab solution to the I 8000 MTCP IP 8000 MTCP controller via the Modbus TCP protocol is presented In this e
32. to be installed on the Host PC After the driver is installed the remote COM ports can be accessed via the standard serial driver The command protocol depends on the serial device Modbus TCP Command Protocol Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Mw 1 4 4 Advanced Application 1 User defined Modbus TCP Controller Using the Modbus SDK custom firmware can be developed that allows access to additional functions together with integration of serial devices with Modbus TCP kernel making the I 8000 MTCP a powerful controller The link for I 8000 MTCP shows as below http ftp icpdas com pub cd 8000cd napdos modbus 8000e demo bc 1 4 5 Advanced Application 2 Modbus TCP Controller using the VxComm technique If an I 8000 MTCP is used to link same hardware devices as described in Advanced Application 1 above and if any of devices connected to specific COM ports are not integrated into the custom firmware the COM ports can still be accessed using the standard serial driver However in order to do this the VxComm driver must first be installed on the Host PC Modbus TCP User Process I F000 I 7000 I 87K Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 Starting the Modbus Utility Follow the instructions described below to establish a connection between the controller and the Modbus Utility then retrieve and set the I O v
33. 1 87017 30002 The Al Channels that m 8 017 30003 were added earlier in pe 87017 30004 the Workgroup1 areas 8701 30005 zig 87017 30006 87017 30007 net AQ ers m DI Channels DO Channels Counter Channels sida Freq Channels Virtual Channels Webcam Browsers Home Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 12 Repeat the procedure described in Step 10 to add the other I O channels to the channel list of Workgroup1 After all channels have been added click the Home button to return to the main page Ej we AO Channels a 87028 40001 87028 40002 P o 87028 40003 Num 87028 40004 ieu 87028 40005 a 87028 40006 ss 87028 40007 87028 40008 DI Channels 3 1 DO Channels 87055 00001 pem 8705 5 00002 a 87055 00003 ies 87055 00004 Eus 87055 00005 TA 87055_00006 dus 87055 00007 87055 00008 SR Counter Channels Freq Channels 1 m pe ie EZ Data Logger Professional Edition V4 5 7 2013 04 25 CXICPDASXEZ Data_Logger P rManual ini Project Execute User Setup Help as mE 2 sua s s Start Simulation Record System Config Group Setup Open Database Exit About levice State Workgroup1 Workgroup2 Workgroup3 t Save IntervallSec Record Time Hour i 4 10 2014 5 37 53 PM Admin logi Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3
34. 2 158 2 35 255 255 255 0 192 158 2 1 l Dd el b4 3D Configuration UDP Step 5 Select the controller that is to be configured and then click the Configuration UDP button 3 eSearch Utility v1 0 8 Mar 22 2013 File Server Tools Mame Alias IPAddress Sub netMask Gateway MAC Address _ ERZETT 3 192 158 2 212 255 255 255 0 192 168 2 1 00 0d e0 e0 c IPALCOF 4 UL ipsooo 192 168 272 193 3 255 255 255 15 158 2 1 O0 0d e0 e0 cA WISE f126 ISE 7126 192 158 2 35 255 755 755 0 192 158 2 1 00 0 d eD 54 3D Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Enter the required details in the IP Mask Gateway Alias and DHCP fields and then click the OK button to save the settings Configure Server UDP Server Name ISKE4 4 0 DHCP o OFF Alias H8431 7 Chars IP Address 192 1 58 2 212 MAC 00 0d e0 e0 c8 23 sub net Mask 255 255 255 Warning Contact your Metwork Administrator to get Gateway g2 158 2 1 correct configuration before any changing Cancel Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 3 2 Method 2 Under Initial Mode Step 1 Reboot the controller in INIT mode For I 8000 modules short the INIT and INIT COM pins For IP 8000 and ET 87PN modules move the DIP switch to the Init position For 7188E devices short the INIT and GND pins Step 2 Ex
35. 3 2 Designing the Layout and Acquiring the Data After setting up in the section3 3 1 the layout can be designed and the data can be acquired in the main page Step 1 The layout style can be adjusted in the Workgroup1 Ver 4 5 7 dialog box by clicking Layout button on Workgroup1 in the main page Workgroup1 ig Workgroup Ver 4 5 jw Picture Reset Position FontColor lt lt gt gt Gauge Trend Hide 123 456 123 456 123 456 123 456 123 456 87017 30002 87017_30003 87017_30004 87017 30005 87017 30006 87017 30007 87017 30008 oo 2 No oc04 coc 87046 10003 Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 2 The interface can be arranged by dragging the relevant I O objects adding a background by clicking the Back Picture from the Picture menu or changing the font color by clicking the Font Color menu Workgroup Ver 4 3 7 ce im S cow wo pom 8 01 30002 287017 30003 287017 30004 S00 Rocio co M CJ 9 Dd T 5 5 4 3 2 1 i 87046_10003 or 87046 10004 or 87046 10005 87055 00001 87055 00002 3 046 10009 Ly 87046 10010 87046 10011 l No Back Picture Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 After the interface design is complete click the Hide button in the menu to close the dialog box
36. 8 8 8 8 7 7 7 1 7 6 6 6 6 6 5 5 rs 5 5 4 4 4 4 4 1 1 9 2 2 2 2 87046_10001 1 1 1 1 1 0 0 0 0 0 5 3 000 x 0 97046 10003 on 87046_ 10004 on 87046_10005 or 87046 10006 87046 1000 87055 00001 87055 00002 87055 00003 87046 10009 n 87046 10010 87046 10011 87046 10012 87046 1001 Data Home CAICPDAS EZ oader Proiectidemo 1 Picture a Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Appendix A Backing Up and Recovering the EEPROM Settings The EERPOM is a memory component that is used to store network system COM port and module configuration information The Back Up Recover functions are used to duplicate EEPROM data from one controller to another The size of the EEPROM is different in every controller and each block in the EEPROM stores different types of data The following table givens an overview of the writable blocks and the reserved blocks The writable blocks include library version COM port configuration watchdog timer module settings and the reserved blocks include IP address Mask Gateway and MAC address 1 8000 1 7 0 8 blocks 0 7 IP 8000 0 7 64 blocks 0 63 Note 1 Before attempting to read or write EEPROM data ensure that the I O Scan Library is version 1 6 0 or later Note 2 This function only supports connections via the COM port Before attempting to perform this function ensure that controller
37. All Rights Reserved E mail service icpdas com 2 10 Analog Output Power on and Safe Values To change the Analog Output Power on and Safe values click the module that is to be configured to open the Settings panel l 8 7028C The image here shows the I 87028C module as an example 2 10 1 Analog Output Power on value The Power on value is the Analog Output value that will be set for the module when the controller is powered on every time Step 1 In the Range Code dialog box enter a Power on value in the text box es for the relevant channel s then click the Set All button to apply the Power on value s Range Code Ch Ch Input Output Range Offset Dec Power on Value afe Value Cho 0 0 Ta 20 0 m cw oota Be ST ml cw potai cna oO To ima HE cw oo Aa v ae Le gl ow ooa v c c CELE EEREEEL EEE EE Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 39 Step 2 The controller should be rebooted if the new Power on settings would like to be applied After rebooting the Power on value will be displayed for the channel in the AO Mapping tab in monitoring mode or use a monitoring tool to detect the value AO Mapping Summary Analog Output 4xxxx JATO Address Module Slt Channel _ vane omment UL ou EFIE 3 i D000 30 40 0 To
38. April 2014 Version 1 0 2 Table of Contents Seljrpcmeeer M 2 1 PEP OCUCTO senere E 5 1 1 Instruction to the User Manual essen eene nnne 5 1 2 WIC OOUS ProtOCO hssr E 6 1 3 Default Firmware Features eeeeeeeeeeeeeeeeee ee nennen nennen nnne nnns 7 1 4 TVDIES ADDIICQLIORNS niea tora TITTEN LIU EUIS EEEE FII EIFE M EIE CIE HEU 9 2 Starting the Modbus Utility eee eere 13 2 1 Instruction to the Working Area ccccccsseccceseccesececeececeeceeeeceteeeeeness 15 2 2 Updating the Firmware cccccsscccssecccssceceseceesececeneceeeeceeeneeeeeceneneeteness 17 2 2 1 Updating via the Ethernet seeeseeeeseeeeenennmenen ennemis 17 2 2 2 Updating via a Serial POLLsedento iie eitaidexime i relies ex ad Goran idesiad icd enm 20 2 3 Network Setting S opem rh OE ER EINIGE UIN MERE I MINE 23 2 3 1 Method 1 Under Running Firmware Mode eene 23 2 3 2 Method 2 Under Initial Mode eeeeeeeeeeeeeeeeeeeenn nennen 26 2 4 Net ID Station number Setting eeeseeem nnns 28 2 5 Connecting to the Controller sirsiran nnee EE 29 2 5 1 Connect via the Ethernet Modbus TCP ceeeeeen ne 29 2 5 2 Connect via a Serial port Modbus RTU eeeemH ns 30 2 5 3 Refresh Configuration after CONNECtING ccccceeecccseccceseceeeeceteneeeeee
39. Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 146 NH NE if ts m With 125 2 s Complement ohms 7 FFF 8000 l Hexadecimal Units resistor 20 mA 2 s Complement FFFF 0000 Hexadecimal Units a 32767 32768 10 V 2 s Complement 7FFF 8000 Hexadecimal Units InputRange 50V 50v 0 00015259 o 5 V to 5 V Decimal Units 32767 32768 2 s Complement l l 7FFF 8000 Hexadecimal Units Decimal Units 132767 32768 in bemus 2 s Complement l l 7FFF 8000 Hexadecimal Units 500 0 mV Decimal Units 32768 2 s Complement l l 7FFF 8000 Hexadecimal Units Decimal Units 132767 32768 2 s Complement 7FFF 8000 Hexadecimal Units 20 mA to with 125 2 s Complement 7 FFF 8000 Hexadecimal Units ohms Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 500 mV to 500 mV 150 mV to OC 150 mV E E B NI NENNEN mE E mE E mE mE 6 00061036 OD resistor Gain O Type Type 2 P Data Format Max Value Min Value Code Definitions Input Range 20 0 mA 0 0 mA 0 mA to Decimal Units 65535 0 20 mA 2 s Complement FFFF 0000 Hexadecimal Units Input Range 150 0 V 150 0 V 150 V to Decimal Units 32767 32768 150 V 2 s Complement 7FFF 8000 Hexadecimal Units Input Range 50 0 V 50 0 V ic ov Decimal Units 132767 32768 2 s Complement 7FFF 8000 Hexadeci
40. DAS Co Ltd All Rights Reserved E mail service icpdas com 104 Step 3 Configure the module properties in the Modbus Digital Input dialog box A In the Device settings section set the Interface to TCP IP and enter the IP address B In the Device settings section set the Address which is the Net ID of the controller C Enter the Start byte which can be found from the address mapping in the Modbus Utility Modbus Digital Input Module name Modbus Dig short description Device settings C 14 15 3RBITTTTTTTTTTTTTT M Channel name DI LI nit Vi v Cancel Help Interface Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 105 Step 4 In the Modules folder expand the Display folder and then drag a Status Display object to the worksheet D DASTLabl2 Net unknown Worksheet File Edit Modules Measurement View Tools Optons Window Help rum DOGGA m Fe H 8 dd Modules Black Box Navigator E3 Modules my Input Output H E Trigger Functions E E Mathematics E E Statistics H E Signal Analysis amp Control BH Display m Bar Graph Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 106 Step 5 Drag a line from the Status Dis00 icon to the Modbus Dig00 icon to establish a connection between the Status Display object and the Digital Input module Click the ru
41. DO OXXXX BERI RRNEET 136 2 acf HE o E S 137 3 Read AO 4XXXX 138 4 PRE CU 3 XI orae 139 5 Write Single DO Oxxxx eese 140 6 Write Single OO asset u m IET REPE A EI ER FDA ELA DN DIN ORE ENEAN tsi 141 7 Wie DOON rL 142 8 WERO LOO 143 Appendix C Supported Modules cscssccssccssccssccesccsscssccnsscesscessoeseens 144 Appendix D Range Codes for Analog Modules 145 1 87K Analog Modules cs esce eturtERqUDEEErhEUEUFNRIU FUE S EIFE RES NRE TIONI OUI RUDI IS UUN 146 1 1 Current and Voltage Type Definitions cece cesecceeececeeeeeeeeceteeeeeeees 146 1 2 Thermocouple Type Definitions cccccssecccsscccesecceseceeeneeeeeeseeeneetens 151 1 3 RTD Resistance Temperature Detector Type Definitions 153 1 4 Thermistor Type D fihnit IONS sssorisvesc mss svdost ste ss euet des tne meu t auct ata uude 157 2 s Wut 160 Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 Introduction 1 1 Instruction to the User Manual Modbus is a very popular protocol used in the industrial manufacturing and environment monitoring fields The Modbus Utility provided by ICP DAS can be used to communicate with the Host controller to retrieve
42. Delete Module Delete Input Connections Delete Output Connections Replace Module search for Module Module Default settings Moe m Ete mentation Module Properties Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 6 Click the Scale button and set the Begin and End values in the Display area section In this demo 10 to 10 are used Click the OK button to continue Slider Module name Slider tl Short description 12 13 14 15 3BTTTTTTTTETTTTT M Channel name Slider Unit Output Minimum value 0 0000 Maximum value DOE Options Resolution 100 Option Change start value Start value NE Col 7 Output in real time Scale Slider00 Display area Labels OK OF Begin Ticks End Da Miniticks C3 Automatic scaling Decimals 3 Manual scaling Output format Normal format Exponential format Engineering format Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 7 Drag a line from the Slider00 icon to the ModBus Ana00 icon to establish a connection between the Slider Control and the Analog Output module Click the run triangle button to start exporting value by dragging the Slider Control The value can also be using the Modbus Utility D DASTLabi2 Net unknown Worksheet File Edit Modules Measurement V
43. EEEEEEEEEEEELE Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 8 2 Offset Settings An offset value can be set to compensate for any inaccuracies that exist in the module Enter an offset value in the text field for the relevant channel and then click the Set All button to apply the new settings Range Code ChO Ch Dec Safe Dec lnput Output Range Power o cho 4 0 To 20 0 m Chi 40 Ta 20 0 Ch2 4 To 20 0 m Ch3 440 To 20 0 m Ch4 4 0 To 20 0 chs 40 To 20 0 m che 40 To 20 0 m Chz 4 0 To 20 0 mA AH THHE Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 35 2 9 Digital Output Power on and Safe Values To change the Digital Output Power on and Safe values click the module that is to be configured to open the Settings panel The image here shows the I 87061 module as an example 2 9 1 Digital Output Power on Value The Power on value is the Digital Output value that will be set for the module when the controller is powered on every time Step 1 In the DO Power on tab of the DIO Settings dialog box check the checkbox es for the channel s to be set and then click the Set DO Power on Value button to apply the Power on value DIO Settings B e a joet the Digital Output to the jpowerron value when the Icontraller
44. EHE Zt WL LIE 01 01 l ar020C 1 30 0 0 To 20 0 m La 02 S 02 8C 1 z 0 000 20 D O To 20 0 m 03 03 l ar0z20C 1 E 0 000 30 0 0 To 20 0 mA 04 04 67026C 1 4 0 000 20 0 0 To 20 0 mA 05 05 l ar 028C 5 0 000 20 0 0 To 20 0 mA Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 5 This step is to set the output values for digital output modules To change the output values for a specific channel double click the row to relevant channel in the DO Mapping table The value to the channel will be changed immediately DI Mapping DO Mapping Al Mapping AQ Mapping D igital ree kaate A Oxxxx Address Module Sot Channel Value Comment foo n E 37 n1 O 40 Didital module n 01 l ar 06 i i QO M0 Digtal module 0z 02 l ar 06 0 2 O 30 Diaital module QO 40 Digital module O 4 0 Digital module TEREN row a me 0 D 40 Digital module 0 40 Digital module oF m1 Qrzric41 n 7 ri FACT ak al een DI Mapping DO Mapping Al Mapping AQ Mapping Digital Dutput xxxx Address Module Slt si Tone f aus Sy went DO UL E7 UE m HT 4 EUST mo es EF 01 01 87 081 1 30 Dugibal module 0z 02 l 57 061 i 2 D 40 Digital module a 03 03 l 37 061 0 3 DU 40 Digital module 04 04 l 57 061 D 4 0 4 Digital module 05 05 l 57 061 i 5 D 40 Digital modul
45. INIT COM pins For IP 8000 and ET 87PN modules move the DIP switch to the Init position For 7188E devices short the INIT and GND pins Step 2 Execute the Modbus Utility and select the Modbus TCP mode Select Controller Flease Select Controller ModbusfTCP Step 3 Select the Update Firmware option from the Client Tools menu to connect to the controller File Window Client Tools Settings Medbus TCP Client Help m La 5 Modbus RTU Client Load UDP Search Controll Update Firmware Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Bd Select UDP option from the drop down menu If IP address is known enter the details in the text field and then click the Connect button Alternatively click the Search IP button to search for available controllers on the LAN port and then double click IP address to establish a connection FX Update Firmware Connect and Config Method 1 a t UDP Search for available controllers and then double click in RS z ailable action 2bb 266 255 0 132 163 2 1 00 0d e0 e0 c8 23 After connecting the firmware file for the controller will be listed in the Update Firmware tab as shown in the diagram below Update Firmware Network Settings Dat
46. Rights Reserved E mail service icpdas com 28 2 5 Connecting to the Controller Before performing the following operation set the controller to Run Firmware mode insert the modules and then turn on the power 2 5 1 Connect via the Ethernet Modbus TCP Step 1 Execute the Modbus Utility and select the Modbus TCP mode Select Controller Flease Select Controller Step 2 Enter the IP address for your controller and then click the Connect button If a connection is successfully established the status will be displayed in the text filed indicated in the diagram below Controller 44 8481 NetlD 1 192 168 2212 C omea D NM 9321682212 ERE Communication Mode Disconnect Disconnect Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 5 2 Connect via a Serial port Modbus RTU Step 1 Execute the Modbus Utility and select the Modbus RTU mode Select Controller Flease Select Controller ModbusfTCP Step 2 Select the COM port and click Connect on the connect panel GController Step 3 Click the Search button to search for any available device After locating the required device click the Stop button to stop searching Search List ATU Copyright 2013 ICP DAS Co Ltd
47. Window Cl Gd Load ient Tools Settings Modbus TCP Client Modbus RTU Client UDP Search Help Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Select the COM port from the drop down menu and then click the Connect button Once a connection is established the Back up Settings and Recover Settings buttons will be displayed Connect and Contig Connect and Contig Connect Step 4 To configure a controller to the same settings as another click the Recover Settings button and the Select an EEPROM file to write dialog box will be displayed Click the name of the file that contains the configuration to be uploaded and then select the blocks to be duplicated from the Write Block drop down menus then click the Write 1 multi block button Select an EEPROM file to Recover a gt Load from CAICPOAS Modbus _Utilitibackup_setting po000 cep CA CX3ICPDAS J Modbus_UWtility e backup setting Connect and Contiq i eeprom eep i943 een CHENE ipaad1 eaepn Open File Name ling D eap Write 1 multi black GM vvrite Black 8 to E Cancel Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 133 A status message Writing Please Wait will be displayed while the configuration is dupli
48. able or via the Ethernet Use the Search IP function to search for available Back up Settings Natrollers or enter the IP address into the textbox to establish a connection Recover Settings Date autoexec bat e 201 3 9 16 FF 01 56 00 ony mde 7265 exe 1172496 201 4 3 4 EF 11 05 50 aj Modbus_Utility CJ Firmware zx i B0 0 MTCP es Upload gt gt Refresh file list autoexec bat moe 265 exe readme txt Erase Disk Step 4 Before updating the firmware all existing files must be deleted Click the Erase Disk button to delete all files currently existing on the controller Update Firmware Ense Disk Contre Date and Time Settings Size Date s m 117296 2014 3 4 E F 11 05 50 A All files wll be deleted Are you sure E 2013 98 15 FF 01 56 00 EJ Macdbus Ulilit 5n Firmware r i g000 MTCF Y EUN autaexec hat moe 2h55 exe readme tet f Erase Disk P am Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 5 Select the new firmware file and then click Upload gt gt button After the update process is completed the new file will be displayed in the file list If it is not displayed click the Refresh file list button to display the latest files Disconnect Step 4 Connec zio COM T on the 8000 1 P SOO device using an RS 232 d Uploading Hor available Back up Settings d Econnection Step 5 Re
49. alue Configure the Network Senings Address Table Mapping Table Library Version Range Code amp Offset Power on amp Safe Values 87K DI Counter Configure the NetID Sening ome Confirm Information Configure the Module Ld sete te sims Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 The Modbus Utility executable file can be downloaded from http ftp icodas com pub cd 8000cd napdos modbus modbus utili Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com MC 2 1 Instruction to the Working Area The following is an illustration of the main working area of the Modbus Utility tatus Firmware v1 7 2 Jan 03 2012 Help Set DO Power on Value setthe Digital Output ta the jpoweron value when the controller is powered on DI Mapping Digital Input 1xxxx Address Mode Slt Chamel Walue Comment 00 00 B7046 0 40 Digital Module 01 01 87046 40 Digital Module 02 02 87048 40 Digital Module 03 03 B7046 40 Digital Module 04 4 87048 40 Digital Module 05 05 87046 40 Digital Module 06 06 87046 40 Digital Module Q7 07 I B7045 40 Digital Module nn met Or n4 n ATI al bd dida 4 GO GO DO CO CO CO CO CO ho Oo Cn d CO P3 A Menu Bar B Tool Bar C Connection panel D Power on value safe value offset and DI Counter
50. aults Compile Run Print Print Setup Exit Creates a new page template symbol genie or super genie New Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 6 In the New dialog box click the Page button to create a new page using a pre defined template Page Create a new graphics page using a pre defined template Template Create your own template to use as a base for similar graphics pages Symbol Create anew symbol for objects that you use often Genie Create a new genie for groups of objects that have common attributes super Genie Create a new super genie that can be accessed at runtime Step 7 In the Template dialog box click the normal option to select the template to be used for the page and then click the OK button to continue rightpanel W Designed for showing title bar Resolution Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 8 Click and hold the New Button icon and then drag and drop it onto the blank page to add a new button to the page A Citect Graphics Builder Modbus Demo Untitled m File Edit View Objects Text Arrange Tools Window Help role SCADA Expe Se e e SCADA Expert co D EST Vijeo Citect ie er mme Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 79 Step 9 Once release the cursor the Button P
51. cated Select an EEPROM file to Recover mmm NN e e CAICPUAS Modbus LUtilin backup setingypalllill eap wWrting Flease wait c Once the duplication process is complete a message will be displayed to notify that the file was written successfully Click the OK button to continue Write blocks from 8 to 14 successfully Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 134 Appendix B Function Codes FC All data addresses in a Modbus message Start at zero and are transmitted in hexadecimal format For example A Input register 30001 is addressed as 0 in the data address field of the Modbus message B Coil 24 decimal in an I O module is addressed as coil 0017 hexadecimal in the Modbus message Equivalent to 23 in decimal As the function code already specifies whether the operation is DO DI AO or AI the references Oxxxx 1xxxx 4xxxx 3xxxx are implicit Function codes are used in both the Modbus RTU Master Tool and the Modbus TCP Client Tool Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 135 1 Read DO Oxxxx Function Code 01 Read Coil Status Bte at 8 a NetID FC 01 Starting Address Bit Count Example NetID 200 Hex 14 1 0 u 0 D Read coils 18 3002 1410110D NetID FC 01 5C coils 25 18 1B coils 30 26 Bimry 0101110009 0001101105
52. ck the checkbox es for the channel s to be set and then click the Set DO Safe Value button to apply the Safe value DIO Settings Ch Cha Chi T chy Che Chia Bee mrs DO Safe Value Set DO Safe value J Set the Digital Output to the Safe alue in the following condotions I The Watchdog is enabled Time period is more than 5 seconds e here have been no Modbus requests during the Watchdog Timer counts down period lw Ch13 lw Chid Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 37 After the Watchdog has been reset the modules the DO value will be set to the Safe value DI Mapping DO Mapping Al Mapping AQ Mapping Summay Digital Dutput xxxx 1 6 7061 12 prc STC E O 4 Digital module 0 d 2igital mua ied Slat Value Comment 08 08 87061 2 D 40 Digital module 05 09 87061 2 D 40 Digital module 10 04 87 081 2 10 QO 40 Digital module 11 DB 87061 2 11 0 40D igital module 2 40 Digital module DI Mapping DO Mapping Al Mapping After the Watchdog reset the values for m a channel 13 to 15 display the Safe values ops ai muc gus 4C Dugibal module B7 051 g o0 Digital module 87 051 2 3 1 40 Digital module 87061 2 1 40 Digital module 8 7061 2 a 1 5 Digital module 4 F Copyright 2013 ICP DAS Co Ltd
53. cover Settings Step B Uploading CAICPOAS Modbus Utlit AFinnware o000 MT CPimie 7265 6x6 Size 117285 bytes Bonnect the IMIT Refresh file list autoexec bat moe 265 exe Erase Disk EreseDisk fa Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 3 Network Settings Before starting the configuration process ensure that LAN1 or LAN2 are connected to your network There are two methods of configuring the network using a UDP connection 2 3 1 Method 1 Under Running Firmware Mode Step 1 Make the controller under the running firmware mode Step 2 Execute the Modbus Utility and select the Modbus TCP mode Select Controller Flease Select Controller MHodbus RTU Step 3 Select the UDP Search option from the Client Tools menu to open the eSearch Utility Client Tools Settings Help Modbus TCP Client Modbus RTU Client Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 9 Step 4 Click the Search Servers button to search for the controllers on the LAN 2 eSearch Utility v1 0 8 Mar 22 2013 File Server Tools IPAddress Sub netMask Gateway MAC Address _ 192 158 2 21 205 755 755 0 197 158 7 1 00 0d e0 e0 cd ips6o0o0 192 166 2 193 255 255 255 0 192 158 2 1 O0 0d e0 e0 c4 WISE 7126 19
54. data from remote modules This manual describes how to use the Modbus Utility in conjunction with controllers that support the Modbus protocol Also included are instructions for linking SCADA Supervisor Control and Data Acquisition software Modbus devices This manual applies to following controllers and modules 8431 MTCP 8331 MTCP 8431 80 MTCP 8831 80 MTCP BKE4 MTCP G I 8KE8 MTCP G IP 8441 MTCP IP 8841 MTCP ET 87P4 MTCP ET 87P8 MTC I 7188EX D MT CP I 7188E2 D MT 10 100 BASE Tx uPAC 7186EX D MTCP 10 100 BASE Tx Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 2 Modbus Protocol 1 2 1 What is the Modbus protocol Modbus is a communication protocol originally developed for Modicon controllers by Modicon Inc in 1979 Modbus is a standard truly open protocol and is the most widely used network communication protocol in industrial automation field SCADA Supervisor Control and Data Acquisition and HMI Human Machine Interface software can be used to easily integrate serial devices via the Modbus protocol 1 2 2 What is the Modbus TCP protocol The Modbus TCP protocol is a variant of original Modbus protocol that was developed in 1999 to allow access to Ethernet devices by the Internet community 1 2 3 What software supports the Modbus and Modbus TCP protocol Most SCADA and HMI software packages include support for the Modbus protocol For example
55. ding Registers AO To nteger Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 9 The output style and alarm for an AI channel can be edited by double clicking the name of the channel in the Channel List to open the Modify Channel dialog box The example illustrated below uses AI channel 0 AO DI and DO channel can be edited in the same way SS a et tinier 1 a Description 87017 3000 7017 30001 esse snensnsenen ens ene YT Y eene enean en enean enne 87017 Ch1 7017 Ch2 1 0 100 10 30003 1047 Ch2 4 n 1nn 4n 26nnnA 8701 Tu 87017 _ 30003 Q7NAT ANNNA Q7NAT ANNNA Scaling Gain 0000305785 p pyy AYA Oey vane Ome 8 Pc 32767 Description 3991 N M Alarm B High Alarm 0 Contact to None C Low Alarm 4d Contact to None Noe e Component Style d Number LED LED Basic ini LED Blue Digital ini Modify LED Green Digital6 ini LED Red Digital ini Pd LED Red Digital2 ini LED Red Digital3 ini LED Red Digital4 ini LED Red Digital5 ini LED Red Digital6 ini LED White Digital6 ini J Editor Configure the channel properties in the Modify Channel dialog box Calculate A Setthe Gain and Offset values by entering the AI value in the Scaling section B In the Alarm section set the high and low alarm values to notify of any abnormal ev
56. e Note The Modbus Utility also has an alert system that warns when an 87K module is off line If the module is off line the image for the unit will be displayed in red and the value in the DI Mapping table will be shown as 0 Both the image and the value will return to normal once the module is online I 87040 DI Mapping DO Mapping Al Mapping AU Mapping Digital Input 1xxxx Address Module Ae e Channel Value Comment 27 16 87040 40 Digital Module 28 1C 87040 1 A 40 Digital Madule 29 1D L87040 1 0 40 Digital Module 30 1E 87040 1 30 0 40 Digital Module 31 F 87040 1 31 0 40 Digital Module 32 20 D All Deen Line 1 Off Line 0 33 2 87040 i 0 Ca Line 1 OffLine 0 34 22 8014 SE 2 All 1 OnLine 1 Off Line D 35 23 3 All 0 OnLine 1 Off Line 0 Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 15 Trend In addition to retrieving data values from the address table the Trend function can be used to monitor data and display it as a trend chart The following illustration is the working area of the Trend function Address Line Track 3 A ee ee Track 4 15 06 30 15 07 00 15 07 30 2014 04 03 2014 04 03 2014 04 13 A Setting and control area In this area can set condition to add an address and to start or stop monitoring and change the scope range B List of trend chart area In this area
57. e Interface to TCP IP and enter the IP address B In the Device section set the Address which is the Net ID of the controller C Check the Register starts at 0 checkbox D Enter the register address which can be found from the address mapping table in the Modbus Utility m Set the Data Type which is a Word unsigned 16 bit integer in this demo F Inthe Data range section enable Scaling by checking the Scaling checkbox and set the minimum and maximum values which are 10 to 10V in this demo ModBus Analog Output Module name ModBus Anat Short descriptions Interfaces 10 11 12 13 14 15 3 TTTTTTTTTTTTTT M Channel name A 0 Device B D Address enn E Rede 0 T eT egster starts are C Data type Data range ILI nsigned 1 E bit integer be iniri hd aimi Big Endian Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 100 Step 4 In the Modules folder expand the Control folder and then drag a Slider Control to the worksheet D DASY Lab12 Net unknown Worksheet File Edit Modules Measurement View Took Options Window Help rum Ga we FEE D c E m Modules Black Box Navigator a E3 Modules m Inputs tpt H E Trigger Functions H E Mathematics amp E3 statistics Modbus H E Signal Analysis S E Control 1 sequence Generator n Generator b Slider00
58. e and Time Settings Date moe zh5 exe 117296 el Aisa POEs autaexec bat 27 013 8 16 FF 01 56 01 zd B MU Retresh file list autoexec bat moe 2b5 exe readma txt Erase Disk Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 4 Before updating the firmware all existing files must be deleted Click the Erase Disk button to delete all files currently existing on the controller Update Firmware Network settings Date and Time Settings EraseDisk Confirm Size Date 117296 2014 3 4 EF 11 05 50 27 201 3 9 16 F 01 56 00 amp i B DU MTCP sw autoexec bat moe 2bb5 exe readma txt Ceo A Step 5 Select the new firmware file and then click the Upload gt gt button After the update process is completed the new file will be displayed in the file list If it is not displayed click the Refresh file list button to display the latest files fi 82 1b8 2 212 Connect Disconnect fee using an RS 232 arch for available ih a connection Uploading CAICPDASSModbus Lltilin FirmwareN al h4 T CPmBel 255 exe size 117285 bytes disconnect the INIT nd Time Settings Date Refresh file list autoexec bat maa 2Z65 exe Erase Disk EreseDisk fa Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 2 2 Updating via a Serial Port
59. e configuration of the modules together with the current values and then save the information as a text file Note The Monitoring function must be active before the Data Log function can be activated Step 1 First set a name for the log file by clicking the Log File option from the Log drop down menu in the Settings menu If a name is not set for the log file the default file name yyyymmdd txt will be used and stored in the log subdirectory Log lead Save Mc iPACBK NetlD 1 Scale Trend Step 2 Click the Log icon to begin recording log data Once recording begins the Log icon will show an active icon as below Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 56 Step 3 To open the data log file click the Log icon to stop recording first and then click the Open Log option in the drop down menu of Log icon to open the data log The I O data will be in the data og text file IPAC8K Netll CJ 20140409 txt Notepad File Edit Format View Help liddress reference mapping of Modbus TCP iPACSK NetID l I 87061 S1ot0 I 87028C Slotl 1 870280 Slot2 1 87046 Slot3 IP address 192 168 2 193 1 Modbus firmware version vl 7 2 Jan 03 2012 Hg 1 0 scan lib version v1 6 4 Aug 12 2013 Data 4 9 2014 Time 1 57 32 PM slot
60. ecute the Modbus Utility and select the Modbus TCP mode Select Controller Flease Select Controller File Window Client Tools Settings Help y Modbus TCP Client E d Modbus RTU Client Load UDP Search EE EE Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 4 Select the UDP option from the drop down menu and click the Search IP button to search for available controllers When the search is completed select an IP address and click the Connect button to establish a connection F3 Update Firmware Connectand Config Step by Step 7E mw y Pau Step 1 Power off the 166E l 3s000 1P 3s000 device UDP Step 2 For 7188E devices connect the INIT and GND pins _ go e eee For l 8000 modules shart the INIT and INIT COM pins ec For IP 8000 modules move the switch to the Init position 0 Tessen Step 3 Power on the controller The digital LED display will start counting Step 4 Connect the PC ta COMIT on the T8SE I S000 F 8000 device using an RS z cable or via the Ethernet Use the Search IF function to search for available Connect controllers or enter the IP address into the textbox to establish a connection len Ire LAE Dort To DFE Ir deesse mm i ye H a F4 Search available IP on LAN IF Setting an Cancel Noe ny Aias hha 1921682212 9 1 l 200
61. ents if the MailNotifier driver was set earlier The procedures to set MailNotifier can be gotten from below download link http ftp icpdas com pub cd 8000cd napdos driver ez data logger faq en ezdl1 003 03 how to set alarm notifies by sending email en pdf C Inthe Component Style section select the desired style for AI channel 0 D Click the Modify button to save the configurations Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 10 Click Workgroup1 to be a selected status from the Work Group section and the I O channels will be added to the channel list of the Workgroup1 in the later procedures Add Delete Property Reset Step 11 Click the AI List button in the Channel List section to display the AI channels that configured earlier Select all AI channels and click the Add gt gt button Channel Li AO List DI List DO List Freq List Virtual Channel Control Logic Web Camera ee ol uuum 1 6m I ome N Kem Deng 1017 30001 8 01 _30001 I Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 121 After clicking the Add gt gt button the selected channels will be added to the channel list panel of the Workgroup1 as shown in the following figure These channels will be used for monitoring purpose later 87017 3000
62. eplace Module ut Copy Delete search for Module Module Default Settings Mod ntation D e n Z pe Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 4 Configure the module properties in the Modbus Analog Input dialog box A In the Interfaces section set the Interface to TCP IP and enter the IP address B In the Device section set the Address which is the Net ID of the controller C Check the Register starts at 0 checkbox D Enter the register address which can be found from the address mapping table in the Modbus Utility Select 30 for Analog Input channels In this demo the register is set to 30000 E Set the Data Type which is a signed 16 bit integer in this demo F In the Data range section enable Scaling by checking the Scaling checkbox and set the minimum and maximum values which are 10 to 10V in this demo Modbus Analog Input Module name Modbus Anal Short descriptions 10 11 12 13 14 3gRBITTTTETTTTTTTTT M Channel name D gue C7 0x1 gt Registe Can o X Sel Resister stans 4077 Data type Data range Scaling i 16 bit integer Minimum 10 0000 b air 10 0000 Big Endian D Swap word order Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 96 Step 5 Click the Test button to verify the settings and then click the OK button to save the c
63. esponse Commands sent to the controller will be displayed in the left hand text field and the related response will be displayed on the right Use the following procedure to send a Modbus command Step 1 Set the COM Port mode to Modbus RTU Slave For more details of the procedure see Section 2 12 COM Port Settings Step 2 Click the Modbus RTU Client option from the Clients tools menu UDP Search Update Firmware Step 3 In the COM Status section select COM Port and Baud Rate from the respective drop down menus and then click the Open button to establish a connection to the COM Port COM Status Step 4 In the Command section enter a command and click the Send Command button to transmit the command Ensure that the Include CRC option is checked to automatically add a Checksum to the end of the command Command f E 1 10001 Send Command iiu iv Include CAC Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com e Step 5 The command will be displayed on the left hand side of the Command Response window and the response will be shown on the right hand side Note that the last two bytes are the CRC Commands Responses 01 01 00 0000 07 FD CA Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com E 2 19 Modbus TCP Client Tool The Modbus TCP MTCP Client Tool can be used to send Modbus mes
64. et the value of DO address to on and click the Off button to set the value to off and click the Inverse button to set the value contrary to current value Click the address column AD DO DO DI 00 00 DO Address 0 3 Lf Inverse Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 53 Step 4 To set the output values for the AO addresses click the address column and then the Channel Information dialog box will show Enter the output value and then click the Set button to apply the setting Click the address column Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 54 Step 5 To change the scope range click the Axis button to open the Change Scope Range dialog box Adjust the settings as necessary and then click the Set button The details shown in the Change Scope Range dialog box can also be fine tuned by dragging either of the scale arrows illustrated in the image below Line Color Track Track 1 Track 2 Track 3 Track 4 14 20 30 14 21 00 14 21 50 2014 04 03 2014 04 03 2014 04 09 EF Change Scope Range Y Max foo Y Min H0 X Range minute 14 Buffer Size 86400 A Timer Interval ms 1000 Exit Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 55 2 16 Data Log The data log function can be used to record th
65. figured the new channels will be displayed in the Channel List section as shown in the following figure Copyright 2013 ICP DAS Co Ltd All Rights Reserved Channel List Counter List Freq List Virtual Channel Control Logic Contact List Web Camera Nickname Tag Location Gain Offset Hight Alarm Low Alarm Description 87017W_30001 87017W_30001 87017W ChO 1 0 100 10 30001 87017W_30002 87017W_30002 87017W Ch1 1 0 100 10 30002 87017W 30003 87017W 30003 87017W Ch2 1 0 100 10 30003 87017W_30004 87017W_30004 87017W Ch3 1 0 100 10 30004 87017W 30005 87017W 30005 87017W Ch4 1 0 100 10 30005 87017W_30006 87017W_30006 87017W Ch5 1 0 100 10 30006 87017W 30007 87017W 30007 87017W Ch6 1 0 100 10 30007 87017W_ 30008 87017W_30008 87017W Ch7 1 0 100 10 30008 E mail service icpdas com Step 8 As the Device dialog box remaining on the screen using the images below as a guide repeat the procedure described in Step 6 to add the details for AO DI and DO to the Channel List Address Range Definition Oxxxx Coils DO E To 1xxxx Discrete Input DI a To Integer Address Range Definition Oxxxx Coils DO 1xxxx Discrete Input DI 3xxxx Input Registers Al j Integer Axxxx Holding Registers AO To Integer Address Range Definition Oxxxx Coils DO 1xxxx Discrete Input DI oto a To 3xxxx Input Registers Al a To Integer Axxxx Hol
66. hen double click the relevant channel The counter aur for us channel will then be set to 0 DI Mapping DO Mapping AQ Mapping Analog Input 3xxxx Ades Module siot Channel Value Cyment o0 00 l 7046 3 P Low Speed Counter 01 01 1 6 O46 3 40 Low Speed Counter Oe 02 1 6 O46 3 2 17 40 Low Speed Counter a OR DI Mapping DO Mapping J Al Mapping AD Mapping Digital Dutput xxxx Address Mode Slot Channel Value Comment oo TI 37045 Clear Counter O1 01 6 7046 3 1 02 02 87045 B 2 Clear Counter QO Clear Counter Double click the Value column Double click the Value column for channel 0 channel 0 DI Mapping DO Mapping Al Mapping AO Mapping a Analog Input 3xxxx Address Module Sit Channel Value anen 700 oo T nnm 4P co Speed Counter 01 01 87 045 i 40 Low Speed Counter 02 02 l 7046 17 40 Low Speed Counter The counter value for the channel 0 becomes zero Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 12 COM Port Settings Step 1 To adjust the configuration for the COM ports click the COM port icon to display the COM port settings panel IPACSK NetlD 1 192 168 2 193 Connect Eoo erate Mode Programming a ert cei cia Disconnect Modbus Timeout 200 ire Baud Rate 200 Data Bits eI Parity Noe SC Stop Bits D x
67. iew Tools Options Window Help D wiifdules Black Eox Tiesai E E gt Modules E fe my InputsQutputs E95 Trigger Functions ETE slider U E E Mathematics E E Statistics g L3 Signal Analysis B a Control O 20120314 I 3431 WNetiD 1 10 0 0 68 lfset w Power On Value Safe Value On line Mode Ethemet Disconnect EP Te ID V WII o S Chi 10 0 To 10 0 V bch 10 0 To 100 V 10 0 To 10 0 V p Seway 7 Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 2 3 Adding a Digital Input Channel Step 1 In the Modules folder expand the Inputs Outputs folder and then expand the ModBus folder Drag a Modbus Digital Input module to the worksheet D DASTLabl2 Net unknown Worksheet File Edit Modules Measurement View Toole Options Window Help rls DEGA Bb woe TEYK xw 5b5bm Modules Black Box Navigator L3 Modules Eh 2 Inputs mtputs E 3 Driver E DDE S E R3232 H E ICom H E IEEE 488 ge ModBus Bes m Analog Input Analog LIutput m Se Step 2 Right click the module icon and click the Module Properties option Modbus Digit Delete Module Delete Input Connections Delete Output Connections Replace Module Lut Cn p Delete search for Module Module Default Settmes Copyright 2013 ICP
68. ing registers 40027 40028 are addressed as 26 27 in Modbus 2 The value of register 40027 is shown as a 2 byte value 02 17 hexadecimal 535 decimal the value of register 40028 is 00 C8 hexadecimal 200 decimal To convert value to float format see Appendix D Range Codes for Analo Modules Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 238 4 Read Al 3xxxx Function Code 04 Read Input Registers Cnet to FG04 Sur ng Adiress Word Count Read registers Command 240002 30001 30002C Bye 0 1 2 3 J ByteCounte2 Net FC 04 Byte Count RegisterValues Response 2 4 4 0 0 0 6 Register 300012 300070 1 Input registers 30001 30002 are addressed as 0 1 in Modbus 2 The value of register 30001 is shown as a 2 byte value 00 00 hexadecimal 0 decimal the value of register 30002 is 00 64 hexadecimal 100 decimal To convert value to float format see Appendix D Range Codes for Analo Modules Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 139 5 Write Single DO Oxxxx Function Code 05 Write Single Coil Byte 0 1 283 4 5 Net ID FC 05 Write Address FF 0020N 00 00zOFF Exampk NetID 1 Hex 1 5 0 4 FF 0 set coil 5 to ONU 1504FF0 Be o 1 2 3 4 5 NetID FC 05 _ Write Address FF 00 ON 00 00 OFF
69. is powered on Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 36 Step 2 The controller should be rebooted if the new Power on settings would like to be applied After rebooting the Power on value will be displayed in the DO Mapping tab in monitoring mode or check the output LED DI Mapping DO Mapping Al Mapping AQ Mapping D igital Output Oxxx mes ITS Tata mment an jog QO 4L Digital module 01 01 0 4f Digital module 02 02 D Digital module m 03 03 2 i 40 Digital module O4 04 87 0681 2 O 4 Digital module 05 05 l 5706 2 D 40 Digital module DE 06 l 57 061 2 0 4 Digital module OF 07 l 57 061 2 O 4 Digital module M nn ma 127E J Do DAnniaitsl randla Oo Cn CT Re COE me D igital 0 utput Oxxx ies EE eT Tah mment Joa jog 1 4 Digital module 01 01 8706 2 1 4 Digital module 02 02 A 706 2 2 1 F Diatal module 03 03 ugs 40 Digital module D4 04 D5 05 06 0E After rebooting the controller the values for OF 07 channel 0 to 2 display the Power on values Lorne 2 9 2 Digital Output Safe Value If Modbus communication with the controller is lost for longer than the defined timer period the Watchdog will be triggered and all modules will be set to a preset Safe Value In the DO Safe Value tab of the DIO Settings dialog box che
70. k the Express I O Device Setup icon in the Communications folder to create a new I O Server and I O Device FE Modbus Demo Citect Explorer File View Tools Help Project List eae BH No Y A E oe Modbus Demo clusters I O Servers Alarm Trend Servers f Graphics Servers Ja Equipment k ITIFIT k Prr Po dis A J Network Boards Por Modems VO Devices I O Addresses Remapping Step 5 Once the Express Communications Wizard screen is displayed click the Next gt button to continue This wizard sets up communications for an I O Device and optimizes the runtime performance of the I O Device You can also use this wizard for the configuration of Disk I O Devices Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 6 Click the Create a new I O Server radio button and enter ModbusServer as the name of I O Server in the Name field and then click the Next gt button to continue Express Communications Wizard eX Select the I O Server you wish to work with You may S create a new I O Server by entering the desired name or select from your existing I O Servers Create a new I O Server Mame ModbusBerver C Use an existing I O Server Step 7 Click the Create a new I O Device radio button and enter Dev 8000 as the name of I O Device in the Name field and then click the Next gt button to continue Express Commu
71. lder named backup setting A status message Downloading Please Wait will be displayed while the file is saved ty Back up EEPROM fle e EXER Downloading Please Weit PEE Eb c b 6 x CA fe ICPDAS i Cx Modbus_Utility e ee backu p setting Connect and Contig eeprom eep ijs canne Back up Settings File Name lip8Q00 File Type eep Recover settings Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 130 Once the download is complete a message will be displayed to notify that the file was saved successfully Click the OK button to continue Modbus Utility Save EEPROM file successfully at CAICPDAS Modbus_Utility backup_setting ip 000 eep Size 32896 bytes Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 131 2 Recovering the Settings Step 1 Reboot the controller in INIT mode For I 8000 modules short the INIT and INIT COM pins For IP 8000 modules move the DIP switch to the Init position For 7188E devices short the INIT and GND pins Step 2 Execute the Modbus Utility and select the Modbus TCP mode Select Controller Flease Select Controller Modbus TCP i ModbusfATU _ Step 3 Select the Update Firmware option from the Client Tools menu to connect to the controller File
72. lement 7FFF 0000 Hexadecimal Units Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 149 o m Lo Gaimt 327678 0000000000 it Gain 1638 35 1 When I 87018 and I 87018R are connecting to a current source set to the 06 type code an optional external 125 Ohms resistor is required 2 I 87017RC has builtin 125 Ohms resistors for each channel When connecting to a current source no add any external resistors required 3 When I 87017 and I 87017R are connecting to a current source set to 0D type code an optional external 125 Ohms resistor is required On the other hand I 87017RC has built in 125 Ohms resistors for each channel so require no external resistors Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 150 2 Thermocouple Type Definitions 2 s Lima tris eer l l 7FFF DCA2 Hexadecimal Units Ii m m UJ m 2 s A 7FFF E6DO m 2 s Emu 532767 l l 7FFF A99A Hexadecimal Units 2 s sel unis Me l 7FFF DD71 Hexadecimal Units m N 2 s sel unis EE l l 7FFF 0000 Hexadecimal Units 2 s Soe nis ERE l l 7FFF 0000 Hexadecimal Units Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 151 2 s cree nes ERE l l 7FFF 0000 Hexadecimal Units 2 s Lima tnis eT l l 7FFF E56B Hexadecimal Units 16 C Type Decimal Units 32767 32767 0
73. lsius renwer a Decimal Units 32767 MM 332767 0 2 s Complement degree 7FFF 0000 Celsius SC uM EN E rE Type U YSIL Mix Decimal Units 32767 26214 100 2 s Complement l l 7FFF 999A Hexadecimal a mee mei me oma 1X 64 2 s DT LE 300 7FFF 999A Hexadecimal DEE Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 157 YSI L Mix Decimal Units 532767 22937 1000 2 s Complement l l 7FFF A667 Hexadecimal Units ohm 1064 1326000 YSI B Mix Decimal Units 32767 10922 2252 2 s Complement l l 7FFF D556 Hexadecimal Units ohm 418 s10000 E YSI B Mix DecimalUnis 32767 8738 3000 2 s Complement l l 7FFF DDDE Hexadecimal Units ohm 556 1010000 YSI B Mix DecimalUnis 32767 8738 __ 5000 2 s Complement l l 7FFF DDDE Hexadecimal Units ohm 927 1683000 YSI B Mix DecimalUnis 32767 6553 __ 6000 2 s Complement l l 7FFF E667 Hexadecimal Units ohm 1115 1062000 Cpu 50 ano nox v Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Appendix D Range Codes for Analog Modules mh e e 2 s cee 7 FFF E667 ate ae YSI H Mix DecimalUnis 32767 6553 _ 10K 2 s Complement l l 7FFF E667 B ae YSI H Mix Decimal Units 32767 1638
74. mal Units Digital Input Output Counter Frequency Encoder Modules 0 00030518 m gt x N 0 0045777 0 0015259 BENE MEN UJ n N A N A N A N A N A Counter 50 N A N A N A N A N A Mode F Bip N A N A N A N A N A Mode Up Down 54 Counter N A N A N A N A N A Mode AB Phase 56 N A N A N A N A N A Mode Analog Output Modules Output Range 20 0 mA 0 0 mA 0 mAt Decimal Units 32767 0 sag t2mAto Decimal Un 20 mA 2 s Complement l 7FFF 0000 Hexadecimal Units Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 0 00061037 ad Appendix D Range Codes for Analog Modules A o Gain 1638 35 40 mA 0000488296 4 7 FFF OH Decimal Units 4 mA to 1 31 120 mA 2 s Complement 0000 Hd a u Hexadecimal Units Gain 2047 9375 Decimal Units 32767 0 0 V to 10V 2 s Complement 7 FFF 0000 Hexadecimal Units m l Gain 3276 7 Decimal Units 32767 32768 10 V to 10V 2 s Complement 7 FFF 8000 Hexadecimal Units il if if 1l Gain 3276 75 Decimal Units 32767 0 V to 4 34 5 V 2 s Complement 7 FFF 0000 Hexadecimal Units i id ist int 6553 4 C m l Decimal Units 32767 32768 5 V to 5 35 5 V 2 s Complement 7FFF 8000 Hexadecimal Units Gain 6553 4 0 V to Decimal Units 132767 20 V 2 s Comp
75. modules 1 5 8 Updateable and programmable firmware The Modbus SDK provided by ICP DAS allows users to develop custom Modbus firmware The link for IP 8000 MTCP shows as below http ftp icpdas com pub cd 8000cd napdos modbus ip8000 demo bc Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com E 1 4 Typical Applications 1 4 1 Basic Application 1 Modbus TCP I O Device An I 8000 MTCP running the default firmware operates as a Modbus TCP Slave I O device Simply use the Modbus Utility to configure the device and then create a connection between the SCADA HMI software and the I 8000 MTCP Modbus TCP Modbus RTU ACSII Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 9 1 4 2 Basic Application 2 Modbus RTU to Modbus TCP Converter After setting the COM Port to gateway mode via the Modbus Utility the Modbus RTU device can be linked to the I 8000 MTCP using the Modbus TCP protocol The SCADA HMI software can then be configured to convert the Modbus RTU device to a Modbus TCP device Modbus TCP Command Protocol Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 100 1 4 8 Basic Application 3 Modbus TCP I O Device using the VxComm Technique An I 8000 MTCP is also able to link serial devices that are connected to the COM ports on the I 8000 MTCP device To use this function the VxComm driver first needs
76. n triangle button to start acquiring data The data can also be checked on the DI Mapping using the Modbus Utility iD DASTLabi2 HMet unknown Worksheet ze Edit Modules Measurement View Tool Options Window Help Oleh oe FENN AAD aL Lj Modules MoqgueDianr my Inputs Cutputs ES Trigeer Functions H E Mathematics wE Statistics E Signal Analysis 09 Status D E m Sani status Displ O OFF Status Help Exit SKIG7K Diaital DI Config Set PowerOn value C Safe Value Cho Chl Che Ch3 Che ChS Che T um umbo l o mE uud o umbo uh aa q b agha ee iy eig P CET em fI Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 2 4 Adding a Digital Output Channel Step 1 In the Modules folder expand the Inputs Outputs folder and then expand the ModBus folder Drag a Modbus Digital Output module to the worksheet D DASTLabl2 HNet unknown Worksheet File Edit Modules Measurement View Tool Options Window Help Pus OSR 3 5m ZEWA KOR BAG Modules Black Box Navigator Lj Modules E Driver E DDE Modbus E E R3232 E E ICom c IEEE 488 amp E3 ModBus Be 1 Analog Input m m Analog Output frr Djpits Ing ES OFC D Client Step 2 Rightclick the module icon and click the Module Properties option Modbus Diiqu Delete Module Delete Input Connections Delete Output
77. nd Command button to transmit the command ByteQ Byte Bytes Bytes Bytes Bytes 20006 120005 Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 63 Step 4 The command will be displayed on the left hand side of the Command Response window and the response will be shown on the right hand side UEC Oye Tour Moa fees LL LL SIBMIEMT eye Levee ees 01 02 Q0 0D 0004 01 02 01 02 01 02 00 0000 06 gt 01 02 00 00 00 as 01 dz 00 00 00 06 gt 01 02 00 00 00 05 01 020000 00 06 gt 01 02 00 00 0005 Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 Linking to SCADA Software via Modbus This chapter provides a description of how to connect SCADA Supervisor Control and Data Acquisition applications to Modbus in order to retrieve I O values via Modbus TCP protocol The SCADA will be described in this chapter are Vijeo Citect e DASYLab e EZ Data Logger Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 65 3 1 Vijeo Citect In this section a detailed description of the procedure for connecting the Vijeo Citect solution to controller via the Modbus TCP protocol is presented In this example Vijeo Citect version 7 40 is used 3 1 1 Creating a New Project an I O Server and an I O Device Step 1 Open the Vijeo Citect Explorer Software from the Startup Menu Schneide
78. nels can also be used as a Low speed lt 100Hz counter Click the module that is to be configured to open the Settings panel l 8 7046 The image here shows the I 87046 module as an example Step 1 In the DI Counter tab of the DIO Settings dialog box check the checkbox es for the channel s to be set and then click the Set DI Counter button to apply the new settings OIO Settings Counter Set Ol Counter For 87K series modules the DI Channels can also be used as la Low speed lt 100Hz counter The counter values are displayed inthe AI Mapping tab frite a value to DO inthe DO Mapping tab can clear the Icaunter value Analog Input 3xxxx i B7 04b 40 Low Speed Counter 1 6 7046 1 40 Low Speed Counter 1 6 O46 2 40 Low Speed Counter Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com E Step 2 After the counter s for the DI channel s have been set click the Al Mapping tab to display the channels that have associated counters together with the current values for the counter Note To get the current counter values needs to enable the Monitoring function first DI Mapping DO Mapping AU Mapping Bees Input 3xxxx oo 00 l 87046 IF 40 Low Speed Counter 01 01 1 6 7046 24 40 Low Speed Counter Oe 02 1 6 O46 2 17 40 Low Speed Counter Step 3 To clear counter value click the DO Mapping tab and t
79. nications Wizard Select the I O Device you wish to work with You may create a new I O Device by entering the desired name or select from your existing I O Device Create a new I O Device Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 69 Step 8 Click the External I O Device radio button to select the I O Device type and then click the Next gt button to continue Express Communications Wizard Select the type of the I O Device mm Persisted Memory I O Device Tua a Am C Disk I O Device Rr I O Device name Dey 8000 Step 9 Select the communication protocol by expanding the Modicon item and then expand Quantum item and then click the Modbus TCP Ethernet option Click the Next gt button to continue Premium WS E Quantum Ps LL i be Modbus ASCII Select the manufacturer model and I Modbus TCP Ethernet method of communication for the EMEN ee I O Device ada LU LIL Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 10 Determine the IP address by checking the LED on the left hand side of the controller and enter it in the IP address field In this example the IP address 192 168 2 199 is used Enter the Port number 502 in this example in the Port field and then click the Next button to continue Express Communicatio
80. nne nennen nnn nnn nnne nnns 59 2 19 Modbus TCP Client TOOL cacnazounsaetesncesnacecnsos drca xod a uU Six uE UR Mam pEUE dox MED ERE 62 3 Linking to SCADA Software via Modbus 65 3 1 WIPO CM ll 66 3 1 1 Creating a New Project an I O Server and an I O Device 66 3 1 2 Designing the Layout and Acquiring the Data eeeeeeeen 74 3 2 ASD M 94 3 2 1 Adding an Analog Input Channel cccccccccsscccseccesececeneeeeeeceneeeeeness 94 3 2 2 Adding an Analog Output Channel eeeeeeeern 99 3 2 3 Adding a Digital Input Channel eese 104 3 2 4 Adding a Digital Output Channel eee 108 3 3 EZ LOC TOT Mm 112 Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 3 3 1 Adding the I O Modules to the Workgroup nnn 112 3 3 2 Designing the Layout and Acquiring the Data ccccssssecceceseeseeeees 124 Appendix A Backing Up and Recovering the EEPROM Settings 128 1 Backing up the SettifiB5 vcrcciosseresacssdncatessuteansss dntateaaedianstsestadesanttaiassuesadess 129 2 Recovering the Settings acucsossioqu ee ee eee 132 Appendix B Function Codes FC cccccsssccccccssccsssceesccccccsssceescooeeeee 135 1 Read
81. ns Wizard You have selected a device which communicates using the TCP IP protocol Enter the TCP IP information here Modbus TCP Ethernet Step 11 There is no need to select any options on the following screen so click the Next gt button to continue Express Communications Wizard Select this option if you want this I O Device to link to an external tag database Link I O Device to an external tag database Database type Unity SpeedLink to OFS External tag database Browse Connection Add prefix to externally linked tags Tag prefix Iw Automatic refresh of tags Live Update lt Back Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 12 Verify that the details for the new I O Server are correct and then click the Finish button to complete the configuration Express Communications Wizard The Communications Wizard will make the following changes to the project Modbus Demo S i Using new I O Server ModbusServer Using Board Settings Memory address t I O address Interrupt Using Port Settings Baud Rate Data Bits EI Press Finish to save this Step 13 Double click the I O Servers icon to open the I O Server Modbus Demo dialog box in the Citect Project Editor window File View Tools Help Modbus Demo fiai Ef S E My Projects a Example cM Madbus Demo
82. nts E Clear It Modbus communication to the controller is lost fora specified duration the Watchdog willbe activated and all analog ciqital output modules will be setto their preset Sate values and the L3 LED on the panel will flash to indicate that an error has occurred The Watchdog Timeris resetwhen Modbus communication is restored To disable the Watchdog Timer set the timer value to lt 5 seconds A CPU Reset Status Indicates whether the current status was set during a normal power on or if it was reset by the CPU Watchdog By Power on This status message will be displayed if the controller was Started normally By CPU WDT This status message will be displayed if the controller encountered an error that caused the CPU Watchdog to reboot the controller B CPU Reset Event Indicates the number of times the controller has been reset due to CPU and power on events Clicking the Clear button will reset the counter to 0 Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com E C Watchdog Timer Indicates the count down duration of the Watchdog Timer To enable the Watchdog Timer the duration has to be set more than 5 seconds and the Set button has to be clicked for applying the duration ee 21 25 AM Set vVVDOT 15 OKI T Piena Tie controller is lastta specified iduratian the Watchdog will be activated and all analog digital output modules will be sett
83. o their preset safe values and the L3 LED jon the panel will flash to indicate that an error has occurred The Ivvatchdag Timer is resetwhen Modbus communication is restored n D WDT Event Counts Indicates the number of times the controller has been reset due to Watchdog Timer events Clicking the Clear button will reset the counter to 0 Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 14 Monitoring The Monitor function is used to retrieve I O values immediately and also set the output values Step 1 In the monitor drop down menu click Timer interval to set timer scan interval Modbus Utility EL Please Enter the Timer Interval by millisecond The current interval 1000 ms Step 2 Click the Monitor button in the tool bar to begin scanning After the monitoring process begins the Monitor icon will show an active icon as below To stop monitoring process click the Monitor button again 5 uem Monitor The I O values in the mapping table will be refreshed periodically but the update ia etd on the value set for the timer interval AoMeppng Summay gt 0 se u TE ESTE omment 4 Digital Module HAD igital Module HED igital Module 4 Digital Module 4000 igital Module AD igital Module Digital Input 1xxxx 1 ee Address Module Q0 00 87046 01 01
84. onfiguration The data can also be checked on the AI Mapping using the Modbus Utility Modbus Test Mod Bus module response Address 1 Raw data 81Z scaled data 247050 Data range iv Scaling Minimum 10 0000N Maximum 10 0000 Interface l 8431 NetiD 1 10 0 0 bs On line Mode Ethemet Disconnect I 8017H 8017H3 1 801 7H 8017HS 8 100 V 1 801 7H 8017H5 1 801 7H 8017H5 1 801 H78U17H5 8017H 8017H5 1 801 7H 8017HS 1 801 TH 8017HS 1 801 7H 8017HS 001 08 10 0V 1 328 08 10 0 V 4 331 08 10 0 V PO Bo dB Bo Po Po Ro GU CU d C3 Pt C Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 6 In the Modules folder expand the Display folder Drag an Analog Meter or a List to the worksheet Click the run triangle button to connect to the module and acquire data D DASYLab12 Net unknown Worksheet OB dit Modules Measurement View Tools Options Window Help s DEG JANA FEWN OA a uml we 906069 6638 Modules Black Box Navigator E35 Modules FE Analog Dis00 asd lial S E Inputs Outputs ERISA TEA E Driver Mo nalog Disp L5 DDE R3232 E ICom E IEEE 488 Cy ModBus E OPC DA Client Ivi H E Trigger Functions ae H E Mathematics zie List00 H E Statistics Edit Display Help H E Signal Analysis H E Control 3 6 Display E ER ER e ed
85. r Electric f n7 n E e AS gt StruxureWare SCADA E SCADA Expert nuum Vijeo Citect V7 40 P Online Registration pe la e irm n TR 4 le J F A TES EEA EAEE E te n Seeger Se Be 4 aA 4 a S Toe dr Yt Ea N E Vijeo Citect Explorer is aS S oe a d v z i e Vyeo Citect PL based Help FJ vi Er Cit ct ur time 2i ui d ceiling Iia Vyeo Citect Web based Help a A cena Tenens TER LUN TM ime Configuration fPtruxureware Step 2 In the Citect Explorer window click the New icon to create a new project E Example Citect Explorer File View Tools Help Example Praject List Conteme9 st Example E My Projects Example End a qu Tags Equ Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 In the New Project dialog box enter a name for this project The name Modbus Demo is used in this example Leave all other parameters at their default values and then click the OK button to continue EX T New Project x pc 50585 6G Rm Name gene Description ProgramData Schneider Ele Browse Iv Create project based on starter project Starter project selection 5xW Style 1 HD1080 titleb Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 4 In the Project List panel expand the Modbus Demo folder and then double clic
86. roperties dialog box will be displayed Click the Appearance tab and click the Text radio button and enter DO Button in the Text field This will be the label displayed on the button Click the Input tab and check the Up checkbox then enter Toggle DO 0 in the UP Command text field Click the OK button to save the changes Button Properties seria s Custom Fill Color Fill Color Up Cy Fill calor Gown Button Properties Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 10 Click and hold the LED Object icon and then drag and drop it onto the page to add a new LED object to the page A Citect Graphics Builder Modbus Demo Untitled 2298 88 GUIDE GRID Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 91 Step 11 Once release the cursor the Symbol Set Properties dialog box will be displayed Click the Appearance tab and click the On Off radio button in the Type section then enter DO 0 in the ON symbol when text field Click the OK button to save the changes light 1 red Clear Property Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 12 Repeat Steps 10 and 11 to create a second LED object Use the parameters shown in the image below for this LED object v Appearance T Sas Scaling m Type ON symbol when CMM S C M
87. roup Step 1 Open the EZ Data Logger software and the main page will be displayed The EZ Data Logger will load a default project named MyProject ie EZ Data Logger Professional Edition V4 5 7 2013 04 25 CAICPDAS EZ Data_Logger Project MyProject ini Project Execute User Setup Help ea Simulation Workgroup1 Workgroup2 Workgroup3 Save Interval Sec 1 Record Time Haur 1 4 10 2014 5 47 44 PM Admin login Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 112 To create a new project click New Project in the Project menu Project Execute User Setup Help New Project n Save Project As Open Database Open Error Message language Exit Step 2 Enter a name for the project and click the Save button Record System Config Group Setup Open Database T New Project esses NU al Tow k Computer Local Disk C ICPDAS EZ Data Logger dis E S Aa 3 Q New folder n HP Universa Al Js KCPDAS Jj DCON Uti di eLogger i i A Name di Demo m demol di dummy di MyPraject di STA Weekend Special 72hr Charge P TestForManual Derno ini demo 1 ni zE dummry ini MyProject ini 5 STA Weekend Special 2hr Charge ini Jc e GENE T GE were ba confiq di Help J Languac Jo Layout Ji leg Project Ji Demo Ji demo File name Hide Folders NER 8 8 SX AE
88. s COM1 is connected to the computer Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 128 1 Backing up the Settings Step 1 Reboot the controller in INIT mode For I 8000 modules short the INIT and INIT COM pins For IP 8000 modules move the DIP switch to the Init position For 7188E devices short the INIT and GND pins Step 2 Execute the Modbus Utility and select the Modbus TCP mode Select Controller MHodbus RTU Step 3 Select the Update Firmware option from the Client Tools menu to connect to the controller File Window Cl Load UDF Search Controlle Update Firmware Py ient Tools Settings Modbus TCP Client Modbus RTU Client Help Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Select the COM port from the drop down menu and then click the Connect button Once a connection is established the Back up Settings and Recover Settings buttons will be displayed Connect and Contig r Connect and Contig Disconnect Back up settings Recover settings Step 4 Click the Back up Settings button and the Back up EEPROM file dialog box will be displayed Click the Save button to save the current configuration of the controller to the default root fo
89. s Demo Untitled2 P1 File Edit View Objects Text Arrange Tools Window Help DEB a ule EEA Safle eiim e N SCADA Expert QO mI D Vijeo Citect ta a Ce mn DO LED DI LED AQ Value qu o Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 86 Step 17 Once release the cursor the Text Properties dialog box will be displayed Click the Appearance tab and click the Numeric radio button in the Type section and then enter AO 0 in the Numeric expression field and set the Format to Click the Input tab and enter ENTER in the Key sequence field box Enter AO_O arg1 in the Command field and then click the OK button to save the changes Text Properties nt Scaling Fil Input Slider Access Metadata Numerjc expression TD sj Multi state C Array Security v Same area as object Iv Same privilege as object Command area All areas Delete Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 397 Step 18 Repeat Step 16 to create another new number object and place it below the AI Value text object When the Text Properties dialog box is opened for the new Number object click the Appearance tab Click the Numeric radio button in the Type section then enter AI 0 in the Numeric expression field and set the Format to In this case there i
90. s no need to set the Input parameters so click the OK button to save the changes Text Properties C Aopearance J Movement Scaling lt Fill lt Input Slider 2 Access Metadata Type paraan C Multistate C Array d FU 3 Step 19 The layout for the finished page is shown below Click the Save button to save the page HT Citect Graphics Builder Modbus Demo Untitled2 aa File Edit View d Text c Took Window Help DI LED AQ Value AI Value Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 20 In the Page field enter page1 as the name of the page and then click the OK button Page l Symbol Page loosed Alarm CSV Indude ControlInhibit Example Disabled 8 indude Hardware Library Controls ManualCOverride Library Equipment ProcessAnalyst ie Modbus Demo Soe 5xW Style Indude Gtarhin Tah Shwe Tnechide 4 Step 21 Switch the screen to the Citect Explorer window Click the Computer Setup Wizard button to open the Computer Setup Wizard EJ Modbus Demo Citect Explorer File View Tools Help Modbus Demo sl A FET ED WS I Sat Project List Contents of Modbus Demo Modbus Demo Equipment Sea HENE TODEN E Graphics Citect VBA Files Cicode Files gt CitectVBA Files Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step
91. sage to read or write I O values via the Ethernet The following image provides an overview of the MTCP Master Tool interface PX MBICP Ver 115 ModbusTCcP Protocol Description 182 168 255 1 o multiple coils status Ds for DO d 6 bytes for Modbus TCP protocol D Transaction identifier copied by Server usually 0 e 1 Transaction identifier copied by server usually 0 Byte 2 Protocol identifier 0 Byte 3 Protocol identifier 0 Byte 4 Field Length upper byte 0 r Statistic Clear Statistic Difference Commands qin Packet r Responses Total Packet Size Bytes mcs Total Packet Size Bytes Packet Quantity Sent Packet Quantity Received Timer Mode Fired Ead Interval 100 Paling ar Timer Mode Date Time Poling Made Timing ms Start Time Start Time i Max 000 Average E Step Time Stplme E Dr Send Command Byte Bytel Bytes Bytes Clear Lists EXIT Program A Modbus TCP Click the Connect button to connect the controller using the selected IP address and Port number Click the Disconnect button to end the connection B Protocol Description This section provides a description of the request and the response Note that a 6 byte prefix must be used for the Modbus TCP protocol For more detailed information regarding this section see Appendix B Function Codes FC C Polling Mode This mode is used
92. set the configuration again After clicking the Save icon the Modbus Utility will generate two files The default file names are Modbus 8E ini and Modbus_8E txt H ModBus BE ini 4 0 2014 2 37 PM Lj ModBus 8E txt 4 9 2014 2 37 PM Two methods can be used to review the settings of both a specific controller and each module that is inserted in it A Using the Modbus Utility Click the Load icon to load the ini file to the Modbus Utility Load ModBus 8E ini to the Modbus Utility B Using a text editor such as Notepad Open the txt file in the text editor to view the details k J a l A Open ModBus 8E txt in the Notepad Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 18 Modbus RTU Master Tool The Modbus RTU MRTU Master Tool can be used to send Modbus message to read or write I O values via the COM port The following image provides an overview of the MRTU Master Tool interface dai MERTU V 109 COMI COM Status Protocol Description COMI 175200 Het ID Station number Line control M81 51 FC 01 v Byte 2 3 Reference number Byte 4 5 Bit count Upen Close Polling Mode No W atng r Statistics Clear Statistics r Commands r Responses Timeout 200 ms Se D Curent Packet Size Bytes g PAE Curent Packet Size Bytes 7 st _ Stop Total Packet Size Bytes g Quantity Total Packe
93. settings panel E Controller Panel and Module Panel Left hand side COM ports and Watchdog Timer WDT settings Right hand side Module setting panel F Address table mapping table Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Note If the warning message shown below is displayed after executing the Modbus Utility reboot the program by right clicking on the shortcut and clicking Run As Administrator to open the application with Administrator privileges Modbus Utility The application requests higher privileges Please right click the shortcut and choose Run As Administrator option or select the properties gt Compatibility tab gt select the Run This Program As An Administrator check box and then click OK Right click on the shortcut MBus am Modbus Utility dg Run as administrator Pin to Taskbar Unpin fram Start Menu Remove from this list Properties Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 2 Updating the Firmware This function is used to update the firmware to the latest version The firmware can be updated using either a COM port or a UDP connection However ensure that the LAN1 or COM1 ports are connected to the network or the computer before attempting to update the firmware 2 2 1 Updating via the Ethernet Step 1 Reboot the controller in INIT mode For I 8000 modules short the INIT and
94. ss 31 2 6 Address Table Mapping Table cccccccsssceccsececesesesesceseenesesenness 32 2 7 Library Versl RR M 33 2 8 Range Code and Offset Settings ccccccsecccsseccesesceesceceneceeeeceteneeeeness 34 Lod TRAIN COGS MARRE REESE 34 Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 2 0 2 OET CNE E E eee eee nee ee ee 35 2 9 Digital Output Power on and Safe Values eee 36 2 9 1 Digital Output Power on Value eese 36 29 2 Digital Output Sate Valle essen secu eph nr eR Iu E MM SOR UN EDU 37 2 10 Analog Output Power on and Safe Values eene 39 2 10 1 Analog Output Power on value eeeeeeeeenne 39 2 10 2 Analog Output Safe Value eeseeeeeenennm eene 40 2 11 87K Digital Input COUNTEL cccccccseccceseccesececenseceueceeeeceseeeeeeecenensetees 42 2 12 COM POT SOUNE cT T MEM 44 2 12 1 COM Port Enable NIGBOSu euius lago ior a quete lem Encit eue loqra ispum 45 2 13 Watchdog Timer WDT Settings ccccccssseccceseccceeseceeeneceeeeneseseeaess 47 2 14 MORONE dotrrTT 49 2 15 iine 52 2 16 NAN OS 56 2 17 Save and Load the Configuration Settings cccccccccssesccseeseeseseeeneeeees 58 2 18 Modbus RTU Master Tool eeeeeeeeeeeeeeee eee n
95. t Size Bytes d Timer Mode Fixed Period Packet Quantity Sent 0 Packet Quantity Received g Interval 50 ms m Polling or Timer Mode Date Time Polling Made Timing me SH Stop start Time Time Start Mas 000 Average i Min 100 m Stop Time EIE ommand i a aaa O Send Command Exit Program A COM Status Connect to the controller is related to the Open button and disconnect to the controller is related to the Close button B Protocol Description This section provides a description of the request and the response For more detailed information regarding this section see Appendix B Function Codes FC C Polling Mode The waiting period to this mode will not be more than the timeout The next command will be sent immediately once receive the response This mode is used to perform the transmitting time and the timeout is set to be the maximum waiting period Click the Start button to activate Polling Mode and click the Stop button to cancel it Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Timer Mode Enter a value that must elapse before a command is sent in the Interval textbox Click the Start button to activate Timer Mode and click the Stop button to cancel it D Command This section is used to enter commands Click the Send Command button to transmit to commands E Command R
96. tablish a connection between the Switch Control and the Digital Output module Click the run triangle button to exporting value by clicking the Switch00 The value can also be set on the DO Mapping using the Modbus Utility D DASYLab12 Het unknown Worksheet pus Edit Modules Measurement View Tools Option Window Help Oleh JHO FEA KOR Bod Modules Black Box Navigator E3 Modules C InputsOutputs H E Trigger Functions H E Mathematics wE Statistics E Signal Analysis B seich0n 9 Control j 3 Switch 0 n G EEEENY H NN Na C Safe Value Piom Cho Chl Che Ch3 Ch4 ChS Chb Chi ae ee ee V GN cl Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 3 EZ Data Logger In this section a detailed description of the procedure for connecting the EZ Data Logger solution to the controllers via the Modbus TCP protocol is presented In this example EZ Data Logger version 4 5 7 is used Before you using the EZ Data Logger the controller should be correctly configured using the Modbus Utility The Net ID is set using the 8 bit DIP switch located on the right hand side of the controller see Section 2 4 Net ID Station number Setting for more information The EZ Data Logger can be downloaded from the following website http ftp icpdas com pub cd 8000cd napdos driver ez data logger 3 3 1 Adding the I O Modules to the Workg
97. tatus 3e 20 4 Address starts from 0 Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 32 2 7 Library Version The version of the library depends on the version of the firmware The latest version of the firmware can be obtained from the following addresses For 7188E http ftp icpdas com pub cd 8000cd napdos modbus 7188e firmware For ET 87PN http ftp icpdas com pub cd 8000cd napdos modbus et87pn firmware For I 8000 MTCP http ftp icpdas com pub cd 8000cd napdos modbus 8000e firmware For IP 8000 MTCP http ftp icpdas com pub cd 8000cd napdos modbus ip8000 firmware Check the version information for the library using the following procedure Step 1 Select the About option from the Help menu File Window Client Tools Settings Hel om T I ne r mu cL mm E id Im Y p EL T i m lt Save Wlonitar Log E a E p p A J m 2 Load Step 2 The version information will be displayed in the Modbus Utility About dialog box The Modbus library and the 1 0 scan library are related to the firmware name The format of the version information is as follows Modbus Utility En Modbus Utility version 1 6 1 20 404 08 Library Version for 7138 8000 34
98. to perform the transmitting time The next command will be sent immediately once receive the response Click the Start button to activate Polling Mode and click the Stop button to cancel it Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Timer Mode Enter a value that must elapse before a command is sent in the Interval textbox and then click the Set button Click the Start button to activate Timer Mode and click the Stop button to cancel it D Command This section is used to enter commands Enter the command including the 6 byte Modbus TCP prefix and then click the Send Command button to transmit the command E Command Response Commands sent to the controller will be displayed in the left hand text field and the related response will be displayed on the right Use the following procedure to send a Modbus command Step 1 Click the Modbus Client from the Clients tools menu File Window ot Ce Jelp UDP Search IPACSK Update Firmware Step 2 In the Modbus TCP section enter the IP address and the Port number in the respective textboxes and then click the Connect button to establish a connection If you also wish to create a data log click the Data Log checkbox ModbusTCP ip 192 168 2 199 Port 502 C connect Disconnect Data Log Step 3 In the Command section enter a command and click the Se
99. ton in the Driver List numbered 1section to display the Driver dialog box Driver List MailNotifier VirtualChannel i 2 Modi Install E hannal peo 5 A E Driver a 3 q E Driver Mode N Time Qut ms 200 COM Port 1 BaudRate 1 15200 Checksum Disable Device List Modify Install Search Device Close Help Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 115 Step 5 Select Modbus TCP from the Driver Mode drop down menu and enter the controller IP address in the Host text field and then click the Install Device List Host can be IP or hostname ie 59 120 56 99 or h1 ddns com Modify insta gt Search Device Close Help The new driver will be added to the Driver List as shown below Driver List IMTCP 192 168 2 199 P502 MailNotifler VirtualChannel Install Modify Delete Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 116 Step 6 Click the Device button in the Driver dialog box to display the Device dialog box Device List Driver Mode Modbus TCP Time Qut ms 1500 Host can be IP or hostname ie 59 120 56 88 or h1 ddns com Host 192 168 2 193 Modify Install search Modbus TCP select Driver MTCP 192 168 2 193 P502 Nickname Module Choose one module
100. ulti state Animated Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 83 Step 13 Click the Text icon and then move the cursor onto the page above the left hand LED object and enter DO LED to the text field Af Citect Graphics Builder Modbus Demo Untitled Ll File Edit View Objects Text Arrange Tools Window Help n la a uele velie waes site e Ce ERE GUIDE GRID Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 84 Step 14 Once finishing entering the Text click the text again and the Text Properties dialog box will be displayed Verify the words in the Text field and then click the OK button to save the settings z Text Properties SE Font Arial PRUA SEI GS angen feris Step 15 Follow the Steps 13 and 14 to create three more Text objects and place them in the appropriate locations Use the parameters shown in the image below for these Text objects DO LED m DO LED DI LED ub qub DO LED DI LED AQ Value qub T Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 85 Step 16 The layout of the page at this stage is shown in the image below Click and hold the Number icon and then move it onto the page below the AO Value text object to create a new number object Af Citect Graphics Builder Modbu
101. xample DASYLab version 12 is used This solution can also be used to request data from external devices such as the ET 7000 I 7188 MTCP or WISE 7000 using the Modbus protocol Before using DASYLab the controller should be correctly configured using the Modbus Utility The Net ID is set using the DIP switch located on the right hand side of the controller see Section 2 4 Net ID Station number Setting for more information 3 2 1 Adding an Analog Input Channel step 1 Open the DASYLab software DASYLab 12 0 E National Instruments hs yt Step 2 In the Modules folder expand the Inputs Outputs folder and then expand the ModBus folder Drag a Modbus Analog Input module to the worksheet D DASTLabl12 Net unknown Worksheet File Edit Modules Measurement View Took Options Window Help um 2G a 3 b m E z EUM FEB AAO r Modules Black Box Navigator LE Modules Br ies Inputs Cutputs E Driver Modbus RS232 7 EG ICom 3 IEEE 488 43 aS lt lt ENS d TII s LIT nut Be E Digital Input fa Digital Output m OPC DA Client EB Ii ES Trigger Functions E E E E E Copyright 2013 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 94 Step 3 Right click the module icon and click the Module Properties option Modbus Anat Delete Module Delete Input Connections Delete Ciutput Connections R

Download Pdf Manuals

image

Related Search

Related Contents

Normativa Medife AC  WAITIN ON NEW DRAWINGS FOR BACKGROUND - For-Tune    Installation Manual  The Objective Caml system release 3.00 - The Caml language  Manual  Inversor 150 watts - Manual de instruções  

Copyright © All rights reserved.
Failed to retrieve file