Function 16 - Write Multiple Registers - WEG CFW08 Vector inverter User Manual

Vector frecuency inverter
Table of Contents

Advertisement

CFW-08 OPTIONS AND ACCESSORIES
8.20.3.6
Function 16 - Write
Multiple Registers
156
Query (Master)
Slave address
Function
Initial bit address (byte high)
Initial bit address (byte low)
Number of bits (byte high)
Number of bits (byte low)
Byte Count Field (number of data bytes)
Byte 1
Byte 2
Byte 3
etc...
CRC-
CRC+
The value of each bit that is being sent is placed at a position of the data
bytes sent by the master. The first byte, in the bits 0 to 7, receives the 8
first bits by starting from the initial address indicated by the master. The
other bytes (if the number of inscribed bits is higher than 8) remain in
sequence. If the number of inscribed bits is not a multiple of 8, the remaining
bits of the last byte should be filled in with 0 (zero).
Example: command writing for general enabling (bit 100 = 1), general
enabling (bit 101 = 1) and CWW-direction of rotation (bit 102 = 0), for
a CFW-08 at address 1:
Query (Master)
Field
Slave address
Function
Initial bit (byte high)
Initial bit (byte low)
Number of bits (byte high)
Number of bits (byte low)
Byte Count
Bits Value
CRC-
CRC+
As only three bits are written, the master needed only one byte to transmit
the data. The transmitted values are in the three less significant bits of
the byte that contains the value for the bits. The other bits of this byte
remained with the value 0 (zero).
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).
Initial bit address (byte high)
Initial bit address (byte low)
Number of bits (byte high)
Number of bits (byte low)
Value
Field
01h
Slave address
0Fh
Function
00h
Initial bit (byte high)
64h
Initial bit (byte low)
00h
Number of bits (byte high)
03h
Number of bits (byte low)
01h
CRC-
03h
CRC+
BEh
9Eh
Response (Slave)
Slave address
Function
CRC-
CRC+
Response (Slave)
Value
01h
0Fh
00h
64h
00h
03h
54h
15h

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cfw08 plus

Table of Contents