EasyManua.ls Logo

CRE Technology GENSYS 2.0 - Table 77 - Modbus Communication Example

CRE Technology GENSYS 2.0
244 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
A53 Z0 9 0020 L En Technical documentation
Chapter : Communication
187
3/ Modbus communication example:
Table below gives an example of a MODBUS master sending a reading request (function 04) of 3 registers
starting from variable E0007. This request is sent to a GENSYS 2.0 setup as slave number 5.
MODBUS RTU request/answer example
Master request
GENSYS 2.0 slave answer
Field
Value
Field
Value
Slave address
05
Slave address
05
Function request
04
Function
04
Starting register (MSB)
00
Data bytes (=2*Number of requested registers)
06
Starting register (LSB)
07
Value of register E0007 (MSB)
D0
Number of registers (MSB)
00
Value of register E0007 (LSB)
D1
Number of registers (MSB)
03
Value of register E0008 (MSB)
D2
CRC16 (MSB)
00
Value of register E0008 (LSB)
D3
CRC16 (LSB)
4E
Value of register E0009 (MSB)
D4
Value of register E0009 (LSB)
D5
CRC16 (MSB)
XX
CRC16 (LSB)
YY
Table 77 - Modbus communication example

Table of Contents

Related product manuals