T7 Modbus Communication User Guide

Similar documents
COMTool User Guide Version /02/2013

QSB Command List. Document Version /15/2017

Modbus Protocol For TGP03 / THP03

Application Note: Using Modbus With the Conext CL Series. Important Safety Instructions

[ 公司地址 ] Modbus Protocol. For THS/THM 30X&80X_Temp.&Humididy & THS8X/THM8X_Dew Point Series V7.0

TECH TIP. Tritex Modbus Protocol Specification

Modbus Protocol For PMX / PXM3X

Modbus Protocol For FTS/FTM 3x&8x

Using the MODBUS Protocol with Athena Series C (1ZC, 16C, 18C, and 25C) Controllers

Flex Series User Guide

Version Action Author Date

VPGate Manual PROFIBUS to serial

Interface design document MODBUS Protocol. Ab s t r a c t Description of the MODBUS implementation for the Modbus I/O board

JUMO Quantrol LC100/LC200/LC300

IQ Home Modbus-RTU Master

Real Time Clock with Temperature Sensor and RS485/Modbus Comunications

Input Channels: 4 differential or four single-ended. Address / Baud rate / range configurable by the user

E2 Modbus RTU Register Map Revision History Version Comments Author Date 1.02 Previous version PAE 11/06/ Revised to new format PAE 09/03/09

CAN / RS485. Product Description. Technical Reference Note. Interface Adapter. Special Features

CTT MODBUS-RTU COMMUNICATION PROTOCOL TEMPERATURE MONITOR DEVICE

Sample F4T 32-bit Modbus RTU Packet

JUMO di 308. Digital Indicator. B Interface Description Modbus 12.07/

DataVU 5 - Interface Manual Modbus

Modbus on K45 asense. Table of contents:

E2 Modbus RTU Register Map

Modbus Module. Data sheet. Communication module for MULTICAL 403 and MULTICAL 603

VP Process Inc. Model: VP-EC-RDU Modbus RTU LCD Display

MODBUS Protocol. The ecode Encoders contain both single register (16 bit) and double register (32 bit) values.

Modbus Module. Data sheet. Communication module for MULTICAL 403 and MULTICAL 603

The RS-485 user manual for B800 series communication

RS485 MODBUS Module 16I-M

VISY-Command. Technical Documentation. with Modbus Protocol. Edition: Version: 1 Art. no.:

RS485 MODBUS Module 8AO

DataVU 5 - Interface Manual Modbus

Sample F4T 32-bit Modbus RTU Packet

B Interface description 12.01/

TORRIX RS485. Technical Documentation. with MODBUS Protocol. Edition: Version: 2 Art. no.:

JUMO ctron 04/08/16. Compact controller with timer and ramp function. B Interface Description Modbus /

Networked Absolute Inclinometer Page 1 of 9

End User License Agreement

Optidrive VTC Modbus RTU Register Map

JDICON 1000 JDICON B Interface Description 3.99/ Universal Process Controller. Universal Profile Controller

Type Type Type Type Type B Interface Description /

InLinK HM Setup Software Installation & Operation Manual

User Guide IM/C250 MOD_3. Modbus (RTU) Communications Option C250 and V250

RS232 User Guide. Planar Simplicity Series 4K Displays SL4364K SL5564K SL6564K SL7564K SL8664K. Simplicity Series 4K Displays User Guide A

1.Eastron SDM530-Modbus Smart Meter Modbus Protocol Implementation V1.1

ambient XC RS232 Control Command Specification

Modbus on tsense. Table of contents:

1.Eastron SDM230Modbus Smart Meter Modbus Protocol Implementation V1.2

Interface Definition RISH EM 2340/1320/30/ _Rev. D - 8/2016

Networked Absolute Inclinometer Page 1 of 9

DMTME Multimeters. Communication protocol. Technical specification V1.2 ABB

SC1602LCPro-YG ( Yellow Green Backlight ) SC1602LCPro-B ( Blue Backlight ) Large Character Size ( 4.88x9.66 mm )

SDM-8AO. Expansion Module 8 analog outputs. Manufactured for

User Module. Modbus TCP2RTU. Application note

Modbus on SenseAir S8

Appendix to the Operating Instructions RMx621 with ModBus Interface V Connection to ModBus-IDA System

modpoll is a command line based Modbus master simulator and test utility. It is free software.

HMC1022 Digital Compass

SMARTRAIL X100 Protocol

INTEGRA DL1 DUAL LOAD DIGITAL METER COMMUNICATIONS GUIDE DIGITAL ENERGY METER FOR MULTIPLE LOADS IN AN ELECTRICAL SYSTEM

RS 485 Mini Modbus 1AO

MPU-32 AND FPU-32 TIA-485 NETWORK

RS485 MODBUS Module 8I8O

Operating Guide MODBUS (RTU) Communications Option IM/L150 MOD_2. Level Indicator L150 and L160

2G Actuator Communications Protocol Document Rotary & Linear Actuators

Modbus on S8. Modbus is a simple, open protocol for both PLC and sensors. Details on Modbus can be found on

Operating Bulletin MODBUS-RTU. The Fastest Flow Controller Company in the World!

S u p p l e m e n t TQS3 MODBUS. Description of product modification with MODBUS RTU. 31. March 2008 w w w. p a p o u c h.

DULCOMETER Multi-parameter Controller dialog DACa

Modbus on S8. Modbus is a simple, open protocol for both PLC and sensors. Details on Modbus can be found on

3GV M Modbus RTU Register Map

EZ-LIGHT K50 Modbus Series Pick-to-Light Sensors

Stabiliti Modbus Programming Guide

LCD Module with I2C / Serial Interface and Keypad Control «LCD I2C/Serial» User s Guide. Copyright 2008 IMS

M2M/DMTME Instruments Communication protocol. Technical specification V.2.1 2CSG445011D0201

TORRIX RS485. Technical Documentation. with MODBUS Protocol. Edition: Version: 3 Art. no.:

INSTRUCTION MANUAL ESI-Manager communication How to use RS485 USB Ethernet connections

DL-10. User Manual. RS-485 Remote Temperature and Humidity. English Ver. 1.0, Jul. 2017

User Guide Supplement Modbus TM Serial Data Communications Option IM/C100 MOD_6. /8 DIN Process Indicators and Controllers C100, C150, C160 and V100

KDE Direct, LLC. License Agreement

Protocol VIT5. Communications RS485. Version 1.0. Pg.Up ENTER. Pg.Up ENTER. Pg.Up ENTER. Pg.Up ENTER. Pg.Up ENTER. Pg.Up ENTER. Pg.Up ENTER. Pg.

Modbus Map: Conext System Control Panel (SCP) Device

SC2004MBS 20x4 Characters MODBUS RTU Slave LCD

Modbus Map: System Control Panel (SCP) Device

RS232-ADC16/24 Manual

IF96017 MODBUS COMMUNICATION PROTOCOL

User Configurable Driver Users Manual

COMMUNICATION MODBUS PROTOCOL

GE MDS, LLC. NETio Series. Protocol Communications Supplement. March 2013 Part No A01, Rev. C

Optidrive Applications Support Library

Modbus on CO 2 Engine and esense

MGL Avionics. N16 Aviation band Navigation Radio ICD V1

If the firmware version indicated is earlier than the "Version 1.06", please update the unit s firmware.

TR600 with RS485 Appendix 1

MODBUS Protocol for MiCOM P30 Series

PowerLogic ION6200 Serial Communications Protocol and ION / Modbus Register Map

EM210 COMMUNICATION PROTOCOL. Version 3 Revision 1

TAMS HP-IB Card for Workstations. Installation & Operation

Transcription:

Communication via RS232/RS485 Version 1.3 1/3/2012 1 of 17

Contents Version 1.0... 1 Terms and Conditions of License for use of gratuitous software... 3 1 General... 5 2 T7-1-MODx Registers... 6 3 T7 Modbus RTU Command/Response Data Formats... 8 3.1 Read Holding Register (Function Code 3)... 8 3.2 Write Single Register (Function Code 6)... 10 3.3 User Defined Function Code 110 Additional Functions... 12 3.3.1 Set Serial Port Baud Rate... 12 3.3.2 Set Serial Port Parity... 14 3.3.3 Get Device Information... 16 3.3.4 Set Address... 17 2 of 17

Terms and Conditions of License for use of gratuitous software Thank you for purchasing US Digital products. By downloading or using US Digital software, you agree to the terms and conditions below and as further detailed on our website at http://www.usdigital.com/company/termsconditions.shtml. If you do not agree with such terms and conditions, do not use the software. You may promptly return the software and other items that are part of this product in their original package with your sales receipt to your point of purchase for a full refund, or if you have downloaded this software from a US Digital web site, then you must stop using the software and destroy any copies of the software in your possession or control. These terms and conditions which accompany the original or new versions of the software and patches, point releases, maintenance releases, updates, enhancements, or upgrades thereto upon installation or download, are applicable. Permission to use, copy, modify and distribute this software without fee is hereby granted. US Digital makes no warranty or representations about the suitability of the software for any purpose. It is provided "AS IS" without any express or implied warranty, including the implied warranties of merchantability, fitness for a particular purpose and non-infringement. US Digital shall not be liable for any direct, indirect, special or consequential damages resulting from the loss of use, data or projects, whether in an action of contract or tort, arising out of or in connection with the use or performance of this software. Your use of the software is entirely at your own risk. In connection with the software, you agree to comply with all export laws and restrictions and regulations of the Department of Commerce, the United States Department of Treasury Office of Foreign Assets Control ("OFAC"), or other United States or foreign agency or authority, and you agree not to export, or allow the export or re-export of the software in violation of any such restrictions, laws or regulations. Downloading or using US Digital software is implicit acceptance of these terms and conditions and as further detailed at http://www.usdigital.com/company/termsconditions.shtml. 3 of 17

Amendments Date Comment(s) 5/16/2011 T7 Modbus Communication User Guide. Version 1.0 9/29/2011 Corrected device range. Version 1.1 11/21/2011 Updated command response times. Version 1.2 1/3/2012 Added Register 07 (Temperature) for T7 s with firmware v1.10 or greater. Version 1.3 4 of 17

1 General The T7 MEMS Digital Inclinometer is available with several interface options: US Digital standard serial protocol over RS232, RS485 or CAN (T7-1-232, T7-1-485 or T7-1-CAN) and Modbus RTU protocol over RS232 or RS485 (T7-1-MOD2 or T7-1-MOD4). This document describes how to communicate with a T7-1-MOD2 or T7-1-MOD4. A T7-1-MOD4 connects directly to a host computer using a Modbus RTU compatible protocol over RS485. A RS485-to-USB serial port adapter or RS485-to-RS232 adapter is typically used to connect to a PC. Up to 32 T7-1-MOD4 devices can be connected to the same RS485 bus. A T7-1-MOD2 uses RS232 and supports only a single device on the RS232 bus. The following section provides some basic information about the serial communication between the host computer and a T7-1-MODx. The full Modbus specification can be obtained from http://www.modbus.org. Modbus is a command/response protocol over a serial bus. The default Modbus serial parameters are: 9600 baud, 1start bit, 8 data bits, even parity and 1 stop bit. The 8 data bits are sent LSB first. The baud rate can be changed to 115200, 57600, 38400, 19200 or 9600 by sending the appropriate command. The byte order for all 16-bit values is Big Endian (most significant byte first). Read and write access to the T7-1-MODx is done using Modbus Function Code 3 (Read Holding Registers) and Modbus Function Code 6 (Write Single Register) commands. These two function codes provide the basic functionality needed by most users of the T7. A User Defined Modbus Function Code 110 is provided for less commonly used, off-line functions such as setting serial port parameters and changing the device. Modbus device must be in the range 1 to 100 or 127 (decimal). All T7 s are shipped with a default of 127 (decimal). Address 0 is the Modbus broadcast. All devices will perform the action of the function code, but no reply will be sent. All Modbus commands and responses have a 16-bit CRC for error detection. C source code for the CRC-16 calculation is available from the Modbus website (http://www.modbus.org) in the MODBUS over serial line specification and implementation guide V1.02 document. Modbus RTU data is in binary format rather than ASCII, so it cannot be viewed properly on a text terminal. US Digital s free ComTool application or the open source Realterm program may be used to view binary serial data on a PC. The T7 only responds to commands from the host. It does not initiate communication and cannot be configured to respond periodically. At 9600 baud, the T7s response time is approximately 5.7 milliseconds for Read commands and about 27.3 milliseconds for Write commands. At 115200 baud, the response time is approximately 550 microseconds for Read commands and about 22.7 milliseconds for Write commands. These delays include the required Modbus RTU framing delay. A command from the host must be less than 500 milliseconds in duration (first byte to last byte) or the T7 will silently discard the command. 5 of 17

2 T7-1-MODx Registers The following table lists all the T7-1-MODx registers accessible using Function Code 3 (Read Holding Registers) and Function Code 6 (Write Single Register). All registers are 16-bits wide. On some Modbus hosts, the base of the registers may be at a decimal such as 30000 or 40000, but the offset from the base is what is actually transmitted. Register Description 0x0000 0x0001 0x0002 0x0003 0x0004 0x0005 0x0006 0x0007 Reported Angle (lower 16-bits) Reported Angle (upper 16-bits) Angle Offset (lower 16-bits) Angle Offset (upper 16-bits) Damping Time (16-bits) Angle Direction (16- bits) Angle Output Mode (16-bits) Temperature (16-bits) Read Holding Registers (Function code 3) Get the lower 16-bits of the reported angle, including angle offset. Get the upper 16-bits of the reported angle, including angle offset. Get the lower 16-bits of the angle offset. Factory default is 0x0000 Get the upper 16-bits of the angle offset. Factory default is 0x0000 Get the damping time in milliseconds (2-5000). Factory default is 1000 Get Angle Direction Mode 0: Normal (factory default) 1: Reversed Get Angle Output Mode 0: angle output is -180000 to 179999 (factory default) 1: angle output is 0 to 359999 Get the device temperature in C Write Single Register (Function Code 6) Calculates and sets and angle offset such that the reported angle equals the specified angle (lower 16-bits) Calculates and sets and angle offset such that the reported angle equals the specified angle (upper 16-bits) Set the lower 16-bits of the angle offset Set the upper 16-bits of the angle offset Set the damping time in milliseconds. Must be 2-5000 Set Angle Direction Mode 0: Normal 1: Reversed Set Angle Output Mode 0: angle output is -180000 to 179999 1: angle output is 0 to 359999 Error. Will return Function Code 0x86 with invalid register All angles are represented as signed (2 s complement) 32-bit integers in units of.001 degrees. For example, an angle value of 0x000237ac (hex) = 145324 (decimal) corresponds to an angle of 145.325 degrees. 0x0002 is the upper 16-bits and 0x37ac is the lower 16-bits. An angle of -145.325 is represented as 0xfffdc853. The temperature is returned as a signed (2 s complement) 16-bit integer in units of 0.01 degrees Celsius. For example, a temperature value of 0x096c (hex) = 2412 (decimal) corresponds to a temperature of 24.12C. A temperature of -5.23C is represented as 0xfdf5. The device temperature is warmer than the actual ambient temperature due to self heating from the electronics. 6 of 17

Since all Modbus registers are 16-bits wide, all angles are stored in two consecutive registers. For 32- bit values such as the reported angle or angle offset, reading the lower or upper 16-bits will latch the entire 32-bit value so that the value does not change between the two reads. On a write of a 32-bit quantity, write the lower 16-bits first, followed by the upper 16-bits. The update of the 32-bit quantity happens after the upper 16-bits are written. The range of the reported angle depends on the Angle Output Mode register: Angle Output mode Reported Angle 0 (bidirectional) -180000 to 179999 1 (unidirectional) 0 to 359999 The rotation sense of the angle depends on the Angle Direction register: Angle Direction Rotation Sense 0 normal 1 reversed The reported angle can have an angle offset parameter included as follows: Reported_Angle = Absolute_Angle + Angle_Offset The Angle Offset register can be written directly to affect the Reported Angle register. Alternately, by writing a desired angle to the Reported Angle register, the T7 will calculate and update Angle Offset register so that the Reported Angle becomes the desired angle. Note that the registers for Angle Offset, Damping Time, Angle Output Mode and Angle Direction are non volatile. Writing to these registers will store the value in flash memory so the setting will be retained when power is turned off. The next section describes the byte level contents of each Modbus RTU command frame and response frame. 7 of 17

3 T7 Modbus RTU Command/Response Data Formats 3.1 Read Holding Register (Function Code 3) The Modbus Read Holding Register command is used to read registers in the T7-1-MODx Parameter # bytes Units Notes Command Address 1 Destination of T7 0x03 1 Modbus Function Code = 0x03 Starting register to read (hex) Number of registers to read (hex) 2 Big-endian order. Ex. Register 0x0004 (Damping Time) is sent 0x00 first, then 0x04 2 There are 7 registers supported in the T7-1-MODx. All 7 can be read at once with one command. CRC-16 2 CRC-16 of all bytes in the command Response Address 1 Address of responding T7 0x03 1 Modbus Function Code = 0x03 Byte Count 1 2*(Number of Registers Read). Ex. 0x0e if all 7 registers are read. Register N 2 Read Register data. 2 bytes if Register N+1 2 Register N+2 2 2 one register is read. 14 bytes if all 7 registers are read CRC-16 2 CRC-16 of all bytes in the response. If the CRC of the command is invalid, no action is taken. If the CRC is valid but there is an error in the command, the response is: Error Response Parameter # bytes Units Notes 1 Address of responding T7 0x83 1 Modbus Error Function Code = 0x83 Exception Code 1 0x01: invalid function code 0x02: invalid register CRC-16 2 CRC-16 of all bytes in the response. 8 of 17

Example 1 (Read the damping time from T7 with 127): Command: starting reg. to read (0x0004) number of reg. to read (0x0001) CRC-16 7f 03 00 04 00 01 cf d5 byte count damping (0x03e8 = 1000 decimal (1000 milliseconds) CRC-16 Response: 7f 03 02 03 e8 90 f0 Example 2 (Read the lower/upper 16-bits of Angle 2 from T7 with 127): starting reg. to read (0x0000) number of reg. to read (0x0002) CRC-16 Command: 7f 03 00 00 00 02 ce 15 byte count angle2 (0x000197c5 = 104389 decimal (104.389 degrees) CRC-16 Response: 7f 03 04 97 c5 00 01 99 bd 9 of 17

3.2 Write Single Register (Function Code 6) The Modbus Write Single Register command is used to write to a register in the T7-1-MODx. If the command is successful, the response is identical to the command. Two Write Single Register commands are needed to update the Reported Angle or Angle Offset values since these are 32-bit quantities. Parameter # bytes Units Notes Command Address 1 Destination of T7 0x06 1 Modbus Function Code = 0x06 Response (identical to command) Register to Write (hex) 2 Big-endian order. Ex. Register 0x0004 (Damping Time) is sent 0x00 first, then 0x04 Data to Write 2 16-bit data to write CRC-16 2 CRC-16 of all bytes in the command Address 1 Address of responding T7 0x06 1 Modbus Function Code = 0x06 Register to Write (hex) 2 Big-endian order. Ex. Register 0x0004 (Damping Time) is sent 0x00 first, then 0x04 Data to Write 2 16-bit data to write CRC-16 2 CRC-16 of all bytes in the response. If the CRC of the command is invalid, no action is taken. If the CRC is valid but there is an error in the command, the response is: Error Response Parameter # bytes Units Notes 1 Address of responding T7 0x86 1 Modbus Error Function Code = 0x86 Exception Code 1 0x01: invalid function code 0x02: invalid register CRC-16 2 CRC-16 of all bytes in the response. 10 of 17

Example 1 (Set the damping time to 2000 milliseconds for T7 with 127): Command: reg. to write (0x0004) data to write (2000 decimal = 0x07d0) CRC-16 7f 06 00 04 07 d0 c1 b9 Response: 7f 06 00 04 07 d0 c1 b9 (identical to Command) Example 2 (Set the current Reported Angle to 0 degrees for T7 with 127. 2 commands needed): Command: reg. to write (0x0000 lower 16-bits of Reported Angle Register) data to write (0x0000) CRC-16 7f 06 00 00 00 00 83 d4 Response: 7f 06 00 00 00 00 83 d4 (identical to Command) reg. to write (0x0001 - upper 16-bits of Reported Angle Register) data to write (0x0000) CRC-16 Command: 7f 06 00 01 00 00 d2 14 Response: 7f 06 00 01 00 00 d2 14 (identical to Command) 11 of 17

3.3 User Defined Function Code 110 Additional Functions User defined Function Code 110 is for less commonly used, off-line functions such as setting serial port parameters and changing the device. Some Modbus hosts cannot support this Function code, but the frames can still be sent using a serial terminal program on a PC that can send binary data on the serial port. Changes to the serial port parameters and device are stored in flash memory so these settings are retained when power is off. 3.3.1 Set Serial Port Baud Rate Parameter # bytes Units Notes Command Address 1 Destination of T7 0x6e 1 Modbus Function Code = 0x6e 0x04 1 Command length 0x8f 1 T7 Command Baud Rate 1 0 = 115.2 kbps 1 = 57.6 kbps 2 = 38.4 kbps 3 = 19.2 kbps 4 = 9.6 kbps CRC-16 2 CRC-16 of all bytes in the command Response Address 1 Address of responding T7 0x6e 1 Modbus Function Code = 0x6e 0x04 1 Command length 0x8f 1 T7 Command Status 1 0 = Command successful Otherwise = Command failed CRC-16 2 CRC-16 of all bytes in the response. The Response is sent using the previous baud rate. The baud rate is changed about 10 milliseconds after a successful response is sent. 12 of 17

Example 1 (Set Baud rate to 9.6 kbps for T7 with 127): baud rate (0x04 = 9.6 kbps) CRC-16 Command: 7f 6e 04 8f 04 09 10 status (0 = command successful) CRC-16 Response: 7f 6e 04 8f 00 08 d3 Example 2 (Set Baud rate to 115.2 kbps for T7 with 127): Command: baud rate (0x00 = 115.2 kbps) CRC-16 7f 6e 04 8f 00 08 d3 status (0 = command successful) CRC-16 Response: 7f 6e 04 8f 00 08 d3 13 of 17

3.3.2 Set Serial Port Parity Parameter # bytes Units Notes Command Address 1 Destination of T7 0x6e 1 Modbus Function Code = 0x6e 0x04 1 Command length 0x93 1 T7 Command Parity 1 0 = no parity, 1 stop bit 1 = no parity, 2 stop bits 2 = even parity, 1 stop bit (default) 3 = odd parity, 1 stop bit CRC-16 2 CRC-16 of all bytes in the command Response Address 1 Address of responding T7 0x6e 1 Modbus Function Code = 0x6e 0x04 1 Command length 0x93 1 T7 Command Status 1 0 = Command successful Otherwise = Command failed CRC-16 2 CRC-16 of all bytes in the response. The Response is sent using the previous parity setting. The parity is changed about 10 milliseconds after a successful response is sent. Example 1 (Set Parity to no parity, 1 stop bit for T7 with 127): parity (0x00 = no parity, 1 stop bit) CRC-16 Command: 7f 6e 04 93 00 00 13 status (0 = command successful) CRC-16 Response: 7f 6e 04 93 00 00 13 14 of 17

Example 1 (Set Parity to even, 1 stop bit for T7 with 127): Command: parity (0x02 = even parity, 1 stop bit) CRC-16 7f 6e 04 93 02 81 d2 status (0 = command successful) CRC-16 Response: 7f 6e 04 93 00 00 13 15 of 17

3.3.3 Get Device Information Parameter # bytes Units Notes Command Address 1 Destination of T7 0x6e 1 Modbus Function Code = 0x6e 0x03 1 Command length 0x8e 1 T7 Command CRC-16 2 CRC-16 of all bytes in the command Response Address 1 Address of responding T7 0x6e 1 Modbus Function Code = 0x6e 0x15 1 Command length 0x8e 1 T7 Command Serial 4 Factory set serial number (unsigned) number Firmware version 6 ASCII characters padded with spaces (not null terminated) Product type 6 ASCII characters padded with spaces (not null terminated) Factory info 2 Factory info (ignore) CRC-16 2 CRC-16 of all bytes in the response. Example 1 (Get Device Information for T7 with 127): Command: CRC-16 7f 6e 03 8e f8 b9 serial number (0x00000001) firmware version (1.06 in ascii) product (T7-1 in ascii) CRC-16 Response: 7f 6e 15 8e 00 00 00 01 31 2e 30 36 20 20 54 37 2d 31 20 20 00 0f 8a d6 16 of 17

3.3.4 Set Address This command changes the of the T7. For extra safety, the serial number of the device to be changed is sent as well. Use the Get Device Information command to read the serial number. Parameter # bytes Units Notes Command Address 1 Destination of T7 0x6e 1 Modbus Function Code = 0x6e 0x09 1 Command length 0x91 1 T7 Command 0x04 1 Device type Serial number 4 Serial number of T7 to change New 1 New : 1 to 100 or 127 CRC-16 2 CRC-16 of all bytes in the command Response Address 1 Address of responding T7 0x6e 1 Modbus Function Code = 0x6e 0x04 1 Command length 0x91 1 T7 Command Status 1 0 = Command successful Otherwise = Command failed CRC-16 2 CRC-16 of all bytes in the response. Example 1 (Change of T7 with 127 and serial number 0x00000001 to 10): Command: serial number (0x00000001) new (0x0a) CRC-16 7f 6e 09 91 04 00 00 00 01 0a 66 ce status (0 = command successful) CRC-16 Response: 7f 6e 04 91 00 01 73 17 of 17