
B–62073E–1/042. INTERFACE BETWEEN CNC AND PMC–NA OR NB
– 316 –
Basic procedure for axis control by the PMC
1 Set on PMC axis control signal PCAXx high to isolate an axis from control of the CNC and control the axis
directly from the PMC.
2 Specify the type of axis operation.
Specify the type of operation with axis control command code signals CDxX7 to CDxX0, the feedrate with
feedrate specification signals FDxX15 to FDxX0, and the distance to be moved with axis control data sig-
nals DTxX31 to DTxX0.
One operation is specified by the axis control command code signals, feedrate specification signals, axis
control data signals, and block stop inhibit signal MSBKx (described later). These signals correspond to
one command block when automatic operation is performed under the control of the CNC. As a whole,
these signals are called the axis control block data signals.
General signal
name
Signal name
Signal
abbreviation
Data format
Block stop disable signal MSBKx Bit type
Axis control
Axis control command code signal CDxX7 to CDxX0 Byte type
signal
Feed rate specification signal FDxX15 to FDxX0 Word type
Axis control data signal DTxx31 to DTxX0 2–word type
3 When the specification of one operation equivalent to one block completes, the logical level of control axis
command read strobe signal PMCAx is inverted: When PMCAx is off, it goes high, and vice versa.
This operation, however, cannot be performed until it is confirmed that control axis command read comple-
tion signal CNCAx, which is an output signal from the CNC, is at the same logical level as that of PMCAx.
In axis control by the PMC, command blocks are buffered in the CNC so that several operations are con-
secutively carried out by the PMC. Even when a command is being executed, the next command block
is read into the CNC if there is an empty buffer.
PMC command
Block [1]
Block [2]
Block [3]
Block [4]
Block [N]
~~
command [1]
command [2]
command [3]
command [4]
[3]
[2]
[1]
Axis control block data
Signal set
CNC side register
Input register
(execution wait buffer)
Executing register
The above figure shows that command [1] is being executed, command [2] has been read into a CNC buff-
er, and that command [3] has already been sent to the CNC.
When command [1] has been executed, commands [2] and [3] are transferred as follows:
Command [2] : Input register → Execution register
Command [3] : Command block (axis control block data signals) → Input register
Command [4] can be sent to the CNC when command [3] has been transferred to the input buffer.