·388·
Installation manual
CNC 8055
CNC 8055i
7.
CONCEPTS
SOFT: V02.2X
Tool magazine
7.18.3 Additional information for magazine management
When executing a T function, or an M6, the PLC can have all the necessary information about the
new tool that has been requested and about the tool to be returned to the magazine.
This way, on one hand, there is no need to save the information sent out with the T (TBCD) in PLC
registers in order to use it when executing the M6. And on the other, between the execution of the
T and that of the M6 the tool magazine may have been changed by hand or variables TOOL or
NXTOOL may have been changed from the PLC; therefore, the information sent out with the T is
no longer correct and it must be updated (refreshed) with the M6.
The following information is applied to all types of magazine with an automatic tool changer. These
magazines may be the following:
• Non-random magazine with general parameter TOOLMATY(P164)=0.
• Non-random magazine with general parameter TOOLMATY(P164)=1.
• Random magazine.
The PLC mark "T2STROBE" (M5535) and the corresponding PLC register "T2BCD" (R559) indicate
the magazine position where the active tool is to be left. With the M6, these marks will be sent out
for any type of magazine with an automatic tool changer as long as bit 12 of general parameter
TOOLTYPE (P167) is active.
PLC register "NT2BCD" and mark "NT2STROBE"
In order to make it easier to manage the magazine from the PLC point of view, the CNC provides
the PLC with information on the tool that is going to be returned to the magazine as soon as possible.
This information is sent out before executing the T.
When a new T is executed, the CNC sends the PLC register "NT2BCD" (R572) the magazine
position where the active tool will be put and it also indicates with the PLC mark "NT2STROBE"
(M5573) that there is new information in "NT2BCD". When executing the next M6, the value of
register "NT2BCD" will be transferred to register "T2BCD".
This information will be sent out for any type of magazine with an automatic tool changer as long
as the bit 12 of general parameter TOOLTYPE (P167) is active.
Duplicate the information given in TBCD and TSTROBE with M6
The provided information is duplicated with the execution of the T (TBCD register and TSTROBE
mark) when executing the next M6. This is done for safety reasons, just in case between the
execution of the T and that of the M6 an interruption has occurred for manual intervention or the
machine has been shut down.
This information is duplicated when bit 12 of general parameter TOOLTYPE (P167) is active.
CNC variables to be used in the subroutine associated with M6
Inside the M6 subroutine, it is useful to know whether the tools involved in the change are ground
tools or not in order to move the machine to the various tool change positions. PTOOL and
PNXTOOL variables are available to program the subroutine.
These variables always work when bit 12 of the general parameter TOOLTYPE (P167) is active.