ADOS S.R.L. Buccinasco (MI)
417-MTA200I1
Rev. 9
Page 37 of 77
The below example reads registers 0 through 2 from slave 01:
ADDR FUNC START
REG
HI
START
ERG
LOW
# OF
ERG
HI
# OF
ERG
LOW
CHECK
01
03
00
00
00
03
05 CB
Slave answer is as follows:
ADDR FUNC BYTE
COUNT
REG
0
HI
REG
0
LOW
REG
1
HI
REG
1
LOW
REG
2
HI
REG
2
LOW
CHECK
01
03
06
00
0F
00
00
01
C0
74 B4
Value of register 0 is 15, register 1 is 0 and register 2 is 448.
Function 05 - Force Single Coil
Allows the host to force a single coil. In A200E the command is used to force ZERO, START,
PAUSE or ACK command.
If the ZERO cannot be done (not enabled or weigh higher than the allowable limit) an “Illegal Data
Value” exception response will be generated
The below is a valid example:
ADDR FUNC COIL
#
HI
COIL
#
LOW
DATA
VALUE
HI
DATA
VALUE
LOW
CHECK
01
05
00
00
FF
00
8C 3A
The normal response is to retransmit the query message:
ADDR FUNC COIL
#
HI
COIL
#
LOW
DATA
VALUE
HI
DATA
VALUE
LOW
CHECK
01
05
00
00
FF
00
8C 3A
Function 06 - Preset Single Register
Allows the host to modify the contents of an holding register
The below example preset register 12 of slave 01 with 54:
ADDR FUNC REG
#
HI
REG
#
LOW
DATA
VALUE
HI
DATA
VALUE
LOW
CHECK
01
06
00
0C
00
36
C9 DF
The normal response is to retransmit the query message:
ADDR FUNC REG
#
REG
#
DATA
VALUE
DATA
VALUE
CHECK