Control functions
7.7 Communicating with the PLC
● One byte for the byte count
● N bytes for the register vaules
Byte 1
Byte 2
Address
FC (0x06)
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.
⑧
Write the control word via PLC.
⑨
Write the setpoint and read the status word via PLC.
186
Byte 3
Byte 4
Start ad-
Start ad-
dress
dress
(most
(least
significant
significant
byte)
byte)
Byte 5
Byte 6
Byte 7 +
n
Number of
Number of
nth value
registers
registers
(most
(most
(least
signifi-
significant
significant
cant
byte)
byte)
byte)
You can configure the slaver address from 1 to 31.
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
•
Note:
Keep the PLC baud rate the same as the drive setting.
Set even parity check for the PLC.
Note:
Bit 10 of the register 40100 must be set to 1 to allow the PLC
to control the drive.
You need to trigger a rise edge for OFF1 to enable SON sta-
tus for the motor, and OFF2 and OFF3 must be set to 1. The
step must be executed when you enable SON for the first
time.
Operating Instructions, 07/2015, 6SL3298-0AV60-0BP0
Byte 8 +
Byte 9 + n
Byte 10 +
n
n
nth value
CRC
CRC
(least
signifi-
cant
byte)
Comment
SINAMICS V90, SIMOTICS S-1FL6