Task
The "FB_TargetsAddOnToPLC" block writes the Targets block to the PROFIBUS DP /
PROFINET PN output area.
Connections
The inputs must be connected using the unit-global variables of the "AddOn" MCC source file
with the outputs of the DCC_SCTARGETS DCC block.
Table 3-30 FB_TargetsAddOnToPLC connections
Name Type Data
type
Unit-global variables of "AddOn" Meaning
bo_zsw1_Direction_Land IN BOOL targets_sc_direction_land Bit 1 of status word 1
bo_zsw1_Direction_Water IN BOOL targets_sc_direction_water Bit 2 of status word 1
bo_zsw1_Pos_Saved IN BOOL targets_sc_pos_saved Bit 0 of status word 1
i8Lane_Ship_Load_OK IN SINT targets_SC_Lane_Load_OK Return the lane number from
which the ship will be loaded
i8Lane_Ship_Unload_OK IN SINT targets_SC_Lane_Unload_OK Return the lane number from
which the ship will be unloaded
Targets_IO_PQW OUT ARRAY
[0..5] OF
word
addon_targets_send Output array for the Targets
block (see Figure 5-13 Address
list in SCOUT (communication
between SIMATIC S7 and SIMO‐
TION) (Page 122))
Overview of the software
3.3 Sway control function blocks
SC integrated STS, GSU
72 Operating Instructions, 07/2019, A5E48271265B AA