Programming instructions

8-6
Tool Management Commands NC Programming 17VRS
DOK-MTC200-NC**PRO*V17-ANW1-EN-P
Move Free Pocket into Position ‘MFP’
The MFP command initiates a tool storage motion to move the closest
empty pocket to the specified position.
MFP
MFP(<Position[1..4]>)
MFP(1)
MFP(<Position[1..4]>,<Direction[0..2]>)
MFP(3,1)
MFP(<Variable>,<Variable>)
MFP(@56,@55)
Position = 1: move closest empty pocket to change position 1
Position = 2: move closest empty pocket to change position 2
Position = 3: move closest empty pocket to change position 3
Position = 4: move closest empty pocket to change position 4
Direction = 0: any given direction
Direction = 1: positive direction
Direction = 2: negative direction
Optionally, the position into which the closest empty pocket is to be
brought and the direction to be taken when the tool is moved to the speci-
fied position can also be declared. If no direction or position is specified,
tool management selects the shortest distance and position 1.
This command is used to place the tool located in the tool spindle or in
the gripper in the closest empty pocket in the magazine. This is especially
necessary with tool changers which do not have grippers or which use
single-arm systems when the old tool needs to be stored before a new
tool can be used.
The CNC does not wait until the tool storage unit has completed its
motion. It continues to process the NC-program while the move is be-
ing carried out. If this is not desirable, the MRY command tool storage
ready? can be used to halt execution of the NC-program until the tool
storage motion is completed.
Move Old Pocket into Position ‘MOP’
The MOP command initiates a tool storage motion which moves the old
pocket of the tool located in the tool spindle to the position from which the
tool was removed.
MOP
MOP(<Position[1..4]>)
MOP(2)
MOP(<Position[1..4]>,<Direction[0..2]>,<Spindle>)
MOP(2,1,2)
MOP(<Variable>,<Variable>,<Variable>) MOP(@56,@55,@54)
Position = 1: move old pocket to change position 1
Position = 2: move old pocket to change position 2
Position = 3: move old pocket to change position 3
Position = 4: move old pocket to change position 4
Direction = 0: any given direction
Direction = 1: positive direction
Direction = 2: negative direction
Spindle = 1: old pocket of tool in spindle 1
Spindle = 2: old pocket of tool in spindle 2
Spindle = 3: old pocket of tool in spindle 3
Optionally, the position, direction of rotation and the tool spindle can be
declared. If the position, direction or tool spindle are not entered, the tool
management system selects the old pocket for the tool which is active
tool spindle 1 and places it in change position 1 using the shortest dis-
tance.
Syntax
Syntax