FG_F6_MODBUS_EN_01 / 2020-06-17
14 / 74
COMMANDS
Standard access
Reminder: a byte is 8 bits long and a word is 16 bits long
Reminder: "h" indicates a hexadecimal code, "(d)" indicates a decimal code.
The
Standard access
allows the user to read/write
multiple items
in a single frame.
The ATEQ 6
th
series instruments support three different functions in
Standard access
.
Writing N*words: 10h
Question:
Slave
address
Function
number
(10h)
Word
address
Number of
words to
write
Number of
bytes to
write
Data
0
…
Data
N
CRC
Byte
Byte
Word
Word
Byte
N*words
Word
Answer:
Slave
address
Function
number
(10h)
Word
address
Number of written words
CRC
Byte
Byte
Word
Word
Word
Reading N*words: 03h
Question:
Slave
address
Function
number
(03h)
Word
address
Number of words to read
CRC
Byte
Byte
Word
Word
Word
Answer:
Slave
address
Function
number
(03h)
Number of
read bytes
Data 0
…
Data N
CRC
Byte
Byte
Byte
N*words
Word
Writing a bit: 05h
Question:
Slave
address
Function
number
(05h)
Bit address
Bit value
Force bit to 1: FF00h
Force bit to 0: 0000h
CRC
Byte
Byte
Word
Word
Word
Answer (identical to the question):
Slave
address
Function
number
(05h)
Bit address
Bit value
Force bit to 1: FF00h
Force bit to 0: 0000h
CRC
Byte
Byte
Word
Word
Word