CHAPTER 8 - CFW-09 OPTIONS AND ACCESSORIES
Example: to drive a ramp enable command (bit 100 = 1) of a CFW-09
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
For this function, the slave response is an identical copy of the query sent by
Register address (byte high)
Register address (byte low)
Value for the register (byte high)
Value for the register (byte low)
Register address (byte high)
Register address (byte low)
Value for the register (byte high)
Value for the register (byte low)
Example:write of thespeedreference (basic variable 4) equal to 900rpm, of a
rememberthat thevalue for the basicvariable 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 1800rpm, thusthe value to be written intothe basicvariable 4 for a speed of
900 rpm is the halve of 8191, i.e., 4096 (1000h).
For this function,theslave responsewillbe againa copyidentical totherequest
madebythemaster.Asalreadyinformedabove,thebasicvariablesareaddressed
from 5000,thus thebasic variable 4 willbeaddressed at5004 (138Ch).