Control functions
7.8 Communicating with the PLC
SINAMICS V90, SIMOTICS S-1FL6
Operating Instructions, 04/2019, A5E36037884-007
275
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.
If you want to send the message to all slaves, you need to set the sla
ve address to 0
to use the broadcast mode.
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).
Write the speed setpoint via the register 40101.
You can calculate the actual speed value with the scale fa
ctor. Value 0x4000 repre-
sents the value of 100% × motor rated speed. Therefore, 0x2000 represents half of
the motor rated speed.
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.
Set RS485 bus address for the drive.
p29004 = 1
Select the Modbus protocol by p29007.
p29007 = 2
Select Modbus control source by p29008.
p29008 = 1
Set the transmission baud rate by p29009.
p29009 = 8 (38400 baud)
Set the drive work mode to IPos control mode.