Create program for manual mode
8.1
Prepare function block
Prepare program block
1. Add the function block "ModeManual" (LAD).
2. Add the instance data block "InstManual".
Parameters in the function block "ModeManual"
Create the following parameters in the "ModeManual" function block.
Name
InOut
axesGroup
hmi
Static
statInstMoveLinAbs
statInstReset
statInstGroupInterrupt
statInstGroupContinue MC_GROUPCONTIN
Temp
tempTargetPos
tempCoordSystem
tempDone
27
Data type
Default value
TO_Kinematics
–
"typeUserInterface"
–
MC_MOVELINEARAB
–
SOLUTE
MC_RESET
–
MC_GROUPINTERRU
–
PT
–
UE
typePosition
–
DInt
–
Bool
–
Description
Reference to the technology object
User interface parameters (control, status query)
Instances of the individual motion control instruc-
tions (see data type) for the kinematics process
Absolute target coordi-
nate from the executed
motion instruction
Reference system of the
specified target position
and target orientation
The value for the completed motion control instruc-
tion "MC_MoveLinearAbsolute" is passed via this
tag to the query of the position reached.
S7-1500T Getting Started with Kinematics
Getting Started, 12/2018, A5E46089528-AA
8
Using this temporary
local data, pass the
values from the respec-
tive instruction to the
motion instruction.