恭喜,你发布的帖子
发布于 2024-11-09 09:43:12
3楼
Activation of tool management functions
MD = 0: Tool management inactive
Bit 0 to bit4
Bit 0=1: Tool management active
Tool management functions are enabled for the current channel.
Bit 1=1: Tool monitoring function active
The functions for monitoring the tools (tool life and quantity) are enabled.
Bit 2=1: OEM functions active
The memory for user data can be used (see also MD18090 $MN_MM_NUM_CC_MAGAZINE_PARAM
to MD18098 $MN_MM_NUM_CC_MON_PARAM)
Bit 3=1: Consider adjacent location active
Bit 0 to bit 3 must be set as in MD18080 $MN_MM_TOOL_MANAGEMENT_MASK.
Bit 4=1: The PLC has the option of requesting a T preparation again with changed parameters.
The acknowledgment states "2", "7" und "103" are enabled with this bit. The tool selection is then recalculated in the NCK.
Note: Bit4=1 (PLC can reject tool) and Bit23=1 (interpreter selects tool) are mutually exclusive.
Bit 5 to bit 8
Bit 5 and bit 7 refer to the main spindle
Bit 6 und bit 8 refer to secondary spindles
Bit 5 = 1: The command is regarded as output when the internal transport acknowledgment + the transport acknowledgment are present, that is, when the command has been accepted by the basic PLC program.
(Bit 19=1 also allows the block change to be prevented (main run) until the required acknowledgments have been received.)
Bit 7 = 1: The output of the command is not regarded as being completed until the end acknowledgment has been received from the PLC. That is, the command has been acknowledged by the PLC user program with status "1".
(Bit 19=1 also allows the block change to be prevented (main run) until the required acknowledgments have been received.)
Bit 5 and bit 7 (alternatively bit 6 and bit 8) are mutually exclusive.
Only the following combinations are permissible:
Bit 5: ...0...1...0
Bit 7: ...0...0...1
With the default setting, that is bits 5 to 8 = 0, synchronization takes place in the block in which a cutting edge is selected for the first time.
Setting these bits delays the block processing.
Bit 9 to bit 11
Bit 9: Reserved for test purposes
It can also be used by machine manufacturers during the test phase, provided that the PLC program does not yet control the tool change.
Bit 10=1: M06 is delayed until the preparation has been accepted by the PLC user program.
The change command is not output until the preparation acknowledgment has been received. That can be, for example, status "1" or "105".
Bit 10=0: The change command is output without delay, directly after the preparation command.
Bit 11=1: The tool preparation command (PLC command numbers=2, 4, 5) is also executed if the same tool preparation command has already been executed. (Commands 4, 5 contain the tool preparation)
Example: (Tool changed with M6 (PLC command no.= 3):
T="Tool1"; tool preparation
M6; tool change
T="Tool2" ; 1st tool preparation after M6 (for same tool holder)
; is always output to PLC.
T="Tool2"; 2nd tool preparation is only output as a command to the PLC if bit 11 = 1.
; This tool preparation counts as the first if the state of the tool has changed since the previous tool preparation such that it would no longer be serviceable.
That might be, for example, an asynchronous unloading of the tool. This tool preparation then attempts to select a replacement tool.
Bit 11=0: The preparation command can only be output once for any one tool.
Bit 12 to bit 14
Bit 12=1: The preparation command (PLC command numbers = 2, 4, 5) is also executed when the tool is already in the spindle/tool holder.
T="Tool1" ; tool preparation
M6; tool change
T="Tool1"; tool is already in the tool holder
; 1st tool preparation after M6 (for the same tool holder)
; is only output to the PLC if bit 12 = 1.
; An unserviceable tool (e.g. disabled because of tool monitoring.) on the tool holder does not count as being on the tool holder. This tool preparation then attempts to select a replacement tool.
T="Tool2" ; 2nd tool preparation - the rules of bit 11 apply to the output.
Bit 12=0: The preparation command is not executed if the tool is already in the spindle.
Bit 13=1: On reset, the commands are retrieved from the diagnostics buffer and stored in the passive file system (TCTRAxx.MPF under part program) This file is required by the Hotline.
The tool sequences are only recorded in the diagnostics buffers of systems that have adequate memory (NCU572, NCU573)).
Bit 14=1: Reset mode
Tool and offset selection correspond to the settings in MD20110 $MC_RESET_MODE_MASK and MD20112 $MC_START_MODE_MASK.
Bit 14=0: No reset mode
Bit 15 to bit 19
Bit 15=1: No return transport of the tool if there are multiple preparation commands (Tx->Tx).
Bit 15=0: Return transport of the tool from any defined buffers.
Bit 16=1: T = location number is active
Bit 16=0: T="Tool name"
Bit 17=1: Tool life decrementation can be started and stopped via the PLC in channel DB 2.1...DBx 1.3.
Bit 18=1: Activation of monitoring of "Last tool in the tool group"
Bit 18 Lengthens the search for a suitable tool, above all, when there are a large number of disabled replacement tools.
Bit 18=0: No monitoring of "Last tool in the tool group"
Bit 19=1: The synchronizations determined by bits 5...8 refer to the main run block. This means that the block change is delayed until the required acknowledgments have been received.
Bit 19, in conjunction with set bits 5, 6, 7, 8, delays block processing.
Bit 19=0: The synchronizations determined by bits 5...8 refer to the tool command output. This means that the block change is not delayed.
Bit 20 to bit 24
Bit 20=0: If the PLC signal "Program test active" is present, then the commands generated are not output to the PLC. The NCK acknowledges the commands itself. The magazine and tool data are not changed.
Bit 20=1: If the PLC signal "Program test active" is present, then the commands generated are output to the PLC. Depending upon the type of acknowledgment, tool/magazine data can be changed in the NCK. If the acknowledgment parameters for the "target magazine" are given the values of the "source magazine", then there is no tool transport, and thus also no data change in the NCK.
Bit 21=0: Default setting: Ignore the tool state "W" during tool selection.
Bit 21=1: Tools in the state "W" cannot be selected by another tool change/tool preparation command.
Bit 22=1: Function "Tool subgroups"
$TC_TP11[x] is the grouping or selection parameter
Bit 23=0: Default setting
The tool management selects the tool optimally and safely in the main run. This means that the interpreter may have to wait until the end of the tool selection for the offset selection.
Bit 23=1: For simple applications
The interpreter selects the tool itself. This means synchronization with the main run is not required for the offset selection. (However, an uncorrectable alarm may be issued if a tool becomes unserviceable after selection but before loading.)
Note: Bit4=1 (PLC can reject tool) and Bit23=1 (interpreter selects tool) are mutually exclusive.
Bit 24=0: Default setting
If the PLC commands 8 and 9 (asynchronous transfer) want to move a tool to a location reserved for another tool, then this is rejected with an alarm.
Bit 24=1: If the PLC commands 8 and 9 want to move a tool to a location reserved for another tool with "Reserved for tool from buffer" (bit value= "H4"), then this is possible. This location reservation is removed before execution of the motion ("Reserved for new tool to be loaded" (bit value= "H8") remains effective).
Related to:
MD18080 $MN_MM_TOOL_MANAGEMENT_MASK
MD20320 $MC_TOOL_TIME_MONITOR_MASK
MD20122 $MC_TOOL_RESET_NAME
MD20110 $MC_RESET_MODE_MASK
MD20124 $MC_TOOL_MANAGEMENT_TOOLHOLDER
MD22560 $MC_TOOL_CHANGE_M_CODE
请填写推广理由:
分享
只看
楼主