6 - 1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
APPEN-
DICES
Chapter 6
SEQUENCE PROGRAM USED FOR POSITIONING
CONTROL
The programs required to carry out positioning control with the D75P2 are explained
in this chapter.
The sequence program required for control is created allowing for the "start conditions",
"start time chart", "device settings" and general control configuration. (The parameters,
positioning data, start block data and condition data, etc., must be set in the D75P2
according to the control to be executed, and program for setting the control data or a
program for starting the various control must be created.)
The first half of this chapter explains the program configuration of general control, and
the latter half explains the program details. Create the required program while referring
to the various control details explained in "SECTION 2", and to "Chapter 5 DATA USED
FOR POSITIONING CONTROL".
6.1 Information necessary for program creation ................................................................ 6- 2
6.1.1 When ACPU/QCPU (A mode) is used ........................................................... 6- 2
6.1.2 When QCPU (Q mode)/QnACPU is used ................................................... 6- 15
6.2 Precautions for creating program ............................................................................... 6- 22
6.3 List of devices used ..................................................................................................... 6- 23
6.4 Creating a program ..................................................................................................... 6- 29
6.4.1 General configuration of program ................................................................. 6- 29
6.4.2 Positioning control operation program .......................................................... 6- 30
6.5 Positioning program examples ................................................................................... 6- 33
6.5.1 When using FROM/TO command with ACPU/QCPU-A (A mode) ............. 6- 33
6.5.2 When using dedicated commands with ACPU/QCPU-A (A mode) ............ 6- 40
6.5.3 When using dedicated commands with QCPU (Q mode)/QnACPU .......... 6- 46
6.6 Program details .......................................................................................................... 6- 51
6.6.1 Initialization program ..................................................................................... 6- 51
6.6.2 Start details setting program......................................................................... 6- 52
6.6.3 Start program ................................................................................................ 6- 53
6.6.4 Restart program ............................................................................................ 6- 61
6.6.5 Stop program ................................................................................................ 6- 64