Installation manual
CNC 8035
LOGIC CNC INPUTS AND OUTPUTS
Logic outputs of the axes
10.
(SOFT M: V15.3X)
(S
OFT T: V16.3X)
·359·
10.7 Logic outputs of the axes
There are several groups of logic inputs (ENABLE, DIR, etc.) which refer to the possible axes of
the machine by means of digits 1 through 3 (ENABLE2, DIR1,etc.) or using the axis name
(ENABLEX, DIRZ, etc.).
The marks of the axes that do not exist in the machine parameters assume the value of the M2045
mark, that's always set to 0.
When monitoring the PLC program, it shows the edited marks, either with a letter or with a number.
However, the resource windows created from monitoring will replace the marks with axis names by
the marks with axis numbers. For example:
ENABLEX with ENABLE1
ENABLEZ by ENABLE2 if there is no Y axis, but there are X and Z axes.
Mnemonics using numbers 1 through 3.
These signals are numbered as the logic order of the axes; it is not related to the values assigned
to g.m.p. AXIS1 (P0) through AXIS8 (P7).
For example, if the CNC controls the X, Z and Y axes, the order will be: X, Y, Z and, therefore:
Mnemonics using the axis name.
The mnemonics of the signals refer to the axis name.
Mnemonics with axis names offer the advantage that if an axis is eliminated, the PLC program will
still be consistent with the rest of the axes.
ENABLE1 (M5600) ENABLE2 (M5650) ENABLE3 (M5700)
The CNC sets these signals at a high logic level to tell the PLC to allow the corresponding axis to
move.
DIR1 (M5601) DIR2 (M5651) DIR3 (M5701)
The CNC uses these signals to tell the PLC in which direction the axes move.
If the signal is high this indicates that the corresponding axis moves in a negative direction.
If the signal is low this indicates that the corresponding axis moves in a positive direction.
REFPOIN1 (M5602) REFPOIN2 (M5652) REFPOIN3 (M5702)
The CNC sets these signals high to tell the PLC that the machine reference search has been made
already. The CNC forces a home search on an axis by setting its mark low.
The marks are set low in the following instances:
• On CNC power-up.
• After executing the sequence [SHIFT] [RESET].
• When the feedback is direct through the axes board and a feedback alarm occurs.
• When modifying certain machine parameters; for example, number of axes.
In all these cases, a home search must be carried out so the signal is set back high.
The use of mnemonics with the axis name is available from versions V9.0x and
V10.0x on. If PLC programs older than this version have defined these marks as
symbols, when compiling the program will issue an error on this line.
Example: DEF ENABLEX M333
ENABLE1, DIR1, REFPOIN1, INPOS1 for the X axis:
ENABLE2, DIR2, REFPOIN2, INPOS2 for the Y axis:
ENABLE3, DIR3, REFPOIN3, INPOS3 for the Z axis: