
35
From table 4.8.7.1 below, we know that the register address of the present voltage value is 0x0B00,
Query:
0x01 0x03 0x0B 0x00 0x00 0x02 0xC6 0x2F
The Corresponding Logical Response:
0x01 0x03 0x04 0x41 0x20 0x00 0x2A 0x6E 0x1A, within which,
0x41 0x20 0x00 0x2A is the read-back voltage valueand the corresponding floating point value is 10V.
4
. Preset Multiple Registers (0x10)
Preset Multiple Registes Example Query
Field Name
Byte length
Example Value
Slave Address
1
1~200
Function Code
1
0x10
Starting Address
2
0~0xFFFF
No. of Registers
2
n=1~32
Byte count
1
2*n
Preset Data
2*n
CRC Error Check
2
Preset Multiple Registers Example for a Logical Response
Field Name
Byte length
Example Value
Slave Address
1
1~200
Function Code
1
0x10
Starting Address
2
0~0xFFFF
No. of Registers
2
N
CRC Error Check
2
Preset Multiple Registers Example in an Illogical Response
Field Name
Byte length
Example Value
Slave Address
1
1~200
Function Code
1
0x90
Abnormal Code
1
01~04
CRC Error Check
2
Example
:
The following example sets the load
’
s constant current IFIX as 2.3A at the slave device address of 0x01.
From table 4.8.7.1 below, we know that the IFIX register address is 0x0A01and the floating point takes up
a two-word length.
Query:
0x01 0x10 0x0A 0x01 0x00 0x02 0x04 0x40 0x13 0x33 0x33 0xFC 0x23
The Corresponding Logical Response:
0x01 0x10 0x0A 0x01 0x00 0x02 0x13 0xD0
4.8.7 Coil With The Register Address Allocation
Table 1: Coil-bit definition
:
Name
Address Bit
Property
Description
PC1
0x0500
1
W/R
When the remote control status bit is set to 1, the
front key panel is disabled
PC2
0x0501
1
W/R
When the local prohibition bit is set to 1, the
"Shift +7" keys on the front panel are disabled
TRIG
0x0502
1
W/R
Trigger tagged: triggered once by software
command
株式会社ロイノス