WEG CFW-09 User Manual Page 322

  • Download
  • Add to my manuals
  • Print
  • Page
    / 362
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 321
323
CHAPTER 8 - CFW-09 OPTIONS AND ACCESSORIES
Example: to drive a ramp enable command (bit 100 = 1) of a CFW-09
at the address 1:
Query (Master)
Field Value
Slave address 01h
Function 05h
Bit number (high) 00h
Bit number (low) 64h
Bit value (high) FFh
Bit value (low) 00h
CRC- CDh
CRC+ E5h
Response (Slave)
Field Value
Slave address 01h
Function 05h
Bit number (high) 00h
Bit number (low) 64h
Bit value (high) FFh
Bit value (low) 00h
CRC- CDh
CRC+ E5h
8.14.3.4 Function 06 - Write
Single Register
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):
For this function, the slave response is an identical copy of the query sent by
the master.
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+
Response (Slave)
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 900 rpm, of a
CFW-09 at address 1. Please, remember that the value for the basic variable 4
depends on the used motor type and that the value 8191 is equal to the rated
motor speed. In this case, we suppose that the used motor has a rated speed
of 1800 rpm, thus the value to be written into the basic variable 4 for a speed of
900 rpm is the halve of 8191, i.e., 4096 (1000h).
Query (Master)
Field Value
Slave address 01h
Function 06h
Register (high) 13h
Register (low) 8Ch
Value (high) 10h
Value (low) 00h
CRC- 41h
CRC+ 65h
Response (Slave)
Field Value
Slave address 01h
Function 06h
Register (high) 13h
Register (low) 8Ch
Value (high) 10h
Value (low) 00h
CRC- 41h
CRC+ 65h
For this function, the slave response will be again a copy identical to the request
madebythemaster.Asalreadyinformed above,the basic variables areaddressed
from 5000, thus the basic variable 4 will be addressed at 5004 (138Ch).
Page view 321
1 2 ... 317 318 319 320 321 322 323 324 325 326 327 ... 361 362

Comments to this Manuals

Serzqlv 11 Jan 2024 | 18:37:58

coin