background image

 

Chipkin™

 Modbus® RTU Data Client

 

User Manual

 

 

3381 Cambie Street, #211 

© 2018 Chipkin Automation Systems 

Vancouver, BC, Canada, V5Z 4R3 

All rights reserved 

1-866-383-1657  

Chipkin.com

 

Page 17 of 55 

 

MODS FOR DATA CONVERSION 

Since the Modbus Protocol only sends data in 16-bit registers, some data modification is needed to 
convert those values into floats.  Usually Modbus devices to send floating point data as two 16-bit 
registers that then need to be combined to properly retrieve the original floating-point value. 
 
If data needs to be modified, use the following steps to add Mods. 
 

First, click on the “Mods Configuration” link as shown in the image below:

 

 

Figure 4.2-1 - Mods Configuration Link 

You will see the following screen: 

 

Figure 4.2-2 - Insert Mod Link 

Click on the “Insert” link to add a Mod.

 

Summary of Contents for Modbus CAS2500-01

Page 1: ...Toll Free 1 866 383 1657 3381 Cambie St 211 Vancouver BC Canada V5Z 4R3 Chipkin Modbus RTU Data Client USER MANUAL VERSION 0 19 PRODUCT NUMBER CAS2500 01 DOCUMENT REVISION 1...

Page 2: ...ACE 7 WELCOME 7 CHIPKIN 7 SAFETY WARNINGS 7 CUSTOMER SUPPORT 7 2 OVERVIEW 9 PRODUCT SUMMARY 9 SYSTEM OVERVIEW 9 OPTIONAL EXPANSION MODULES 9 INSTALLATION AND CONFIGURATION SUMMARY 9 DEVICE WIRING REQU...

Page 3: ...g the Configuration 33 5 COMMISIONING DIAGNOSTICS AND TROUBLE SHOOTING 36 WHAT TO TAKE TO SITE FOR COMMISSIONING 36 Software 36 Hardware 36 DISCOVER GATEWAY S IP ADDRESS 37 Setup reference card 37 Usi...

Page 4: ...odbus TCP and RTU Tasks Link 22 Figure 4 3 3 Modbus RTU Tasks 22 Figure 4 3 4 Edit Modbus Task 23 Figure 4 3 5 Task Data Table Changed 23 Figure 4 3 6 Mod Configuration Form Data Logging 24 Figure 4 3...

Page 5: ...igure 4 7 5 Import Successful 35 Figure 4 7 6 Export Configuration 35 Figure 5 1 1 DB9 Gender Changers 37 Figure 5 1 2 RS232 Mini Tester 37 Figure 5 2 1 Setup reference card 38 Figure 5 2 2 IP Setup t...

Page 6: ...y time without notice and assumes no liability for its accuracy In the preparation of this user manual Chipkin Automation Systems has incorporated and or compiled service information and maintenance p...

Page 7: ...ovides expert solutions for converting BACnet Modbus and Lonworks to name just a few and enabling interfaces for HVAC fire siren intercom lighting transportation and fuel systems The high quality prod...

Page 8: ...ada V5Z 4R3 All rights reserved 1 866 383 1657 Chipkin com Page 8 of 55 SALES AND CUSTOMER SUPPORT TOLL FREE 1 866 383 1657 FAX 1 416 915 4024 EMAIL salesgroup1 chipkin com GENERAL TOLL FREE 1 866 383...

Page 9: ...data and stores trending data over time The data client typically sends polling messages extracts any data values and stores the values in an internal database These values are then viewable via webpa...

Page 10: ...on Systems Vancouver BC Canada V5Z 4R3 All rights reserved 1 866 383 1657 Chipkin com Page 10 of 55 3 CONNECTIONS NETWORK CONNECTIONS This block diagram lists common network connections that can monit...

Page 11: ...escribe the wiring connections used by the various ports of the CAS2500 01 This includes the pin outs of the ports for the protocols that are used PIN OUT The CAS2500 01 has two serial ports This sect...

Page 12: ...Figure 4 1 1 Modbus RTU Configuration Link Or by typing the following URL into the web browser http ipaddress port bin modbusrtuclient config where ipaddress is the IP Address of the data client and...

Page 13: ...U Task Insert Link Clicking on the Insert link will show the following table Figure 4 1 3 Modbus RTU Task Form Fill out the following fields to being polling for data Name The name of the task This ca...

Page 14: ...0050 Scan How often in seconds to run this task After filling out the form click the insert button If successful you will see the following screen Figure 4 1 4 Successfully Added Modbus RTU Task Click...

Page 15: ...anada V5Z 4R3 All rights reserved 1 866 383 1657 Chipkin com Page 15 of 55 Figure 4 1 5 System Page Link Next find the Database sidebar menu on the lower left side of the web page Then click the Modbu...

Page 16: ...rt you are using on the computer You may need to confirm the com port by using the Device Manager See Appendix C Modbus RTU Software Version Finding the Com Port for more information Dbits The databit...

Page 17: ...fication is needed to convert those values into floats Usually Modbus devices to send floating point data as two 16 bit registers that then need to be combined to properly retrieve the original floati...

Page 18: ...Mod2x16BitToIEEE Reverse Mod Leave unchecked Byte Order Set to DCBA the most common byte order that we have seen Name Use a name that explains what the mod is for Example Convert4000140002ToFloat Sou...

Page 19: ...anada V5Z 4R3 All rights reserved 1 866 383 1657 Chipkin com Page 19 of 55 Destination Length set to 1 Once the form is filled out click the insert button See image below of a filled out entry for one...

Page 20: ...5 Figure 4 2 5 Example 2 of Mod Form Filled After clicking the insert button you will see a summary of the Mods that have been created See image below for the two mod examples above Figure 4 2 6 Summa...

Page 21: ...get the data for logging into the da_data_logging This will be covered in the next few sections 4 4 1 Logging Raw Data and 4 4 2 Logging Modified Data Following these sections will be 4 4 3 Configurin...

Page 22: ...Systems Vancouver BC Canada V5Z 4R3 All rights reserved 1 866 383 1657 Chipkin com Page 22 of 55 Figure 4 3 2 Modbus TCP and RTU Tasks Link You will see the following screen Figure 4 3 3 Modbus RTU T...

Page 23: ...ll see the following updated table entry Figure 4 3 5 Task Data Table Changed The data will now be stored directly in to the da_data_logging table ready for logging Logging Modified Data For modified...

Page 24: ...ts reserved 1 866 383 1657 Chipkin com Page 24 of 55 Figure 4 3 6 Mod Configuration Form Data Logging Click insert to add the mod If the mod had already been created then from the Mods Configuration s...

Page 25: ...3 1657 Chipkin com Page 25 of 55 Figure 4 3 8 Edit Mod Form for Data Logging Click the save button and verify that it was successful Figure 4 3 9 Mod Edited for Data Logging ConfiguringData Logging On...

Page 26: ...ogging Configuration Link This screen will show all the data that is currently in the da_data_logging table To properly log these values click on the Edit link of each item and provide the name for ea...

Page 27: ...Vancouver BC Canada V5Z 4R3 All rights reserved 1 866 383 1657 Chipkin com Page 27 of 55 Figure 4 3 12 Data Logging Task Configuration Link You will see the following screen Figure 4 3 13 Data Logging...

Page 28: ...l logs are logs where each entry is entered each time interval For example if Scan is set to 30 there will be an entry every 30 seconds Max Age always set to 0 Archive Format this is how the data is s...

Page 29: ...s and files are generated you can click on the List of Log Files link in the Navigation sidebar See image below Figure 4 3 16 Data Logging Files Link The List of Log Files to display a list of the exi...

Page 30: ...he configuration process has finished you will need to reboot the system for the new configuration to take effect First return to the main system page by typing in the follow URL into a web browser ht...

Page 31: ...ure 4 4 2 Save Database Successful Click the back button in your web browser and then click the Reboot System link Figure 4 4 3 Reboot System Link Click Ok when prompted and you will see the following...

Page 32: ...ation section above Then click on the Delete Database Link Figure 4 5 1 Delete Database Link Click Ok when prompted and verify that the result XML has a response status of OK Figure 4 5 2 Delete Datab...

Page 33: ...ile which is the configuration of the gateway Importing the Configuration Sometimes Chipkin will send you a configuration file to load onto the Gateway or you would like to load an older configuration...

Page 34: ...mport File Browser The file should now be displayed next to the Choose File button Figure 4 7 3 Configuration File Ready for Import Finally click the Import Button The file will be parse and the outpu...

Page 35: ...couver BC Canada V5Z 4R3 All rights reserved 1 866 383 1657 Chipkin com Page 35 of 55 Figure 4 7 5 Import Successful After this return to the system page and follow the instruction in the Completing t...

Page 36: ...nner Used to test Modbus TCP and Modbus RTU configurations Free http store chipkin com articles modbus scanner what is the cas modbus scanner Hardware A laptop Used to configure and diagnose the gatew...

Page 37: ...rial cable can be useful when communicating with drives that use serial connections such as Modbus RTU and VeederRoot serial DISCOVER GATEWAY S IP ADDRESS By default the gateway is shipped with an IP...

Page 38: ...age 38 of 55 Figure 5 2 1 Setup reference card Using the IPSetup tool 1 Download the IP Setup tool from chipkin s website http www chipkin com cas gateway ip address tool 2 Run the IP Setup Tool appli...

Page 39: ...n be viewed and downloaded by going to log messages page http IPAddress bin system log The log file will automatically be disabled if the free space on the SD card is less than 10 of the total Default...

Page 40: ...ned IP address UPDATE FIRMWARE This document assumes that you have successfully connected to the gateway and can see the gateway in the IP Setup Tool Note Usually the firmware is already loaded on the...

Page 41: ...e button This will open a file explorer Navigate to the firmware file and click the Open button The file path will be inserted into the FileName field Figure 5 6 2 AutoUpdate tool window Image 2 AutoU...

Page 42: ...ts reserved 1 866 383 1657 Chipkin com Page 42 of 55 Figure 5 6 3 Firmware update success If the update fails you will see either Update Failed or Updated Timeout If either of these messages appear pl...

Page 43: ...timate disposal of this product should be handled according to all national laws and regulations WARNING Read and understand all instructions in the documentation that comes with the gateway before co...

Page 44: ...The following specifications for the CAS gateway are common to all Chipkin Gateways UL C UL CE FCC approved 10 100BASE T with RJ 45 connector 1x RS232 port 1x RS485 port different models have additio...

Page 45: ...bus RTU Data Client User Manual 3381 Cambie Street 211 2018 Chipkin Automation Systems Vancouver BC Canada V5Z 4R3 All rights reserved 1 866 383 1657 Chipkin com Page 45 of 55 Bottom View Front Panel...

Page 46: ...a V5Z 4R3 All rights reserved 1 866 383 1657 Chipkin com Page 46 of 55 Connection Specifications Serial Protocols Supported RS 232 RS 422 and RS 485 Serial Configurations The two UARTs can be configur...

Page 47: ...on Systems Vancouver BC Canada V5Z 4R3 All rights reserved 1 866 383 1657 Chipkin com Page 47 of 55 RS485 Half Duplex also known as 2 Wire All 4 jumpers required for 2 wire operation CAS recommends th...

Page 48: ...m Page 48 of 55 APPENDIX C SUPPORTED MODBUS FUNCTIONS The follow Modbus functions are supported by the CAS 2500 01 Modbus RTU data client MODBUS FUNCTION DESCRIPTION 0x01 Read Coil Status 0x02 Read In...

Page 49: ...odbus RTU communication users will likely use a USB to RS485 adapter To find the com port of a USB to RS485 device follow these instructions Open Control Panel and click on System From System click on...

Page 50: ...Chipkin Modbus RTU Data Client User Manual 3381 Cambie Street 211 2018 Chipkin Automation Systems Vancouver BC Canada V5Z 4R3 All rights reserved 1 866 383 1657 Chipkin com Page 50 of 55...

Page 51: ...a the Procedures for Obtaining Warranty Service described below All original parts parts installed by Chipkin Automation Systems at the original system build replaced by Chipkin Automation Systems or...

Page 52: ...any parts of any products returned for repair to Chipkin Automation Systems 6 All pre installed software programs are licensed to customers under non Chipkin Automation Systems software vendor s term...

Page 53: ...lems with your gateway please follow these procedures to obtain the service 1 If you have purchased our on site warranty please find your warranty the order number from the transaction through which t...

Page 54: ...at the then current price 6 Chipkin Automation Systems will pay for shipping to and from the customer only within the first thirty days following the original product ship date Following this 30 day...

Page 55: ...works to name just a few and enabling interfaces for HVAC fire siren intercom lighting transportation and fuel systems The high quality products we offer including those from other vendors interface w...

Reviews: