Mitsubishi Electric FR-CC2-H315K Instruction Manual page 136

Table of Contents

Advertisement

• Normal response (Response message)
a. Slave address
b. Function
H03
(8 bits)
(8 bits)
• Query message setting
Message
a
Slave address
b
Function
c
Starting address
d
No. of points
• Content of normal response
Message
e
Byte count
f
Data
 Example) Read the register values of 41067 (Pr.67) to 41069 (Pr.69) from slave address 17
(H11).
Query message
Slave address
Function
H11
H03
(8 bits)
(8 bits)
Normal response (Response message)
Slave address
Function
H11
H03
(8 bits)
(8 bits)
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
register area can be written.
• Query message
a. Slave address
b. Function
H06
(8 bits)
(8 bits)
• Normal response (Response message)
a. Slave address
b. Function
H06
(8 bits)
(8 bits)
• Query message setting
Message
a
Slave address
b
Function
c
Register address
d
Preset Data
e. Byte count
H
(8 bits)
(8 bits)
Set the address to send messages to. Broadcast communication is not possible. (Invalid when "0"
is set.)
Set H03.
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.
Set the number of holding registers for reading data. Data can be read from up to 125 registers.
The setting range is H02 to HFA (2 to 250).
Twice the number of reads specified by (d) is set.
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 address+1, data of start address+2,
and so forth.
Starting address
H04
H2B
(8 bits)
(8 bits)
Byte count
H06
H00
H00
(8 bits)
(8 bits)
(8 bits)
c. Register address
H
L
(8 bits)
(8 bits)
c. Register address
H
L
(8 bits)
(8 bits)
Set the address to send messages to. Setting "0" enables broadcast communication.
Set H06.
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.
Set the data to write to the holding register. Write data is fixed at 2 bytes.
f. Data
L
...
(8 bits)
(n × 16 bits)
Description
Description
No. of points
H00
H03
(8 bits)
(8 bits)
Data
H00
H0A
H00
(8 bits)
(8 bits)
(8 bits)
d. Preset data
H
L
(8 bits)
(8 bits)
d. Preset data
H
L
(8 bits)
(8 bits)
Description
5.7 (N) Communication operation parameters
CRC check
L
H
(8 bits)
(8 bits)
CRC check
(8 bits)
(8 bits)
CRC check
H00
(8 bits)
(8 bits)
(8 bits)
page
139) assigned to the holding
CRC check
L
H
(8 bits)
(8 bits)
CRC check
L
H
(8 bits)
(8 bits)
5. PARAMETERS
1
2
3
4
5
6
7
8
9
10
135

Advertisement

Table of Contents
loading

Table of Contents