53 / 74
FG_F6_MODBUS_EN_01 / 2020-06-17
Writing of the parameters
The parameters are dependents of the program number.
Put the wanted program in edition before executing command.
•
Standard access
This is an example based on the writing of two parameters:
—
Fill time
(identifier number 1)
—
Stabilization time
(identifier number 2)
Master
Slave
—
Put in edition the program number on which the
parameters have to be written
—
Make a
Write N*words
request of 7 words at the
0000h
address, with the number of parameters to
read (Word 1), their identifiers (Word 2 and 5) and
their value on a long (Word 3 & 4 and 6 & 7).
On network:
01
10
00
7F
00
07
0E
02
00
01
00
E8
03
00
00
02
00
E8
03
00
00
87
AC
01
Slave address
10
Function number (Write N*words)
00 7F
Word address (Write parameters)
00 07
Number of words to write
0E
Number of bytes to write
02 00
Word 1: write 0002h (2 param. to read)
01 00
Word 2: write 0001h (identifier n°1)
E8 03
Word 3 & 4: write 000003E8h
(value of fill time = 1000(d)
→ 1 sec)
00 00
02 00
Word 5: write 0002h (identifier n°2)
E8 03
Word 6 & 7: write 000003E8h
(value of stab. time = 1000(d)
→ 1 sec)
00 00
87 AC
CRC
—
Answer to the request:
On network:
01
10
00
7F
00
07
B0
13
01
Slave address
10
Function number (Write N*words)
00 7F
Word address (Write parameters)
00 07
Number of written words
B0 13
CRC