EasyManua.ls Logo

WEG CFW-09 - Function 16 - Write Multiple Registers

WEG CFW-09
362 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
325
CHAPTER 8 - CFW-09 OPTIONS AND ACCESSORIES
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+
Response (Slave)
Slave Address
Function
Initial register address (byte high)
Initial register address (byte low)
Number of registers (byte high)
Number of registers (byte low)
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
Value
Slave address
14h
Function
10h
Initial register (byte high)
00h
Initial register (byte low)
64h
Number of registers (byte high)
00h
Number of registers (byte low)
02h
Byte Count
04h
P100 (high)
00h
P100 (low)
0Ah
P101 (high)
00h
P101 (low)
14h
CRC-
91h
CRC+
75h
Response (Slave)
Field
Value
Slave address
14h
Function
10h
Initial register (byte high)
00h
Initial register (byte low)
64h
Number of registers (byte high)
00h
Number of registers (byte low)
02h
CRC-
02h
CRC+
D2h
-
-
-
-
-
-
-
-
-
-
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.
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(thevalues arealwayshexadecimalvaluesandeach field represents
one byte).

Table of Contents

Other manuals for WEG CFW-09

Related product manuals