Function 16 - Write Multiple Registers - WEG CFW-09 User Manual

Frequency inverter
Hide thumbs Also See for CFW-09:
Table of Contents

Advertisement

8.14.3.6
Function 16 - Write
Multiple Registers
This function allows writing values to a register group that must be in
numerical sequence. This function can also be used to write a single
register (the values are always hexadecimal values and each field represents
one byte).
Query (Master)
Slave address
Function
Initial register address (byte high)
Initial register address (byte low)
Number of registers (byte high)
Number of registers (byte low)
Byte Count Field (number of data bytes)
Data 1 (high)
Data 1 (low)
Data 2 (high)
Data 2 (low)
etc to
CRC-
CRC+
Example: writing of the acceleration time P100 = 1.0 s and deceleration
time P101 = 2.0 s, of a CFW-09 at the address 20:
Query (Master)
Field
Slave address
Function
Initial register (byte high)
Initial register (byte low)
Number of registers (byte high)
Number of registers (byte low)
Byte Count
P100 (high)
P100 (low)
P101 (high)
P101 (low)
CRC-
CRC+
As the two parameters have a resolution of a decimal place for writing of 1.0
and 2.0 seconds, thus the values 10 (000Ah) and 20 (0014h) should be
transmitted.
CHAPTER 8 - CFW-09 OPTIONS AND ACCESSORIES
Response (Slave)
Initial register address (byte high)
Initial register address (byte low)
Number of registers (byte high)
Number of registers (byte low)
Response (Slave)
Value
Field
14h
Slave address
10h
Function
00h
Initial register (byte high)
64h
Initial register (byte low)
00h
Number of registers (byte high)
02h
Number of registers (byte low)
04h
CRC-
00h
CRC+
0Ah
-
00h
-
14h
-
91h
-
75h
-
Slave Address
Function
CRC-
CRC+
-
-
-
-
-
-
Value
14h
10h
00h
64h
00h
02h
02h
D2h
-
-
-
-
-
325

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents