Control functions
7.8 Communicating with the PLC
SINAMICS V90, SIMOTICS S-1FL6
276
Operating Instructions, 04/2019, A5E36037884-007
6.
Save the parameters and restart the drive.
7.
Configure the PLC parameters.
Note:
Keep the PLC baud rate the same as the drive setting.
Set even parity check for the PLC (parity = 2).
8.
Set a way for PLC sending message to slaves. Here we use the unicast mode and we
only want to send the message to slave 1.
Note:
If you want to send the message to all slaves, you need to set the slave address to 0
to use the broadcast mode.
9.
Write the control word you desired via the register 40100.
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 t
o enable SON (0→1) status 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.
For example, we write 0x46E to the register 40100 firstly and then write 0x46F to the
register. The motor now is in SON status. You can check the control word definition
table below to see the meaning of "0x46E" and "0x46F".