Specifications

Table Of Contents
A - 13
(4) SFC program list
No. Program name Task
Auto-
matic
start
END
operation
Setting of number
of continuous
shifts
Contents of processing
0 Positioning
device
Normal Yes 3 (1) Started automatically, and executed at all times when
the Q173CPU(N) is running.
(2) Transfers the dedicated positioning device (bit data)
for monitor to W0 and following.
(3) Transfers the dedicated positioning device (word
data) for monitor to W100 and following. When
automatic refresh is set, W0 and following are
assigned to the QnHCPU's M2400 and following, and
W100 and following to D0 and following
20 Main Normal Yes 3 (1) Started automatically, and executed at all times when
the Q173CPU(N) is running.
(2) Turns ON the clock data read request (M9028).
(3) Starts the "No.110: Motion control" subroutine when
the emergency stop is reset.
(4) Stops the "No.110: Motion control" in the event of
emergency stop, and turns OFF the actual output
(PY).
110 Motion control Normal No 3 (1) Turns ON the servo for all axes.
(2) Calls the following program subroutines depending on
status of PX1, PX2.
PX2:OFF PX1:OFF "No. 120: JOG"
PX2:OFF PX1:ON "No. 130: Manual pulse
generator"
PX2:ON PX1:OFF "No. 140: Zero point return"
PX2:ON PX1:ON "No. 150: Program operation"
120 JOG Normal No 3 (1) Sets the JOG operation speed for 1-axis and 2-axis.
(2) Turns ON the 1-axis JOG forward run command when
PX3 is turned ON, and turns ON the reverse run
command when PX4 is turned ON.
(3) Turns ON the 1-axis JOG forward run command when
PX5 is turned ON, and turns ON the reverse run
command when PX6 is turned ON.
(4) Executes the above steps (2) and (3) repeatedly
when PX2 and PX1 are turned OFF (JOG mode).
In other cases, the JOG forward run command and
JOG reverse run command for 1-axis/2-axis are
turned OFF to end the program.
130 Manual pulse
generator
Normal No 3 (1) Sets the 1-pulse input magnification for 1-axis and 2-
axis.
(2) Sets to control the 1-axis by P1, and the 2-axis by P2
to turn OFF the manual pulse generator permit flag for
P1 and P2.
(3) When PX2 not OFF and PX1 not ON (manual pulse
generator mode), the manual pulse generator permit
flag is turned OFF for P1 and P2 to end the program.
140 Zero point return Normal No 3 (1) Starts the "K140 1-axis zero point return program"
when PX3 is turned ON, and the "K141 2-axis zero
point return program" when PX4 is turned ON.
(2) When PX2 is not turned ON and PX1 is not turned
OFF (zero point return mode), the program is ended.
150 Program
operation
Normal No 3 (1) Waits for 1,000ms after positioning the 1-axis when
PX3 changes from OFF to ON to position the 2-axis.
(2) Executes the in-position check after positioning the 1-
axis/2-axis for linear interpolation when PX4 is turned
ON, positions the 1-axis/2-axis for linear interpolation
in opposite direction at a double speed, and waits until
PX4 is turned OFF.
(3) Ends the program when PX1 and PX2 are turned ON
(program operation mode).