Connections
The outputs must be connected using unit-global variables of the "AddOn" MCC source file with
the inputs of the DCC_SCHOIST DCC block.
Table 3-21 FB_HoistPLCToAddOn connections
Name Type Data type Unit-global variables of "Ad‐
dOn"
Meaning
Hoist_IO_PIW IN ARRAY
[0..5] OF
word
addon_hoist_receive Input array for the Hoist block
(see Figure 5-13 Address list in
SCOUT (communication between
SIMATIC S7 and SIMOTION)
(Page 122))
b16_stw1 OUT WORD - Control word 1 output not separated
into individual bits
bo_stw1_Release OUT BOOL hoist_plc_release Bit 0 of control word 1
bo_stw1_Travel OUT BOOL hoist_plc_travel Bit 1 of control word 1
bo_stw1_OM_Pos OUT BOOL hoist_plc_om_pos Bit 2 of control word 1
bo_stw1_OM_Speed OUT BOOL hoist_plc_om_speed Bit 3 of control word 1
bo_stw1_OM_Hoist_Control OUT BOOL hoist_plc_om_hoist_control Bit 6 of control word 1
bo_stw1_LS_UP OUT BOOL hoist_plc_ls_up Bit 8 of control word 1
bo_stw1_LS_DN OUT BOOL hoist_plc_ls_dn Bit 9 of control word 1
bo_stw1_PreLS_UP OUT BOOL hoist_plc_prels_up Bit 10 of control word 1
bo_stw1_PreLS_DN OUT BOOL hoist_plc_prels_dn Bit 11 of control word 1
bo_stw1_Brake_closed OUT BOOL hoist_plc_brake_closed Bit 12 of control word 1
i16Override OUT INT hoist_plc_override PLC override
i16Offset OUT INT hoist_plc_offset Position offset from PLC
3.3.2.4 FB_HoistAddOnToPLC
Symbol (FBD representation)
)%B+RLVW$GG2Q7R3/&
%22/
%22/
%22/
%22/
%22/
ERB]VZB5HDG\
ERB]VZB$FWLYH
ERB]VZB3RVB&RPSOHWHG
ERB]VZB7UDYHOB83
ERB]VZB7UDYHOB'1
+RLVWB,2B34:
$55$<
%22/
ERB]VZB6WRSB$WB2EVWB0$1
Figure 3-18 FB_HoistAddOnToPLC
Task
The "FB_HoistAddOnToPLC" writes the Hoist block to the PROFIBUS DP / PROFINET PN
output area.
Overview of the software
3.3 Sway control function blocks
SC integrated STS, GSU
62 Operating Instructions, 07/2019, A5E48271265B AA