
Connections
The inputs must be connected using the unit-global variables of the "AddOn" MCC source file
with the outputs of the DCC_SCOBSTACLES DCC block.
Table 3-32
FB_ObstacleAddOnToPLC connections
Name
Type Data
type
Unit-global variables of "AddOn"
Meaning
bo_zsw1_Prg_Obst_OK
IN
BOOL
obstacle_sc_prg_ost_ok
Bit 0 of status word 1
bo_zsw1_Obst_Deleted
IN
BOOL
obstacle_sc_obst_deleted
Bit 1 of status word 1
i16Number_Obst
IN
INT
obstacle_sc_number_obst
Number of obstacles
Obstacle1_IO_PQW
OUT ARRAY
[0..15]
OF word
addon_obstacle1_send
Output array for the Obstacle
block (see Figure 5-13 Address
Obstacle2_IO_PQW
OUT ARRAY
[0..15]
OF word
addon_obstacle2_send
Output array for the Obstacle
block (see Figure 5-13 Address
3.3.2.15
FB_AddDataPLCToAddOn
Symbol (FBD representation)
)%B$GG'DWD3/&7R$GG2Q
$55$<
$GG'DWDB,2B3,:
E$GG'DWDB:RUG
:25'
:25'
:25'
:25'
:25'
:25'
E$GG'DWDB:RUG
E$GG'DWDB:RUG
E$GG'DWDB:RUG
E$GG'DWDB:RUG
E$GG'DWDB:RUG
$55$<
$GG'DWDB,2B3,:
$55$<
$GG'DWDB,2B3,:
Figure 3-29
FB_AddDataPLCToAddOn
Task
The "FB_AddDataPLCToAddOn" block reads the input area from the PROFIBUS DP /
PROFINET PN and separates the arrays into words and bits. Additional data can be received
from the PLC with this function block.
Overview of the software
3.3 Sway control function blocks
SC integrated STS, GSU
Operating Instructions, 07/2019, A5E48271265B AA
75