Specifications
Table Of Contents
- Coverpage
- Safety Instructions
- Revision History
- Contents
- Introduction
- 1 Outline
- 2 Explanation of Functions
- 3 Q-PLC Multi-CPU
- 4 Q Motion CPU
- 5 SFC Program
- 6 SV22 Servo Programs
- 6.1 Servo program
- 6.1.1 Servo program configuration
- 6.1.2 List of servo commands
- 6.1.3 Linear control
- 6.1.4 Circular interpolation control using auxiliary point designation
- 6.1.5 Circular interpolation control using radius designation
- 6.1.6 Circular interpolation control using center point designation
- 6.1.7 Fixed-dimension feed control
- 6.1.8 Speed control
- 6.1.9 Speed/position changeover control
- 6.1.10 Speed changeover control
- 6.1.11 Constant-speed control
- 6.1.12 Repeated control (for speed changeover control and uniform speed control)
- 6.1.13 Simultaneous start
- 6.1.14 Zero point return
- 6.1.15 Position follow-up control
- 6.1.16 High-speed oscillation control
- 6.1.17 Helical interpolation control with auxiliary point designated
- 6.1.18 Helical interpolation control with radius designated
- 6.1.19 Helical interpolation control with center point designated
- 6.1.20 Current value change
- 6.1 Servo program
- 7 Operation Control Program
- 8 Windows Personal Computer Operations
- 9 Basic Practice Using the SV22 Real Mode
- 10 Applied Practice with SV22 Real Mode
- 10.1 Details of practice
- 10.2 Q172CPU practice machine system configuration
- 10.3 Practice SFC programs
- 10.4 Writing to the motion CPU
- 10.5 Program for operation
- 10.5.1 JOG operation
- 10.5.2 Main routine SFC program (real mode operation)
- 10.5.3 Execution of servo program (motion control step)
- 10.5.4 Stopping
- 10.5.5 Error reset
- 10.5.6 Current value change
- 10.5.7 Speed change (CHGV)
- 10.5.8 Reading actual current value
- 10.5.9 Continuous positioning
- 10.5.10 M code function
- 10.5.11 Indirect setting of servo program address
- 10.6 Operating the practice machine
- 11 Practicing with the SV22 Virtual Mode
- 11.1 Mechanism program
- 11.2 Details of practice
- 11.3 Starting up SW3RN-CAMP and creating the cam
- 11.4 SFC program for virtual mode
- 11.5 Editing the mechanism
- 11.6 Writing to the motion CPU
- 11.7 Reading of sequence program from Q-PLC CPU
- 11.8 SFC program for practice
- 11.9 Practice machine operations
- 11.10 Exercise (Roller setting)
- Appendix

A - 20
Program operation
P0
IFB1
[G150]
//**** Detection of PX3 OFF
→
ON ***
//M0 is turned ON when PX3 is turned ON
//and M1 (PX3 at last status)
//is turned OFF.
RST M0
SET M0 = PX3 * !M1
//The last status of PX3 is stored in M1.
RST M1
SET M1 = PX3
//Shifted to the succeeding step when M0
//is turned ON (PX3 OFF
ON is
//detected).
M0
[G151]
//Is P4 ON?
PX4
[G152]
//Program operation mode finished?
!(PX2*PX1)
[K150: REAL]
1 INC-1
AXIS 1,
1000000 PLS
SPEED
500000 PLS/sec
[F150]
#0L = 1000000 //1-axis positioning address set
#2L = 2000000 //2-axis positioning address set
#4L = 500000 //Positioning speed set
END
[G153]
//Waiting for 1,000ms after completion of
motion control
TIME K1000
[K151: REAL]
1 INC-2
AXIS 1, # 0 PLS
AXIS 2, # 2 PLS
COMPOSITE SPEED # 4 PLS/sec
[K152: REAL]
1 INC-1
AXIS 2, 2000000 PLS
VELOCITY 1000000 PLS/sec
[G154]
//In-position signal for 1-axis, 2-axis ON?
M2402*M2422
[G155]
NOP //Waiting for motion control complete
[F151]
#0L = -#0L //1-axis positioning address
code inversion
#2L = -#2L //2-axis positioning address
code inversion
#4L = #4L * 2 //Positioning speed × 2
[K151: REAL]
1 INC-2
AXIS 1, # 0 PLS
AXIS 2, # 2 PLS
COMPOSITE SPEED # 4 PLS/sec
[G156]
//Is PX4 OFF?
!PX4
IFE1
P0
Indirect designation of
positioning address/speed
Indirect designation of
positioning address/speed
Detected at rising edge of
bit device (PX3). Previous
state is stored in M1, and
OFF to ON state of PX3 is
detected.
Waiting for 1,000ms after
positioning of 1-axis when the
PX3 OFF
ON is detected
Waiting until 2-axis
positioning is completed
The in-position check is executed after positioning the 1-
axis, 2-axis for linear interpolation and linear interpolation
positioning of 1-axis and 2-axis is carried out at double
speed in the opposite direction when PX4 is ON. Wait
thereafter until PX4 turns OFF.










