9-34 | MVW3000
9
Communication Networks
9-34 | MVW3000
As only three bits are being written, the master needed only one byte to transmit the data. The transmitted values
are in the three less significant bits of the byte that contains the value for the bits. The other bits of this byte
remained with the value 0 (zero).
9.3.3.6 Function 16 - Write Multiple Registers
This function allows writing values to a group of registers that must be in numerical sequence. This function can
also be used to write a single register (the values are always hexadecimal values and each field represents one
byte).
Table 9.25:
Telegram structure
Request (Master)
Response (Slave)
Slave address
Slave address
Function
Function
Initial register address (byte high)
Initial register address (byte high)
Initial register address (byte low)
Initial register address (byte low)
Number of registers (byte high)
Number of registers (byte high)
Number of registers (byte low)
Number of registers (byte low)
Byte Count Field (number of data bytes)
CRC-
Data 1 (high)
CRC+
Data 1 (low)
-
Data 2 (high)
-
Data 2 (low)
-
etc
-
CRC-
-
CRC+
-
Example: Writing an acceleration time (P0100) of 1.0 s and a deceleration time (P0101) of 2.0 s, to an MVW3000 at
the address 20:
Table 9.26:
Example of telegram structure
Request (Master)
Response (Slave)
Field
Value
Field
Value
Slave address
14h
Slave address
14h
Function
10h
Function
10h
Registrador inicial (high)
00h
Registrador inicial (high)
00h
Registrador inicial (low)
64h
Registrador inicial (low)
64h
Nº de registradores (high)
00h
Nº de registradores (high)
00h
Nº de registradores (low)
02h
Nº de registradores (low)
02h
Byte Count
04h
CRC-
02h
P0100 (high)
00h
CRC+
D2h
P0100 (low)
0Ah
-
-
P0101 (high)
00h
-
-
P0101 (low)
14h
-
-
CRC-
91h
-
-
CRC+
75h
-
-
Considering that the two parameters have a resolution of one decimal place, in order to write 1.0 and 2.0 seconds,
the values 10 (000Ah) and 20 (0014h) must be transmitted, respectively.
9.3.3.7 Function 43 - Read Device Identification
It is an auxiliary function, which allows reading the manufacturer name, model and firmware version of the product.
It has the following structure:
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...