Rice Lake WE503D Modbus RTU Communication Protocol Manual

Rice Lake WE503D Modbus RTU Communication Protocol Manual

Dynamic integrator for belt scales, screw weighers, bulkslide flowmeters and impact flowmeters
Hide thumbs Also See for WE503D Modbus RTU:

Advertisement

Quick Links

WE503D Modbus RTU
Dynamic Integrator for Belt Scales, Screw Weighers,
Bulkslide Flowmeters and Impact Flowmeters
Program Version: 3.07
Communication Protocol
Manual
November 14, 2022
PN 203226 Rev B

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the WE503D Modbus RTU and is the answer not in the manual?

Questions and answers

Summary of Contents for Rice Lake WE503D Modbus RTU

  • Page 1 WE503D Modbus RTU Dynamic Integrator for Belt Scales, Screw Weighers, Bulkslide Flowmeters and Impact Flowmeters Program Version: 3.07 Communication Protocol Manual November 14, 2022 PN 203226 Rev B...
  • Page 2 All information contained within this publication is, to the best of our knowledge, complete and accurate at the time of publication. Rice Lake Weighing Systems reserves the right to make changes to the technology, features, specifications and design of the equipment without notice.
  • Page 3: Revision History

    November 14, 2022 Established revision history; Updates to Input (Page 0, 2, 3, 4) and Output Registers; firmware version 3.07 Table i. Revision Letter History Technical training seminars are available through Rice Lake Weighing Systems. Course descriptions and dates can be viewed at www.ricelake.com/training...
  • Page 4: Table Of Contents

    11.0 Output Register ............... . 19 Rice Lake continually offers web-based video training on a growing selection of product-related topics at no cost.
  • Page 5: Introduction

    Do not operate or work on this equipment unless this manual has been read and all instructions are understood. Failure to follow the instructions or heed the warnings could result in injury or death. Contact any Rice Lake Weighing Systems dealer for replacement manuals.
  • Page 6: Symbols

    WE503D Dynamic Integrator – Modbus RTU Symbols In the manual: • msb= most significant bit • MSB= most significant byte • lsb= least significant bit • LSB= least significant byte www.RiceLake.com Visit our website...
  • Page 7: Selection Of The Modbus Serial Communication Mode

    • Select Selection Protocol and press Enter. • Select Modbus RTU and press Enter. • Set the desired serial parameters. • Press CLR until the display show Exiting Setup: Save? and press Enter to save the settings. © Rice Lake Weighing Systems ● All Rights Reserved...
  • Page 8: Rtu (Binary) Modbus Transmission Mode

    WE503D Dynamic Integrator – Modbus RTU RTU (Binary) Modbus Transmission Mode Each byte (8-bit) in a message has two hexadecimal characters of 4-bits. The main advantage of this mode, in comparison to the ASCII, is its greater density of characters which allow for the transmission of higher volume of data equal to the baud rate.
  • Page 9: Component Description And Message Format

    A typical message frame is shown in the following table: START ADDRESS FUNCTION DATA CRC CHECK T1-T2-T3-T4 8 BITS 8 BITS N * 8 BITS 16 BITS T1-T2-T3-T4 Table 5-1. Typical Message Frame © Rice Lake Weighing Systems ● All Rights Reserved...
  • Page 10: Device Address

    WE503D Dynamic Integrator – Modbus RTU Device Address As mentioned above, the Modbus transactions always involve the master, which manages the line, and a slave at a time (except for the broadcast messages). In order to identify the message consignee, the numeric address of the selected slave device (1-byte: 8-bits for the RTU) is transmitted as the first field of the frame.
  • Page 11: Example Of The Message Components In Rtu

    The Number of Bytes field specifies how many groups of 8-bit data are given back, in other words, the number of bytes of the Data fields is shown for the RTU. Example: The 63 Hex value is transmitted as a 8-bit byte (01100011). © Rice Lake Weighing Systems ● All Rights Reserved...
  • Page 12: Modbus Functions

    WE503D Dynamic Integrator – Modbus RTU Modbus Functions Each function is exposed in detail in the following pages and is made up of a QUERY (master request → instrument) and a RESPONSE (instrument response → master). NOTE: Each character is an Hexadecimal type of character (made up of 4-bits). With 0x or Hex before a number it means that it has to do with a hexadecimal value.
  • Page 13: Function 1: Read Input Registers (04 Hex)

    Example: A = 01; - in the Query: Register Address = 00 01; Register Value = 00 03 - in the Response: Register Address = 00 01; Register Value = 00 03 © Rice Lake Weighing Systems ● All Rights Reserved...
  • Page 14: Function 3: Preset Multiple Registers (16 Hex)

    WE503D Dynamic Integrator – Modbus RTU Function 3: Preset Multiple Registers (16 Hex) Allows to set various output registers (Holding Register, which the instrument or slave goes to read) to a determined value. Query Here is specified the address of the First output Register which must be set (1st Register address), the Number of Registers to be written (Nr.
  • Page 15: Error Check Methods

    Example: If the CRC value is 1241 Hex (0001 0010 0100 0001): CRC Low CRC High Addr Func Data Count Data Data Data Data Table 7-1. Sequence of the CRC Bytes © Rice Lake Weighing Systems ● All Rights Reserved...
  • Page 16: Example In C Language In Generating The Crc

    WE503D Dynamic Integrator – Modbus RTU Example in C Language in Generating the CRC A functioning example for the creation of the CRC in the C language is shown below. NOTE: The function creates internally the swapping of high and low bytes of the CRC. Bytes are already exchanged in the CRC value which is given back by the function, which can then be placed directly in the message for transmission.
  • Page 17: Modbus Exceptions

    The slave is busy in processing a command which requires a lot of time; The master can transmit again the message later, when the slave is free Table 8-1. Active Modbus Exceptions © Rice Lake Weighing Systems ● All Rights Reserved...
  • Page 18: Notes

    WE503D Dynamic Integrator – Modbus RTU Notes There are two data areas, input data and output data area. The input area is read by the master and the output area is written by the master. Both areas organized in registers. Each register consists of 16-words (32-bytes). See Section 10.0 on page 15 for input data information.
  • Page 19: Input Register

    Status if input 5: 0= Disabled, 1= Enabled 13.15 Status if input 6: 0= Disabled, 1= Enabled IW14 Output status Discr. Bits 14.0 ... 14.15 Status of output: 0= Disabled, 1= Enabled Table 10-1. Input Registers Page 0 © Rice Lake Weighing Systems ● All Rights Reserved...
  • Page 20 WE503D Dynamic Integrator – Modbus RTU Word Addr. Byte Nr. Word Contents Word Type Bit Addr. Contents Integer number 15.0 ... 15.3 Total decimals Integer number 15.4 ... 15.5 Flow rate decimals IW15 Other data Discr. Bits 15.6 Status if input 7: 0= Disabled, 1= Enabled Discr.
  • Page 21 Partial total (W0) Integer number General total (W1) Integer number IW10 General total (W0) Integer number IW11 Speed Integer number In m/s or ft/min with two decimals Table 10-4. Input Registers Page 3 © Rice Lake Weighing Systems ● All Rights Reserved...
  • Page 22 WE503D Dynamic Integrator – Modbus RTU Word Addr. Byte Nr. Word Contents Word Type Bit Addr. Contents IW12 Inclination Integer number In ° with one decimal 13.0 Load polarity: 0= +, 1=-- 13.1 Weight stability: 0= Unstable, 1= Stable 13.2 Underload: 0= No, 1= Yes 13.3 Overload: 0= No, 1= Yes...
  • Page 23: Output Register

    Set value in OW1 (W1), OW2 (W0) 0 or 1 Integer number Write 0 with Modbus Parameter Integer number Parameter Integer number Parameter Integer number Parameter Integer number Parameter Integer number Table 11-1. Output Registers © Rice Lake Weighing Systems ● All Rights Reserved...
  • Page 24 WE503D Dynamic Integrator – Modbus RTU www.RiceLake.com Visit our website...
  • Page 26 © Rice Lake Weighing Systems Content subject to change without notice. Rice Lake Weighing Systems Europe B.V. • Weiland 11 • NL-6666 MH Heteren • The Netherlands Europe +31 (0)26 472 1319 • U.S. 800-472-6703 • Canada/Mexico 800-321-6703 • International 715-234-9171...

Table of Contents