Chapter 5 Positioning Instructions
5 - 65
(2) Exemplary Instruction
•The sample program below is provided to explain the operation of the simultaneous start-up
instruction.
(d) Sample Program
(e) Used Devices
BOOL -
%KX6720 X-axis in-operation signal BOOL -
%KX6721 X-axis error state BOOL -
%KX6880 Y-axis in-operation signal BOOL -
%KX6881 Y-axis error state BOOL -
Op.
Type
Rep.
Step
Target
Pos. [Pulse]
M
Code
Accl/de
c. No.
Op. Speed
[pls/s]
Dwell
Time [㎳]
X 1 Coor. Term. Pos. Sing. 0 7,000 0 1 100 10
Y 2 Coor. Term. Pos. Sing. 0 2,000 0 2 300 10
(f) Program Operation
•At the occurrence of the rising edge of the simultaneous start-up used for the simultaneous start-up
reference signal, the APM_SST instruction is executed.
1) When the simultaneous start-up instruction (APM_SST) is executed, the 2 axes start up
simultaneously as set up in the instruction operands set forth below.
2) Since the BASE and SLOT are 0, the internal positioning of the base unit performs
simultaneous start-up.
3) Since the operation step numbers of the X and Y axes are set to 1 and 2 respectively, the 2
axes start up simultaneously using the operation data set up in the operation steps.
4) Since the XGB internal positioning has no Z-axis, the Z-axis operation step No. has no influence
on the operation.