Appendix 5 Examples For Input And Output Of Modbus - Excell EX2005 User Manual

Table of Contents

Advertisement

EXCELL PRECISION CO., LTD

Appendix 5 Examples for Input and Output of Modbus

Examples here use Appendix 3 and can also be applied to appendix 4, with different
Modbus Data Address.
CRC : Error check code
Function code 03: Modbus (40000~40001) Weight Display
Name
Input
ID Address
01
Function
03
code
Starting
00
Address Hi
Starting
00
Address Lo
No. of
00
Points Hi
No. of
02
Points Lo
04
CRC
0B
Function code 05: Modbus (01000) write zero command
Name
Input
ID Address
01
Function
05
code
03
Register's
address
E8
FF
ON/OFF
00
0C
CRC
4A
Function code 06: Modbus (41004) write zero band value
Name
Input
ID Address
01
Function
06
code
03
Register's
address
EC
01
Setting
value
F4
48
CRC
6C
04011210
Description
Machine ID
Register's starting
address is
0 = 00 00
(HEX)
40000~40001,
2 registers are used
Description
Machine ID
1000
= 03 E8
(10)
(HEX)
this address for "zero
on/off"
FF 00 :zero on
00 00 : zero off
Description
Machine ID
address for zero
band value
1004
= 03 EC
(10)
(HEX)
500
= 01 F4
(10)
(HEX)
Name
Output
ID Address
01
Function
03
code
Byte Count
04
Data Hi
01
(40000)
Data Lo
F4
(40000)
Data Hi
00
(40001)
Data Lo
00
(40001)
BA
CRC
3D
Name
Output
ID Address
01
Function
05
code
03
Register's
address
E8
FF
ON/OFF
00
0C
CRC
4A
Name
Output
ID Address
01
Function
06
code
03
Register's
address
E8
01
Setting
value
F4
48
CRC
6C
72
Description
Machine ID
1 register per 2 bytes,
and total of 4 bytes
Data in 40000
500
= 01 F4
(10)
(HEX)
Data in 40001
Description
Machine ID
1000
= 03 E8
(10)
(HEX)
this address for "zero
on/off"
FF 00 :zero on
00 00 : zero off
Description
Machine ID
address for zero
band value
1004
= 03 EC
(10)
(HEX)
500
= 01 F4
(10)
(HEX)
ZSME400000003

Advertisement

Table of Contents
loading

Table of Contents