Installation manual
CNC 8055
CNC 8055i
CNC-PLC COMMUNICATION
11.
SOFT: V02.2X
·479·
Auxiliary M, S, T function transfer
11.2 Auxiliary M, S, T function transfer
Every time a block is executed in the CNC, information is passed to the PLC about the M, S, and
T functions which are active.
M function
The CNC analyzes the M functions programmed in the block and in accordance with how these are
defined, will send these to the PLC before and/or after the movement.
To do this, it uses variables "MBCD1" to "MBCD7" (R550 to R556) and activates the general logic
output "MSTROBE" to indicate to the PLC that it must execute them.
Depending on how these functions are defined on the table, the CNC must wait, or not, for the general
input "AUXEND" to be activated to consider the execution completed.
S function
If an S function has been programmed and the spindle has BCD input, the CNC will send this value
to the variable "SBCD" (R557) and will activate the general logic output "SSTROBE" to indicate to
the PLC that it must be executed.
This transmission is made at the beginning of the block execution and the CNC will wait for the
general input "AUXEND" to be activated to consider the execution completed.
T function
The CNC will indicate via the variable "TBCD" (R558) the T function which has been programmed
in the block and activates the general logic output "TSTROBE" to tell the PLC that it must execute it.
This transmission is made at the beginning of the block execution and the CNC will wait for the
general input "AUXEND" to be activated to consider the execution completed.
Second T function
If this involves changing a special tool or a machining center with non-random tool magazine, the
CNC will indicate, on executing the M06 function, the position of the magazine (empty pocket) in
which the tool which was on the spindle must be deposited.
This indication will be made by means of the variable "T2BCD" (R559) and by activating the general
logic output "T2STROBE" to tell the PLC that it must execute it. The CNC will wait for the general
input AUXEND to be activated to consider the execution completed.
It must be borne in mind that at the beginning of the execution of the block, the CNC can tell the PLC
the execution of the M, S, T and T2 functions by activating their STROBE signals together and waiting
for a single "AUXEND" signal for all of them.