
Method of operation
The block does not communicate directly with the camera measuring system. The ST programs
in the FB blocks "FB_Receive_Analysis" and "FB_Send_Preparation" are required for this
purpose. Integration into the execution system is described in Chapter Structure of the function
Connections
The inputs of the DCC block are connected via unit-global variables of the MCC source file
"AddOn" to the outputs of the "FB_Receive_Analysis" block. The "iHoist_Height_PLC" output of
the DCC block is interconnected with the "FB_Send_Preparation" block input using a unit-
global variable. This signal is transferred to the camera measuring system via Ethernet. The
other DCC block outputs are connected with the inputs of the DCC block using retentive unit-
global variables.
Table 3-11
DCC_SCCAMERA connections
Name
Type Data
type
Unit-global variables of "AddOn"
Meaning
BCAMERA_OK
IN
BOOL
camera_cam_camera_ok
Camera OK
IX_POS
IN
DINT
camera_cam_x_pos
Deflection in x direction
IV_X
IN
DINT
camera_cam_v_x
Swaying velocity in x direction
IY_POS
IN
DINT
camera_cam_y_pos
Deflection in y direction
IV_Y
IN
DINT
camera_cam_v_y
Swaying velocity in y direction
ISKEW
IN
DINT
camera_cam_skew
Reflector rotation
IV_SKEW
IN
DINT
camera_cam_v_skew
Velocity of rotation
IHOIST_HEIGHT
IN
DINT
camera_cam_hoist_height
Hoist position (measured by the
camera)
UIN_ADDR_1
IN
USINT
camera_sc_addr [0]
IP address of the camera (part 1)
UIN_ADDR_2
IN
USINT
camera_sc_addr [1]
IP address of the camera (part 2)
UIN_ADDR_3
IN
USINT
camera_sc_addr [2]
IP address of the camera (part 3)
UIN_ADDR_4
IN
USINT
camera_sc_addr [3]
IP address of the camera (part 4)
UIN_PORT
IN
UINT
camera_sc_port
Camera port
IHOIST_HEIGHT_PLC
OUT DINT
camera_sc_hoist_height_plc
Transfer hoist position from the
PLC
UOUT_ADDR_1
OUT USINT
camera_sc_addr [0]
IP address of the camera (part 1)
UOUT_ADDR_2
OUT USINT
camera_sc_addr [1]
IP address of the camera (part 2)
UOUT_ADDR_3
OUT USINT
camera_sc_addr [2]
IP address of the camera (part 3)
UOUT_ADDR_4
OUT USINT
camera_sc_addr [3]
IP address of the camera (part 4)
UOUT_PORT
OUT UINT
camera_sc_port
Camera port
BCAMERA_VALID
OUT
Camera signal valid
BERROR
OUT BOOL
Error bit from the block
IERRORID
OUT DINT
Error number from the block
Overview of the software
3.3 Sway control function blocks
SC integrated STS, GSU
Operating Instructions, 07/2019, A5E48271265B AA
47