Create program for manual mode
8.4 Control of gripper
8.4
Control of gripper
Creating blocks
1. Add the function block "CtrlGripper" (LAD).
2. Add the instance data block "InstGripper".
Parameters in the function block "CtrlGripper"
Create the following parameters in the "CtrlGripper" function block.
Name
Input
close
time
Output
state
Static
statInstTime
statPuls
statClosePos
statCloseNeg
statPulsNeg
36
Data type
Default
value
Bool
False
Time
t#1000 ms Time for the status change (open ↔ close)
Bool
False
TP_TIME
–
Bool
False
Bool
False
Bool
False
Bool
False
Comment
Control of gripper
0 = Opening
•
1 = Closing
•
Gripper status
0 = Open
•
1 = Closed
•
Instance of the "Create pulse" (TP_TIME) instruction
Status change transfer
Edge bit memory "close" (positive signal edge)
Edge bit memory "close" (negative signal edge)
Edge bit memory "statPuls"
S7-1500T Getting Started with Kinematics
Getting Started, 12/2018, A5E46089528-AA