
WPMZ Series Modbus communication instruction manual
IM-0862-02
Number of pages:109
25
3.
Setting save communication
When saving the changed setting value, it instructs save setting.
Function code is 10H (hold register consecutive writing) is used.
Setting save instruction (address: 0BB8H)
First, send a message from the master to the slave (module).
Write setting permission (00000000H) for data.
Since the number of words to be written is 2, the number of bytes to be written is 4.
Table 4.10 Setting save instruction [Send]
n a me
Tran smi tte d
da ta
S l a v e ID
0 1 H
Fu n c ti on c o de
1 0 H
S t a r t a d d r e s s
U p p e r
0 BH
Lo w e r
B8 H
Th e n u mbe r o f da ta
U p p e r
0 0 H
Lo w e r
0 2 H
Nu m be r of byte s
0 4 H
Da ta o f th e fi r s t
wor d
U p p e r
0 0 H
Lo w e r
0 0 H
Da ta o f th e se c on d
wor d
U p p e r
0 0 H
Lo w e r
0 0 H
E r r o r c h e c k
( C R C - 1 6 )
Lo w e r
8 A H
U p p e r
4 DH
Then the slave (module) will respond to the master.
If it is not an error response, the setting value is updated normally.
In the case of an error response, it is necessary to redo the setting permission communication
again.
Table 4.11 Setting save instruction [reception]
n a me
Re c e i ve d
da ta
S l a v e ID
0 1 H
Fu n c ti on c o de
1 0 H
A d d r e s s
U p p e r
0 BH
Lo w e r
B8 H
Th e n u mbe r o f da ta
U p p e r
0 0 H
Lo w e r
0 2 H
E r r o r c h e c k
( C R C - 1 6 )
Lo w e r
C3 H
U p p e r
C9 H