EasyManua.ls Logo

IMO iSmart V4 - Ismart Modbus Protocol; Modbus RTU Slave Function

IMO iSmart V4
274 pages
Print Icon
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...
Chapter 8 20 Points RS485 type Models Instruction 211
Modbus RTU slave function
Function Description:
iSmart unit can be controlled by the computer or other controller using the communication control. PC and other
controller can read and write IO state, preset value of the elements and the setting of the unit. It also can use to read
the current value of the element and control the Run/Stop mode of iSmart. The maximum frame length in
communication format is 128bytes.
Hardware Configuration:
1. Connect the RS485 port A on each iSmart unit together, also do it to port B, as shown in below figure.
2. Set iSmart in the SET menu to No Remote IO.
3. Set iSmart ID = 01~99.
iSmart Modbus protocol
If iSmart receive a correct frame, it will carry out the command, its responses a correct frame to computer or
other controller. If the command that iSmart received is incorrect, iSmart responses Exception code to computer or
controller.
● Command format and Response format
CRC verifying range
Slave address
Function code data
Data
CRC-16
The Response command format, once iSmart receive an unexpected command.
CRC verifying range
Slave address
Function code
Exception code
CRC-16
Command Format:
Slave address
Function code
Data
CRC-16
Exception code
00H: broadcast to all the drivers
01H
Read coils
For detail
please refer
register
address
CRC verifying
range contain
Slave Address
Function Code
Exception Code
For detail,
please refer
Exception Code
Instruction
01H: to the No.01 driver
05H
Write single coil
0FH: to the No.15 driver
03H
Read registers
10H: to the No.16 driver
06H
Write single register
….
10H
Write multiple registers
63H: to the No.99 driver
08H
diagnostic

Table of Contents