
3.3.2.13
FB_ObstaclePLCToAddOn
Symbol (FBD representation)
)%B2EVWDFOH3/&7R$GG2Q
$55$<
$55$<
2EVWDFOHB,2B3,:
2EVWDFOHB,2B3,:
EBVWZ
ERBVWZB3UJB2EVW
ERBVWZB'HOB2EVW
L6HWB7U
L6HWB7U
L6HWB+RLVW
L6HWB7U
L6HWB7U
L6HWB+RLVW
:25'
%22/
%22/
',17
',17
',17
',17
',17
',17
L6HWB7U
L6HWB7U
L6HWB+RLVW
L6HWB7U
L6HWB7U
L6HWB+RLVW
L6HWB7U
L6HWB7U
L6HWB+RLVW
',17
',17
',17
',17
',17
',17
',17
',17
',17
Figure 3-27
FB_ObstaclePLCToAddOn
Task
The "FB_ObstaclePLCToAddOn" block reads the input area from the PROFIBUS DP /
PROFINET PN for the Obstacles block and separates the array into words and bits.
Connections
The outputs must be connected using the unit-global variables of the "AddOn" MCC source file
with the inputs of the DCC_SCOBSTACLES DCC block.
Table 3-31
FB_ObstaclePLCToAddOn connections
Name
Type Data
type
Unit-global variables of "Ad‐
dOn"
Meaning
Obstacle1_IO_PIW
IN
ARRAY
[0..15]
OF word
addon_obstacle1_receive
Input array for the Obstacle block 1 (see Figure 5-13
Address list in SCOUT (communication between SI‐
MATIC S7 and SIMOTION) (Page 122))
Obstacle2_IO_PIW
IN
ARRAY
[0..15]
OF word
addon_obstacle2_receive
Input array for the Obstacle block 2 (see Figure 5-13
Address list in SCOUT (communication between SI‐
MATIC S7 and SIMOTION) (Page 122))
b16_stw1
OUT WORD
-
Control word 1 output not separated into individual
bits
Overview of the software
3.3 Sway control function blocks
SC integrated STS, GSU
Operating Instructions, 07/2019, A5E48271265B AA
73