Function 06 - Write Single Register; Function 15 - Write Multiple Coils - WEG CFW08 Vector inverter User Manual

Vector frecuency inverter
Table of Contents

Advertisement

8.20.3.4
Function 06 - Write
Single Register
8.20.3.5
Function 15 - Write
Multiple Coils
CFW-08 OPTIONS AND ACCESSORIES
Example: to drive a ramp enable command (bit 100 = 1) of a CFW-08
at the address 1:
Query (Master)
Field
Slave address
Function
Bit number (high)
Bit number (low)
Bit value (high)
Bit value (low)
CRC-
CRC+
For this function, the slave response is an identical copy of the query sent
by the master.
This function is used to write a value to a single register. This function has
following structure (values are always hexadecimal values, and each field
represents one byte):
Query (Master)
Slave address
Function
Register address (byte high)
Register address (byte low)
Value for the register (byte high)
Value for the register (byte low)
CRC-
CRC+
Example: write of the speed reference (basic variable 4) equal to 30.00 hz of
a CFW-08 at address 1.
Query (Master)
Field
Slave address
Function
Register (high)
Register (low)
Value (high)
Value (low)
CRC-
CRC+
For this function, the slave response will be again a copy identical to the
request made by the master. As already informed above, the basic variables
are addressed from 5000, thus the basic variable 4 will be addressed at
5004 (138Ch). The value for this variable is 30.00 hz, that is represented
by 3000 (0BB8h).
This function allows writing values for a bit group that must be in numerical
sequence. This function can be also used to write a single bit (the values
are always hexadecimal, and each field represents one byte).
Value
Field
01h
Slave address
05h
Function
00h
Bit number (high)
64h
Bit number (low)
FFh
Bit value (high)
00h
Bit value (low)
CDh
CRC-
E5h
CRC+
Register address (byte high)
Register address (byte low)
Value for the register (byte high)
Value for the register (byte low)
Value
Field
01h
Slave address
06h
Function
13h
Register (high)
8Ch
Register (low)
0Bh
Value (high)
B8h
Value (low)
4Bh
CRC-
E7h
CRC+
Response (Slave)
Value
01h
05h
00h
64h
FFh
00h
CDh
E5h
Response (Slave)
Slave address
Function
CRC-
CRC+
Response (Slave)
Value
01h
06h
13h
8Ch
0Bh
B8h
4Bh
E7h
155

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cfw08 plus

Table of Contents