FC16 - Write multiple registers
When a message with FC = 0x10 is received, then 5 + N bytes of data are expected, that is,
FC16 has 5 + N bytes of data:
● Two bytes for the starting address
● Two bytes for the number of registers
● One byte for the byte count
● N bytes for the register values
Byte 1
Byte 2
Byte 3
Address
FC
Start
(0x10)
address
(most
signifi-
cant
byte)
Operating steps
Description
①
Configure the RS485 bus address by parameter
p29004.
②
Select the communication protocol by parameter
p29007.
③
Select the command and setpoint source by parame-
ter p29008.
④
Set the transmission baud rate by parameter p29009.
⑤
Set control mode for the drive by p29003.
⑥
Save the parameters and restart the drive.
⑦
Configure the PLC parameters.
SINAMICS V90, SIMOTICS S-1FL6
Operating Instructions, 09/2015, A5E36037884
Byte 4
Byte 5
Byte 6
Start
Number
Number
address
of regis-
of regis-
(least
ters
ters
signifi-
(most
(least
cant
signifi-
signifi-
byte)
cant
cant
byte)
byte)
You can configure the slaver address from 1 to 31.
•
•
•
•
•
•
•
•
•
•
•
•
•
•
Note:
Keep the PLC baud rate the same as the drive setting.
Set even parity check for the PLC.
7.7 Communicating with the PLC
Byte 7
Byte 7 +
n
Number
nth
of bytes
value
(most
signifi-
cant
byte)
Comment
p29007 = 0: No protocol
p29007 = 1: USS protocol
p29007 = 2: Modbus protocol
p29008 = 1: Setpoint and control word from Modbus PZD
p29008 = 2: No control word.
5: 4800 baud
6: 9600 baud
7: 19200 baud
8: 38400 baud
9: 57600 baud
10: 76800 baud
11: 93750 baud
12: 115200 baud
13: 187500 baud
Control functions
Byte 8 +
Byte 9 +
Byte 10 +
n
n
n
nth
CRC
CRC
value
(least
signifi-
cant
byte)
213