Chipkin Modbus CAS2500-01 User Manual

Rtu data client
Table of Contents

Advertisement

Quick Links

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

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Modbus CAS2500-01 and is the answer not in the manual?

Questions and answers

Summary of Contents for Chipkin 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: Table Of Contents

    Chipkin™ Modbus® RTU Data Client User Manual TABLE OF CONTENTS TABLE OF CONTENTS ............................2 LIST OF FIGURES ..............................4 LIST OF TABLES ..............................5 COPYRIGHT & TRADEMARKS ........................... 6 DISCLAIMER ................................6 CONFIDENTIALITY ............................... 6 DOCUMENT REVISION HISTORY ........................6 1.
  • Page 3 Chipkin™ Modbus® RTU Data Client User Manual Logging Modified Data .........................23 Configuring Data Logging ......................25 Completing the Configuration ........................30 Resetting the Gateway or Deleting the Configuration ..............31 Exporting the Configuration ........................32 Importing the Configuration ........................33 5. COMMISIONING, DIAGNOSTICS, AND TROUBLE-SHOOTING .............36 WHAT TO TAKE TO SITE FOR COMMISSIONING ................36...
  • Page 4: List Of Figures

    Chipkin™ Modbus® RTU Data Client User Manual LIST OF FIGURES Figure 3.1-1 - Network Connections Block Diagram ..................10 Figure 4.1-1 - Modbus RTU Configuration Link ....................12 Figure 4.1-2 - Modbus RTU Task Insert Link ......................13 Figure 4.1-3 - Modbus RTU Task Form .......................13 Figure 4.1-4 - Successfully Added Modbus RTU Task ..................14...
  • Page 5: List Of Tables

    Chipkin™ Modbus® RTU Data Client User Manual Figure 4.7-4 - Importing the Configuration File ....................34 Figure 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...
  • Page 6: Copyright & Trademarks

    Therefore, Chipkin Automation Systems shall not be liable for omissions or missing data. It is not the intension of this user manual to instruct service technicians in using common sense, basic skills and rules of service repair.
  • Page 7: Preface

    Before you install the device, please observe the safety warnings described in in this manual. CUSTOMER SUPPORT Chipkin is a small responsive company, and we live or die by the quality of our service—and with offices in two time-zones—we can provide support when you need it. For information on sales, service, obtaining documentation or submitting a service request, please call us toll free at 1-866-383- 1657.
  • Page 8 Chipkin™ Modbus® RTU Data Client User Manual SALES AND CUSTOMER SUPPORT TOLL FREE: 1-866-383-1657 FAX: 1-416-915-4024 salesgroup1@chipkin.com EMAIL GENERAL TOLL FREE: 1-866-383-1657 FAX: 1-416-915-4024 support@chipkin.com EMAIL: SHIPPING ADDRESS 3381 Cambie St., #211 Vancouver, BC, Canada V5Z 4R3 3381 Cambie Street, #211 ©...
  • Page 9: Overview

    2. OVERVIEW PRODUCT SUMMARY The Chipkin™ CAS2500-01 Modbus® RTU Data Client is a device that connects to Modbus® RTU as a Modbus RTU Master, and reads and stores the data. The data client operates by reading data from the configured registers and stores the values in an internal database. These values can then be logged to an archive file or can be accessed via the data clients REST API as XML, JSON, or CSV data using HTTP Get requests.
  • Page 10: Connections

    Chipkin™ Modbus® RTU Data Client User Manual 3. CONNECTIONS NETWORK CONNECTIONS This block diagram lists common network connections that can monitor and log data from Modbus® RTU devices. Figure 3.1-1 - Network Connections Block Diagram 3381 Cambie Street, #211 © 2018 Chipkin Automation Systems...
  • Page 11: Comunication Ports

    Chipkin™ Modbus® RTU Data Client User Manual COMUNICATION PORTS The Gateway uses the following ports for communication over the ethernet port. Protocol Port Notes HTTP TCP 80 Web server. Syslog UDP 514 Can be disabled. TCP 21 Can be disabled.
  • Page 12: Configuration And Settings

    Chipkin™ Modbus® RTU Data Client User Manual 4. CONFIGURATION AND SETTINGS This section contains instructions and screenshots on how to configure this device MODBUS RTU CONFIGURATION SETTINGS To configure the device for reading Modbus RTU data, follow these steps: Modbus RTU Configuration Page...
  • Page 13: Figure 4.1-2 - Modbus Rtu Task Insert Link

    Chipkin™ Modbus® RTU Data Client User Manual Figure 4.1-2 - Modbus RTU 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: •...
  • Page 14: Modbus Rtu Port Settings

    Chipkin™ Modbus® RTU Data Client User Manual • Number of Registers – The number of registers that will be requested in this task. For example, if 40001 was specified in Modbus Address and the Number of Registers is set to 50, this task will poll for registers 40001 to 40050.
  • Page 15: Figure 4.1-5 - System Page Link

    Chipkin™ Modbus® RTU Data Client User Manual 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 “ModbusRTU_ports” link. See image below: Figure 4.1-6 – ModbusRTU Ports Link...
  • Page 16: Figure 4.1-7 - Default Modbusrtu Port Settings

    Chipkin™ Modbus® RTU Data Client User Manual Figure 4.1-7 - Default ModbusRTU Port Settings Click the “Edit” link to change any of the properties. Figure 4.1-8 - Modbus RTU Port Form The fields are as follows: • Baud – the baud rate of the serial connection: 1200, 4800, 9600, 19200, 38400, 115200.
  • Page 17: Mods For Data Conversion

    Chipkin™ Modbus® RTU Data Client User Manual 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.
  • Page 18: Figure 4.2-3 - Mod Form

    Chipkin™ Modbus® RTU Data Client User Manual Figure 4.2-3 - Mod Form Fill out the form to setup the Mod. This document assumes that the data being read by Modbus is 32-bit floating point. To configure a mod to convert 2 16-bit Modbus registers to a 32-bit floating point value, fill out the form as follows: •...
  • Page 19: Figure 4.2-4 - Example 1 Of Mod Form Filled

    Chipkin™ Modbus® RTU Data Client User Manual • 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 data modification. Figure 4.2-4 – Example 1 of Mod Form Filled...
  • Page 20: Figure 4.2-5 - Example 2 Of Mod Form Filled

    Chipkin™ Modbus® RTU Data Client User Manual 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.
  • Page 21: Data Logging Configuration

    Chipkin™ Modbus® RTU Data Client User Manual DATA LOGGING CONFIGURATION This section describes how to setup the data client for data logging. First, for data logging to work, there must be data. The data logging uses its own data table. By this point you have seen 2 other data tables: 1.
  • Page 22: Figure 4.3-2 - Modbus Tcp And Rtu Tasks Link

    Chipkin™ Modbus® RTU Data Client User Manual Figure 4.3-2 - Modbus TCP and RTU Tasks Link You will see the following screen: Figure 4.3-3 - Modbus RTU Tasks Click the “Edit” link as shown above to edit the task. You will see the following table: 3381 Cambie Street, #211 ©...
  • Page 23: Logging Modified Data

    Chipkin™ Modbus® RTU Data Client User Manual Figure 4.3-4 - Edit Modbus Task Change the Data_table from da_data to da_data_logging and click the “save” button. If successful, you will 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.
  • Page 24: Figure 4.3-6 - Mod Configuration Form - Data Logging

    Chipkin™ Modbus® RTU Data Client User Manual 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 screen, click the “Edit” link for each mod: Figure 4.3-7 - Edit Mod Link...
  • Page 25: Configuring Data Logging

    Chipkin™ Modbus® RTU Data Client User Manual 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 Configuring Data Logging Once there is data in the da_data_logging table, we can finally configure the data client to log the data.
  • Page 26: Figure 4.3-10 - Data Logging Configuration Link

    Chipkin™ Modbus® RTU Data Client User Manual Figure 4.3-10 - Data Logging 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 each data point.
  • Page 27: Figure 4.3-12 - Data Logging Task Configuration Link

    Chipkin™ Modbus® RTU Data Client User Manual Figure 4.3-12 - Data Logging Task Configuration Link You will see the following screen: Figure 4.3-13 - Data Logging Task Insert Link Click the “Insert” link to add a Data Logging Task. You will see the following form: 3381 Cambie Street, #211 ©...
  • Page 28: Figure 4.3-14 - Data Logging Task Form

    Chipkin™ Modbus® RTU Data Client User Manual Figure 4.3-14 - Data Logging Task Form Fill out the form for the specific type of log. The fields are as follows: • Name – The name of the logging task. • Log Format – Currently there is only one format, singleRow •...
  • Page 29: Figure 4.3-15 - Inserted Data Logging Task

    Chipkin™ Modbus® RTU Data Client User Manual Figure 4.3-15 - Inserted Data Logging Task Once logging starts 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 existing log files.
  • Page 30: Completing The Configuration

    Chipkin™ Modbus® RTU Data Client User Manual Figure 4.3-17 - Log Files Completing the Configuration Once the 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: http://{ipAddress}/bin/system/ From this page, under the System actions, first click the “Save Database”...
  • Page 31: Resetting The Gateway Or Deleting The Configuration

    Chipkin™ Modbus® RTU Data Client User Manual Figure 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 screen with a timer counting up: Figure 4.4-4 - Reboot System Count...
  • Page 32: Exporting The Configuration

    Chipkin™ Modbus® RTU Data Client User Manual Sometimes you want to delete the entire configuration and begin again. To do this, return to the system page as described in the Completing the Configuration section above. Then click on the “Delete Database” Link: Figure 4.5-1 - Delete Database Link...
  • Page 33: Importing The Configuration

    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 file that you may have saved. To do this, return to the system page as...
  • Page 34: Figure 4.7-2 - Import File Browser

    Chipkin™ Modbus® RTU Data Client User Manual Figure 4.7-2 - Import 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 output will be displayed. Here is an example of the output: Figure 4.7-4 - Importing the Configuration File...
  • Page 35: Figure 4.7-5 - Import Successful

    Chipkin™ Modbus® RTU Data Client User Manual Figure 4.7-5 - Import Successful After this, return to the system page and follow the instruction in the Completing the Configuration section to finish and apply the new configuration. Figure 4.7-6 - Export Configuration 3381 Cambie Street, #211 ©...
  • Page 36: Commisioning, Diagnostics, And Trouble-Shooting

    Chipkin™ Modbus® RTU Data Client User Manual 5. COMMISIONING, DIAGNOSTICS, AND TROUBLE- SHOOTING WHAT TO TAKE TO SITE FOR COMMISSIONING Below is a list of software and hardware tools that should be taken to site for the install installation. Some of these tools are depend on the type of installation and drivers on the gateway. Most of the software tools can be found on the included USB drive.
  • Page 37: Discover Gateway's Ip Address

    Chipkin™ Modbus® RTU Data Client User Manual Figure 5.1-1 - DB9 Gender Changers • Serial RS232 mini-tester – Useful for testing to ensure that a serial cable has the correct pinout. Figure 5.1-2 - RS232 Mini-Tester • Serial cable – A Null modem or crossover serial cable can be useful when communicating with drives that use serial connections such as Modbus RTU and VeederRoot serial DISCOVER GATEWAY’S IP ADDRESS...
  • Page 38: Using The Ip Setup Tool

    Chipkin™ Modbus® RTU Data Client User Manual Figure 5.2-1 - Setup reference card Using the IP Setup 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 application and you will see the following window Figure 5.2-2 - IP Setup tool...
  • Page 39: Debug Log Or Wireshark Log

    CHANGE THE GATEWAY IP ADDRESS By default, the gateway is shipped with a static IP address of 192.168.1.113. The default IP address can be changed using the IP setup tool. 4. Download the IP Setup tool from chipkin’s website http://www.chipkin.com/cas-gateway-ip- address-tool 3381 Cambie Street, #211 ©...
  • Page 40: Update Firmware

    Note: Usually, the firmware is already loaded on the CAS Gateway when it is shipped. However, if there was a specific requirement that was developed or a bug fix, you may have to download an updated firmware which you will receive from Chipkin Automation Systems (CAS). All updated firmware files should come from CAS.
  • Page 41: Figure 5.6-1 - Autoupdate Tool Window

    Chipkin™ Modbus® RTU Data Client User Manual 2. Running the AutoUpdate application will display the following window: Figure 5.6-1 - AutoUpdate tool window The IP Address of the gateway should be filled out in the “IP address” section. If not, or if the IP address is wrong, then click the “Find”...
  • Page 42: Figure 5.6-3 - Firmware Update Success

    Chipkin™ Modbus® RTU Data Client User Manual 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, please contact us for support. If a message appears stating that “The Gateway does not have enough RAM”, please return to step 5 and repeat.
  • Page 43: Appendix A: Safety Warnings

    WARNING: Install the Gateway where the cables and power cords can’t be damaged. WARNING: There are no user serviceable parts inside. Refer servicing to qualified servicing personnel. IMPORTANT: If the gateway doesn’t operate normally, please contact Chipkin’s Engineer Services, Development and Support 3381 Cambie Street, #211 ©...
  • Page 44: Appendix B: Hardware Specifications

    Chipkin™ Modbus® RTU Data Client User Manual APPENDIX B: HARDWARE SPECIFICATIONS 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 additional ports) •...
  • Page 45 Chipkin™ Modbus® RTU Data Client User Manual Bottom View Front Panel Back Panel 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...
  • Page 46 Chipkin™ Modbus® RTU Data Client User Manual Connection Specifications Serial Protocols Supported RS-232, RS-422, and RS-485 Serial Configurations The two UARTs can be configured in the following ways: • Two RS-232 ports • One RS-232 port, one RS-485/422 port DB9 Pinout...
  • Page 47 Chipkin™ Modbus® RTU Data Client User Manual RS485 – Half Duplex also known as 2 Wire All 4 jumpers required for 2 wire operation. CAS recommends the use of 3 conductors for so called 2-Wire RS485. The signal common is there for purpose.
  • Page 48: Appendix C: Supported Modbus Functions

    Chipkin™ Modbus® RTU Data Client User Manual APPENDIX C: SUPPORTED MODBUS FUNCTIONS The follow Modbus functions are supported by the CAS 2500-01 Modbus® RTU data client ODBUS UNCTION ESCRIPTION 0x01 Read Coil Status 0x02 Read Input Status 0x03 Read Holding Registers...
  • Page 49: Appendix D: Software Version - Com Port

    Chipkin™ Modbus® RTU Data Client User Manual APPENDIX D: SOFTWARE VERSION – COM PORT When using the CAS 2500-01 Software Version for Modbus 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:...
  • 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: Appendix E: Limited Warranty

    Chipkin Automations Systems option, without charge to you. Shipping fees incurred from returns for under-warranty service in the first 30-days will be paid by Chipkin Automation Systems. All shipping fees both to and from Chipkin Automation Systems following this 30-day period must be paid by the customer.
  • Page 52 USA. (Within the USA including US 48 States, Alaska and Hawaii.) 2. This warranty covers only normal use of the gateway. Chipkin Automation Systems shall not be liable under this warranty if any damage or defect results from (i) misuse, abuse, neglect, improper shipping or installation;...
  • Page 53 If repairs are required, the customer must obtain an RMA number and provide proof of purchase. RMA and services are rendered by Chipkin Automation Systems only. Any shipping costs after 30 days (starting from the original date of purchase) on any item returned for repair is the customers’...
  • Page 54 RMA number is issued. Once approval has been obtained on your credit card, the part(s) will be shipped UPS. You will need to ship defective part(s) back to Chipkin Automation Systems within 15 days to avoid charges to your credit card. If such charges are incurred, the shipped part(s) will be billed at the then current price.
  • Page 55: Thank You

    With Chipkin you are buying a solution. Our configuration expertise in this field combined with free BACnet tools and other tools ensure your success; and our customer support via phone, email and remote desktop tools means that we’re there when you need us.

Table of Contents