Installation manual
CNC 8055
CNC 8055i
AXES CONTROLLED FROM THE PLC
14.
SOFT: V02.2X
·581·
PLC execution channel
14.1.1 Considerations
Graphic editor
The axis parameter AXISTYPE of each axis of the machine must be set properly indicating whether
that axis is controlled by the CNC or from the PLC.
The axes of the PLC channel can only be governed from the PLC.
They may be edited and part-programs may be generated with axes of the PLC channel. This permits
generating part-programs or subroutines associated with the PLC channel.
It issues an error message when trying to execute, from the CNC channel, a program block that
includes a PLC axis.
When all the axes of the machine are set to be governed from the CNC, with the CNCEX action
only blocks programmed in high level language may be executed through the PLC execution
channel.
Axis control
To govern axes managed by PLC, use the following marks associated with "Feed-hold" and "Transfer
Inhibit":
Auxiliary M functions
To control the M functions managed by the PLC, the following marks and registers are generated:
MBCDP1 through MBCDP7 (R565 through R571)
similar to signals MBCD1 through MBCD7.
AUXENDP (M5006)
Similar to the AUXEND signal.
MSTROBEP (M5505)
Similar to the MSTROBE signal.
Data transfer
If when executing at the PLC the action "CNCEX (ASCII Block, Mark)", the CNC detects that the
contents of the ASCII block being received is erroneous, it will set the indicated Mark to "1". The
PLC program will keep executing while it is up to the programmer to check whether the function was
executed correctly or not.
The CNC considers the contents of the ASCII block incorrect in the following instances:
• When the syntax is incorrect.
• When programming a not-permitted preparatory function (G code).
• When programming an auxiliary function M, S, T or tool offset D.
• When programming a high level language block.
• When the axis to be moved cannot be controlled from the PLC.
• When the internal buffer for PLC command storage is full.
/FEEDHOP (M5004) Similar to the /FEEDHOL signal
FHOUTP (M5504) Similar to the /FHOUT signal
/XFERINP (M5005) Similar to the /XFERINH signal