9-32 | MVW3000
9
Communication Networks
9-32 | MVW3000
9.3.3.3 Function 05 - Write Single Coil
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):
Table 9.19:
Telegram structure
Request (Master)
Response (Slave)
Slave address
Slave address
Function
Function
Bit address (byte high)
Bit address (byte high)
Bit address (byte low)
Bit address (byte low)
Bit value (byte high)
Bit value (byte high)
Bit value (byte low)
Bit value (byte low)
CRC-
CRC-
CRC+
CRC+
Example: to activate the start command (bit 100 = 1) of an MVW3000 at the address 1:
Table 9.20:
Example of telegram structure
Request (Master)
Response (Slave)
Field
Value
Field
Value
Slave address
01h
Slave address
01h
Function
05h
Function
01h
Bit number (byte high)
00h
Bit number (byte high)
01h
Bit number (byte low)
64h
Bit number (byte low)
02h
Bit value (byte high)
FFh
Bit value (byte high)
D0h
Bit value (byte low)
00h
Bit value (byte low)
49h
CRC-
CDh
CRC-
CDh
CRC+
E5h
CRC+
E5h
For this function, the slave response is an identical copy of the request sent by the master.
9.3.3.4 Function 06 - Write Single Register
This function is used to write a value to a single register. This function has the following structure (values are
always hexadecimal values, and each field represents one byte):
Table 9.21:
Telegram structure
Request (Master)
Response (Slave)
Slave address
Slave address
Function
Function
Register address (byte high)
Register address (byte high)
Register address (byte low)
Register address (byte low)
Value for the register (byte high)
Value for the register (byte high)
Value for the register (byte low)
Value for the register (byte low)
CRC-
CRC-
CRC+
CRC+
Example: Writing a speed reference (basic variable 4) equal to 900 rpm, to an MVW3000 at the address 1.
It is useful to 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 half of 8191, i.e., 4096 (1000h).
Summary of Contents for MVW3000 A0040 V023
Page 2: ......
Page 4: ......
Page 5: ...User s Manual Series MVW3000 Language English Document 10004823674 00 Publication Date 03 2017...
Page 6: ...Summary of Reviews Version Review Description R00 First edition...
Page 12: ...1 4 MVW3000 1 Safety Notices...
Page 58: ...6 18 MVW3000 6 Installation Connection and Energization...