123
5. PARAMETERS
5.7 (N) Communication operation parameters
1
2
3
4
5
6
7
8
9
10
• Normal response (Response message)
• Query message setting
• Content of normal response
Example) Read the register values of 41067 (Pr.67) to 41069 (Pr.69) from slave address 17
(H11).
Query message
Normal response (Response message)
Read value
Register 41067
(Pr.67)
: H0000 (0)
Register 41068
(Pr.68)
: H000A (1.0 s)
Register 41069
(Pr.69)
: H0000 (0)
Preset single register (writing data to holding registers) (H06 or 06)
• The content of the system environment variables and converter unit parameters (refer to
) assigned to the holding
register area can be written.
• Query message
• Normal response (Response message)
• Query message setting
a. Slave address
b. Function
e. Byte count
f. Data
CRC check
(8 bits)
H03
(8 bits)
(8 bits)
H
(8 bits)
L
(8 bits)
...
(n × 16 bits)
L
(8 bits)
H
(8 bits)
Message
Description
a
Slave address
Set the address to send messages to. Broadcast communication is not possible. (Invalid when "0"
is set.)
b
Function
Set H03.
c
Starting address
Set the holding register address from which to start reading the data.
Starting address = start register address (decimal) - 40001
For example, when starting register address 0001 is set, the data of holding register address 40002
is read.
d
No. of points
Set the number of holding registers for reading data. Data can be read from up to 125 registers.
Message
Description
e
Byte count
The setting range is H02 to HFA (2 to 250).
Twice the number of reads specified by (d) is set.
f
Data
The amount of data specified by (d) is set. Read data is output Hi bytes first followed by Lo bytes,
and is arranged as follows: data of start address, data of start 1, data of start 2,
and so forth.
Slave address
Function
Starting address
No. of points
CRC check
H11
(8 bits)
H03
(8 bits)
H04
(8 bits)
H2B
(8 bits)
H00
(8 bits)
H03
(8 bits)
—
(8 bits)
—
(8 bits)
Slave address
Function
Byte count
Data
CRC check
H11
(8 bits)
H03
(8 bits)
H06
(8 bits)
H00
(8 bits)
H00
(8 bits)
H00
(8 bits)
H0A
(8 bits)
H00
(8 bits)
H00
(8 bits)
—
(8 bits)
—
(8 bits)
a. Slave address
b. Function
c. Register address
d. Preset data
CRC check
(8 bits)
H06
(8 bits)
H
(8 bits)
L
(8 bits)
H
(8 bits)
L
(8 bits)
L
(8 bits)
H
(8 bits)
a. Slave address
b. Function
c. Register address
d. Preset data
CRC check
(8 bits)
H06
(8 bits)
H
(8 bits)
L
(8 bits)
H
(8 bits)
L
(8 bits)
L
(8 bits)
H
(8 bits)
Message
Description
a
Slave address
Set the address to send messages to. Setting "0" enables broadcast communication.
b
Function
Set H06.
c
Register address
Set the holding register address to write data to.
Register address = holding register address (decimal) - 40001
For example, when register address 0001 is set, data is written to holding register address 40002.
d
Preset Data
Set the data to write to the holding register. Write data is fixed at 2 bytes.