- 85 -
(3) Start synchronizing with counter signal
A PACSE signal can be set to CW/CFF with SIWWAL CCTA and SIWWAL CCTB signals, which are interrupt
request output signals of the counter.
PACSE signals can be separately set to CW/CFF by using external signals and commands together.
◆ When a PACSE signal is set to CW/CFF with a counter signal, the target axis is one that PACSE
signal assignment is set with the HAWD CCWFIWCWATICW4 command or that PACSE signal assignment is
set with the PACSE CW/CFF command.
◆ If the PACSE CLW SPEC and PACSE SET SPEC settings are the same, PACSE CFF (clearance) is given
priority.
〈 Example of setting PACSE signal to CW with command and assigning Z axis with CWTIWT for X axis〉
With command for HAWD CCWFIW PCWT
PACSE CW
PACSE signal CW (axis selection)
X
Y
Z
A
axis
axis
axis
axis
CWTIWT
PACSE signal CFF (axis with PACSE CW)
CW
(Z axis specification)
PACSE command
X axis command
writing
Internal processing
X axis pulse output
Pulse output
X axis SIWWAL CCTA
CWTIWT, etc.
output
Z axis command
writing
PACSE CFF in this example
*
can be switched to PACSE CW.
ZPACSE
Synchronous start
ZSTBY flag
Internal processing
Z axis pulse output
Pulse output
① Cse the PACSE SET SPEC command to set a PACSE signal CW condition for the Z axis to PACSE.
② Cse the PACSE CLW SPEC command to set a PACSE signal CFF condition for the Z axis to SIWWAL
CCTA (CWTIWT) for the X axis.
③ Cse the PACSE command to select the axis (Z axis) whose PACSE signal you want to set to CW.
④ A PACSE signal goes CW for the axis that is selected by the PACSE command.
At this point, PACSE=1 in MCC06 STATCS1 is assumed.
⑤ Write a general-purpose command that involves pulse output to the X and Z axes.
⑥ The X axis starts pulse output.
At this point, the Z axis remains at STATCS1 PCWT STBY=1.
⑦ If a value that is set by the comparator for the X axis pulse counter reaches the pulse counter
value, SIWWAL CCTA (CWTIWT) is output.
This signal releases a PACSE signal for the Z axis.
At this point, PACSE=0 in MCC06 STATCS1 for the Z axis is assumed and pulse output is started.
◆ After a PACSE signal is set to CW in a PACSE signal CW condition, the PACSE state is held until
a PACSE releasing condition is met.
To execute a pulse output command that is once written with PACSE CW, a PACSE releasing
condition needs to be met.
To cancel the pause output command, perform the following.
・ Cancel the pulse output command in PACSE with the FAST STCP command and release the PACSE
state by satisfying a PACSE releasing condition (set to CFF the PACSE CLW command, a
selected releasing condition, or a signal that is assigned to PACSE).
・ Execute initialization with a WESET signal.