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

3 - 11
3.2.3 Read from DDRD Q motion CPU device command
The command is used to directly read the device data in the Q motion CPU with Q-
PLC CPU.
(1) Setting the number of data points to be read
Set the number of data points to be read indirectly.
To read the data for 10 points from D0 of No. 2 machine to D100 and following
of local machine (No. 1 machine), it is executed as follows.
H3E1 D50 D0 D100 M0
MOV
D51
K10
SP.DDRD
Setting the number of
read data
(2) Execution timing
The data of designated device is read to the Q motion CPU at the rising edge
(OFF → ON) of the DDRD command execution command.
[Command [Execution
symbol] condition]
Command
SP.DDRD (n1) (S1) (S2) (D1) (D2)
Head input/output No. of target machi
CPU
÷
16
No. 2 machine: 3E1H
No. 3 machine: 3E2H
No. 4 machine: 3E3H
SP.DDRD
S.DDRD
Command
S.DDRD (n1) (S1) (S2) (D1) (D2)
Device to be turned on by one scan upon
completion of comm
Head device of local machine, to which data to be read is
stored
Head device of object machine to which data to be read is stored
Head device of local machine, to which control data is stored
(S1+0): Status at completion of command is stor
0: Non error
Other than 0: Error code
(S1+1): The number of data to be read is set.
Setting range: 1 to 16
Example
END
Sequence progra
CPUn interrupt accept fla
(buffer memory at
command accep
destination)
S.DDRD command
DDRD command
completion device
Status display device at
completion of DDRD
command
END
END END
OFF
OFF
OFF
OFF
ON
ON
DDRD command accept
ON
ON
OFF
Abnormal
completion
Normal
completion
DDRD command
completion (with response)










