Installation manual
CNC 8055
CNC 8055i
LOGIC CNC INPUTS AND OUTPUTS
12.
SOFT: V02.2X
·505·
Spindle logic inputs.
When this input is low, the CNC assumes the value set by spindle parameter "REFEED1" (P34)
When this input is high, the CNC assumes the value set by the spindle input register "M19FEED"
(R505).
The "M19FEED" value is given in 0.0001º/min.
PLCCNTL (M5465) Main spindle
PLCCNTL2 (M5490) Second spindle
The CNC considers these 2 signals at all times so both spindles can be controlled by the PLC. This
is used to tell the CNC that the spindle is controlled directly by the PLC (high logic level).
It is used, for example, for oscillating the spindle during a gear change or for changing tools.
The following example shows how a new spindle speed is selected involving a gear change.
After analyzing the block and detecting the gear change the CNC indicates this to the PLC in one
of the "MBCD1-7" registers (M41 to M44) and will activate the general logic output "MSTROBE" to
tell the PLC that it must execute it.
The PLC will deactivate the logic input AUXEND to tell the CNC that the treatment of the auxiliary
function is starting.
After calculating the value corresponding to the residual velocity command S for the gear change,
the PLC will indicate this to the CNC by means of the register "SANALOG", afterwards setting the
signal "PLCCNTL" at a high logic level.
At this time the CNC will output the velocity command indicated in the register SANALOG.
Once the requested gear change has been made, the new active speed will be indicated to the CNC
(spindle logic inputs GEAR1 to GEAR4).
In order to give the control of the spindle back to the CNC, the signal "PLCCNTL" must be set low.
Finally, the PLC will activate the logic input AUXEND once more to tell the CNC that the execution
of the auxiliary function has been completed.
SANALOG (R504) Main spindle
SANALOG2 (R506) Second spindle
The CNC considers these 2 signals at all times so both spindles can be controlled by the PLC. The
PLC will indicate by means of this 32 bit register the spindle velocity command which the CNC must
send out when it is controlled by the PLC.
SANALOG=32767 corresponds to an analog command of 10 V.
(10/32767) 0.305185 millivolts of analog command correspond to SANALOG=1.
This way, for 4V of velocity command, the following must be programmed:
SANALOG = (4x32767)/10 = 13107
For -4V of analog command, the following must be programmed:
SANALOG = (-4x32767)/10 = -13107
When working with SERCOS, the values of drive parameters SP20 and SP21 are taken into account.
This way, the following value is assigned to the velocity command (corresponding FTEO): SP21 *
10 / SP20 rpm.