Function 05 - Write Single Coil - WEG CFW08 Vector inverter User Manual

Vector frecuency inverter
Table of Contents

Advertisement

CFW-08 OPTIONS AND ACCESSORIES
Number of registers (byte high)
Number of registers (byte low)
8.20.3.3
Function 05 - Write
Single Coil
154
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)
CRC-
CRC+
Example: Read of the value proportional to the frequency value (P002)
and motor current (P003) of the CFW-08 at address 1:
Query (Master)
Field
Slave address
Function
Initial register (byte high)
Initial register (byte low)
CRC-
CRC+
Each register is always formed by two bytes (high e low). For the example,
we have P002 = 09C4h, that in decimal number is equal to 2500.
As this parameter have a decimal place indication, the real read value is
25.00 hz. In the same way we will have a current value P003 = 028Ah,
that is equal to a 650 decimal. As the current has two decimal resolution,
the read value is 6.50 A.
This function is used to write a value to a single bit. The bit value is
represented by using two bytes, where FF00h represents the bit that is
equal to 1, and 0000h represents the bit that is equal to 0 (zero). It has
the following structure (the values are always hexadecimal, and each
field represents one byte):
Query (Master)
Slave address
Function
Bit address (byte high)
Bit address (byte low)
Bit value (byte high)
Bit value (byte low)
CRC-
CRC+
Value
Field
01h
Slave address
03h
Function
00h
Byte Count
02h
P002 (high)
00h
P002 (low)
02h
P003 (high)
65h
P003 (low)
CBh
CRC-
CRC+
Bit address (byte high)
Bit address (byte low)
Bit value (byte high)
Response (Slave)
Slave address
Function
Byte Count Field
Data 1 (high)
Data 1 (low)
Data 2 (high)
Data 2 (low)
etc...
CRC-
CRC+
Response (Slave)
Value
01h
03h
04h
09h
C4h
02h
8Ah
38h
95h
Response (Slave)
Slave address
Function
Bit value (byte low)
CRC-
CRC+

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cfw08 plus

Table of Contents