INST No. INE-479-P0
Software version 1.0
-12-
5.3 Function code of an analogue setting value
5.3.1 Reading of an analogue setting value
[Function code: 03 (03H)]
Continuously analogue setting value (2 bytes: 16 bits) is read out only the designated number
from the designated No. The reading order is an upper class (H) 8 bits, the subordinate class (L) 8
bits.
5.3.2 Writing of an analogue setting value
[Function code: 06 (06H)]
Program the analogue setting value of the designated No to the designated value.
[Example]
Reading of upper class “H” data and subordinate class “L” data of
calibration curve coefficient a0 of slave 1.
(Reading out 2 data of reference No 40022 to 40023)
Reference No
40022
40023
Data 42F6H
E666H
<RTU mode>
Master
→
Device Device
→
Master
Upper class as personal
IRMA series
Slave address
01H
Slave address
01H
Function code
03H
Function code
03H
Start No (H)
*1
00H
Number of data
*2 04H
Start No (L)
*1
15H
a0 data H (H)
*3 42H
The number (H)
*3
00H
a0 data H (L)
*3 F6H
The number (L)
*3
02H
a0 data L (H)
*3 E6H
CRC (L)
*4
D5H
a0 data L (L)
*3 66H
CRC (H)
*4
CFH
CRC (L)
*4 C4H
CRC (H)
*4 33H
*1: Start No (Relative No) is "Reference No-40001".
*2: The data number is the byte number of data. (It is not the demand number).
*3: The reading order is an upper class (H) 8 bits, the subordinate class (L) 8 bits.
*4: The reading order is the subordinate class (L) 8 bits, an upper class (H) 8 bits.
←
a0 = 123.45
Example of (Floating point: 42F6E666)
Same answer as a command message at the time of a normal answer.
[Example]
Program the [Constituent 1: Calibration curve No] to “1”.
Program the [Analog setting value reference No 40001] to “1”.
<RTU mode>
Master
→
Device Device
→
Master
Upper class as personal
IRMA series
Slave address
01H
Slave address
01H
Function code
06H
Function code
06H
Setting value No (H)
*1
00H
Setting value No (H) *2 00H
Setting value No (L)
*1
00H
Setting value No (L) *2 00H
Setting condition (H)
00H
Setting condition (H) *2 00H
Setting condition (L)
01H
Setting condition (L) *2 01H
CRC (L)
48H
CRC (L)
*3 48H
CRC (H)
0AH
CRC (H)
*3 0AH
*1: Setting value No (Relative No) is "Reference No-40001".
*2: The writing order is an upper class (H) 8 bits, the subordinate class (L) 8 bits.
*3: The writing order is the subordinate class (L) 8 bits, an upper class (H) 8 bits.
5. MODBUS protocol-Function code
R e m a r k s
R e m a r k s
Reference