3.6
Program blocks
Function blocks
Function block
"CtrlSingleAxis"
"ModeManual"
"ModeAutomatic"
"CtrlGripper"
Functions
Function block
"Compare3D"
"DistanceXYHalf"
Global data blocks
Data block
"HMI"
S7-1500T Getting Started with Kinematics
Getting Started, 12/2018, A5E46089528-AA
Function
Control of axes (ena-
ble/disable, reset, homing)
Manual mode
Automatic mode
Gripper control (opening,
closing)
Function
Function for comparing posi-
tions
Function for length calcula-
tion according to Pythagoras
Function
Global data block for the
PLC data type "typeUserIn-
terface"
Control of technology objects
and display of status values
in the watch table "HMI-
Monitor"
3.6 Program blocks
Instance data block
"InstAxisA1"
"InstAxisA2"
"InstAxisA3"
"InstModeManual"
"InstModeAutomatic"
"InstGripper"
Application
Function block "ModeAutomatic"
Query whether gripper is in the waiting
position
Function block "ModeAutomatic"
Calculation of the respective auxiliary
point of the circular path for the instruc-
tion "MC_MoveCircularAbsolute".
Application
Function blocks "ModeManual"
and "ModeAutomatic"
Description
15