Modbus Ascii Protocol; Message Configuration; Id Number(Slave Address); Function Code - Taie FY100 Communications Manual

Digital pid controller
Hide thumbs Also See for FY100:
Table of Contents

Advertisement

5 MODBUS ASCII Protocol

5.1 Message Configuration

Header
ID Number
(:)
1 Byte
2 Byte

5.2 ID Number(Slave Address)

Range: 1~255
Master instrument identifies slave controllers by the ID Number of the requested
message. ID Number should be configuring in individual slave controller by setting
parameter "IDNO" in operation LEVEL 3.

5.3 Function Code

Function Code
Contents
03 (30H 33H)
Reading multiple registers value from slave controller
(Max register count : 8)
06 (30H 36H)
Setting 1 register value to slave controller
16 (31H 30H)
Setting multiple registers value to slave controller.
(Max register count : 8)

5.4 Data

Data depends on function code.
Request message from Master instrument is include "register address", "data count"
and "setting data".
Response data from Slave controller is include "byte count", "data" and "abnormal
code".

5.5 Error Check LRC

LRC generation step is as below:
① . Convert all the messages to RTU mode (HEX code)。
② . Add all the values from "ID Number" to the end of "Data". This is assumed as
Y(8Bit).
③ . Calculate 2's complement with Y.
④ . Convert Y to ASCII characters (16 bit)
⑤ . LRC=Y
FY400/600/700/800/900 COMMUNICATION MANUAL
(Function Code)
2 Byte
2N Byte
5 MODBUS ASCII Protocol
Data
LRC
2 Byte
Delimiter
(CR+LF)
2 Byte
7

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fy600Fy101Fy700Fy800Fy900Fy400

Table of Contents