
Task
The "FB_TrolleyPLCToAddOn" block reads the input area from the PROFIBUS DP /
PROFINET PN for the Trolley block and separates the array into words and bits.
Connections
The outputs must be connected using unit-global variables of the "AddOn" MCC source file with
the inputs of the DCC_SCTROLLEY DCC block.
Table 3-23
FB_TrolleyPLCToAddOn connections
Name
Type Data
type
Unit-global variables of "AddOn"
Meaning
Trolley_IO_PIW
IN
ARRAY
[0..5] OF
word
addon_trolley_receive
Input array for the Trolley
block (see Figure 5-13 Ad‐
b16_stw1
OUT WORD
Control word 1 output not sep‐
arated into individual bits
bo_stw1_Release
OUT BOOL
trolley_plc_release
Bit 0 of control word 1
bo_stw1_Travel
OUT BOOL
trolley_plc_travel
Bit 1 of control word 1
bo_stw1_OM_Pos
OUT BOOL
trolley_plc_om_pos
Bit 2 of control word 1
bo_stw1_OM_Speed
OUT BOOL
trolley_plc_om_speed
Bit 3 of control word 1
bo_stw1_OM_Load_Pos
OUT BOOL
trolley_plc_om_load_pos
Bit 4 of control word 1
bo_stw1_OM_Trolley_Pos
OUT BOOL
trolley_plc_om_trolley_pos
Bit 5 of control word 1
bo_stw1_OM_Hoist_Control
OUT BOOL
trolley_plc_om_hoist_control
Bit 6 of control word 1
bo_stw1_SC_ON
OUT BOOL
trolley_plc_sc_on
Bit 7 of control word 1
bo_stw1_LS_FW
OUT BOOL
trolley_plc_ls_fw
Bit 8 of control word 1
bo_stw1_LS_BW
OUT BOOL
trolley_plc_ls_bw
Bit 9 of control word 1
bo_stw1_PreLS_FW
OUT BOOL
trolley_plc_prels_fw
Bit 10 of control word 1
bo_stw1_PreLS_BW
OUT BOOL
trolley_plc_prels_bw
Bit 11 of control word 1
bo_stw1_Brake_closed
OUT BOOL
trolley_plc_brake_closed
Bit 12 of control word 1
bo_stw1_SC_When_Stop
OUT BOOL
trolley_plc_sc_when_stop
Bit 13 of control word 1
bo_stw1_Controlled_Stop
OUT BOOL
trolley_plc_controlled_stop
Bit 14 of control word 1
bo_stw1_Flying
OUT BOOL
trolley_plc_flying
Bit 15 of control word 1
i16Override
OUT INT
trolley_plc_override
PLC override
i16Offset
OUT INT
trolley_plc_offset
Position offset from PLC
Overview of the software
3.3 Sway control function blocks
SC integrated STS, GSU
64
Operating Instructions, 07/2019, A5E48271265B AA