25
Operating example (When connected to the AD-4212C/AD-4212D)
This is the procedure for basic operation of the weighing device in Modbus RTU communication.
■
Reading weighing value
Procedure
Contents
Modbus RTU access method
Coil address
Applicable Holding Register
address
Status confirmation contents
AD-4212C
AD-4212D
()data length
1
Check decimal point position
Read the applicable Holding Register
40 2005-2006
(2word)
Check decimal point position
eg)
0x00000003
→
decimal point 3 digits
2
Check unit
Read the applicable Holding Register
40 2013-2014
(2word)
Check the applicable weighing unit from the value
eg)
0x00000000
→
unit
:
g
3
Check weighing value
⋆
1
Read the applicable Holding Register
40 2001-2002
(2word)
Check the weighing value
eg)
0x00BC614E
→
12345678
40 2003-2003
(1word)
Check the status information
eg)
0x0001
→
stable weighing value
4
Check the weighing value by
following steps 1 to 3.
eg)
12345.678 g (stable)
5
Repeat steps 3 to 4.
⋆
2
⋆1
Be sure to read “weighing value” and “weighing value status information” at the same time.
If they are read separately, the weighing value status cannot be judged because the correspondence between the “weighing value” and “weighing value
status information” may differ depending on the update timing.
⋆
2
If the decimal point position or unit is changed, or if the smart range function is used, perform step 1 and 2 as necessary.
■
Re-zero (zero reset execution example)
Procedure
Contents
Modbus RTU access method
Coil address
Applicable Holding Register
address
Status confirmation contents
AD-4212C
AD-4212D
() data length
1
Instruct to start Re-zero
Set “1” to the applicable Coil
00 2004
2
Confirm start of Re-zero
Read applicable Holding Register
40 2003
(1word)
Wait until “40 2003.03” becomes to ”1”
⋆
3
3
Confirm during Re-zero
Read applicable Holding Register
40 2003
(1word)
Wait until “40 2003.03” becomes to “0”
4
Confirm Re-zero completion
Read applicable Holding Register
40 2001-2002
(2word)
Confirm that it becomes “0x00000000”
⋆
4
⋆3.
Normally, changes immediately after setting “1” to Coil in the previous step.
⋆4.
If weighing value is unstable, re-zero cannot be executed. Be sure to confirm completion of re-zero by confirming that the weighing value is
“
0x00000000”.