Chapter 8 Communication Description
130
8
●Operation Code(OP Code) Description:
※
03H (Read multi-registers):
Example: Read data from registers 2101H and 2102H of the drive 1
Message Code (Host to Drive)
Address
OP
Code
Starting Register
Register
Numbers to
Readout
CRC Checksum
MSB
LSB
MSB
LSB
LSB
MSB
02H
03H
21H
01H
00H
02H
9FH
C4H
This example shows the host to read the drive data from 2 registers of the drive. The
host identifies drive 1 by calling the drive address (02
H) with the ―read‖ operation
command (03H) to read the drive data from the registers (2101H
– starting register)
to the register (2102H
– Register Numbers to Readout defines the numbers of
register for data readouts).
Return Code (Drive to Host)
Address
OP
Code
Data
Bytes
2101H(Register)
Data
2102H(Register)
Data
CRC Checksum
MSB
LSB
MSB
LSB
LSB
MSB
02H
03H
04H
55H
00H
17H
70H
D6H
EBH
The host reads registers 2101H and 2102H of drive (02H) (drive status and speed
command). After the drive receives the host’s command, the drive returns 4 bytes
data (2101H=5500H and 2102H=1770H) to the host.
Caution:
The host cannot simultaneously broadcast 03H OP code to drives when
multiple drives connected or all drives reject host’s OP code.
※
06H (Write to single register)
Example: Write a data (1770H) into the drive register (2001H)
Message Code (Host to Drive)
Address
OP
Code
Drive Register
Register Data
CRC Checksum
MSB
LSB
MSB
LSB
LSB
MSB
02H
06H
20H
01H
17H
70H
DDH
EDH
This example shows the host to write the data (1770H) to the register (2001H) of the
drive. The host identifies drive 1 by calling the drive address (02
H) with the ―write‖
operation command (06H) to write the data (1770H) into the register (2001H).
Return Code (Drive to Host)
Address
OP
Code
Drive Register
Register Data
CRC Checksum
MSB
LSB
MSB
LSB
LSB
MSB
02H
06H
20H
01H
17H
70H
DDH
EDH
The host writes data 1770H into the drive register 2001H. After receiving data from
the host and writing data into drive’s registers, the drive returns the original receiving
message to the host. OP code-06H of the host can synchronously broadcast to all
drives but has no return code to the host.
Summary of Contents for RM6F5 series
Page 1: ...AC MOTOR DRIVE Operation Manual RM6F5 series ...
Page 194: ...Notes 194 Notes ...
Page 195: ...Notes 195 Notes ...