Control functions
7.8 Communicating with the PLC
SINAMICS V90, SIMOTICS S-1FL6
Operating Instructions, 04/2019, A5E36037884-007
275
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.
Set the motor to SON status.
You can servo on the motor with external terminal DI signal or simulated DI signal
(registers 40280/40281 and 40282/40283).
10. Write the speed setpoint via the register 40101.
Note:
You can calculate the actual speed value with the scale factor. Value 0x4000 repre-
sents the value of 100% × motor rated speed. Therefore, 0x2000 represents half of
the motor rated speed.
Example 3
This example shows the operating procedures when we use the setpoint and control word
from Modbus (p29008 = 1) as the Modbus control source in IPos control mode.
1.
Set RS485 bus address for the drive.
•
p29004 = 1
2.
Select the Modbus protocol by p29007.
•
p29007 = 2
3.
Select Modbus control source by p29008.
•
p29008 = 1
4.
Set the transmission baud rate by p29009.
•
p29009 = 8 (38400 baud)
5.
Set the drive work mode to IPos control mode.