FG_F6_MODBUS_EN_01 / 2020-06-17
30 / 74
Program
Program in edition mode command on the ATEQ device
Always subtract 1 from the value of the program number to be put in edition mode.
Example: for putting program number 2 in edition mode, send the value 1 at the address 3004h.
•
Standard access
Example for putting program number 3 in edition mode:
Master
Slave
—
Make a
Write N*words
request of 1 word at the
address
3004h
.
On network:
01
10
30
04
00
01
02
02
00
96
B7
01
Slave address
10
Function number (Write N*words)
30 04
Word address (Program in edition mode)
00 01
Number of words to write
02
Number of bytes to write
02 00
Word: write 0002h (Program n°3)
96 B7
CRC
—
Answer to the request:
On network:
01
10
30
04
00
01
4F
08
01
Slave address
10
Function number (Write N*words)
30 04
Word address (Program in edition mode)
00 01
Number of words to write
4F 08
CRC