Appendix
A.1 Interconnecting signals in the converter
SINAMICS G115D distributed drive
Operating Instructions, 12/2020, FW V4.7 SP13, A5E48681219B-002
537
A.1.2
Application example
Shift the control logic into the converter
It is only permissible that a conveyor system starts when two signals are present
simultaneously. These could be the following signals, for example:
•
The oil pump is running (the required pressure level is not reached, however, until after 5 seconds).
•
The protective door is closed.
To implement this task, you must insert free function blocks between digital input 0 and the
command to switch on the motor (ON/OFF1).
The signal of digital input 0 (DI 0) is fed through a time block (PDE 0) and is interconnected
with the input of a logic block (AND 0). The signal of digital input 1 (DI 1) is interconnected to
the second input of the logic block. The logic block output issues the ON/OFF1 command to
switch on the motor.
Setting the control logic
Parameter
Description
p20161 = 5
The time block is enabled by assigning to runtime group 5 (time slice of 128 ms)
p20162 = 430
Run sequence of the time block within runtime group 5 (processing before the
AND logic block)
p20032 = 5
The AND logic block is enabled by assigning to runtime group 5 (time slice of 128 ms)
p20033 = 440
Run sequence of the AND logic block within runtime group 5 (processing after
the time block)
p20159 = 5000.00 Setting the delay time [ms] of the time module: 5 seconds
p20158 = 722.0
Connect the status of DI 0 to the input of the time block
r0722.0 = Parameter that displays the status of digital input 0.
p20030[0] = 20160 Interconnecting the time block to the 1st AND input
p20030[1] = 722.1 Interconnecting the status of DI 1 to the 2nd AND input
r0722.1 = Parameter that displays the status of digital input 1.
p0840 = 20031
Interconnect the AND output to ON/OFF1
Explanation of the application example using the ON/OFF1 command
Parameter p0840[0] is the input of the "ON/OFF1" block of the converter. Parameter r20031
is the output of the AND block. To interconnect ON/OFF1 with the output of the AND block,
set p0840 = 20031.