152
Functions Compatible with Servo Drivers with Absolute Encoders
Section 7-8
7-8-12 Sample Programs (with the Connection to OMRON's W Series
Servo Driver)
Program Description
1.
With the unit set to "monitor" mode, turning ON the bit 0.01 (ABS origin de-
fine) presets the ABS origin in DM 6645/6646.
2.
With the unit set to "monitor" mode, turning ON the bit 0.00 (ABS servo op-
eration start) presets the ABS present value in AR 00 to 01.
Note
Adjust the timer value of TIMH instruction (10 ms timer) corresponding to the
system (setting of absolute encoder's resolution, etc). When more precision is
required, use TMHH instruction (1 ms timer).
000000
(000000)
0.00
SET
AR9.07
0.01
000001
(000003)
0.00
SET
2.00
000002
(000005)
Count started 50 ms after SEN output
AR9.07
010
#5
AR9.00
000003
(000009)
PV preset to CNT 40 ms after reading ABS No. of rotations
1-Servo operation after completing ABS PV preset
2.00
AR9.07
AR8.05
AR8.04
011
#4
AR9.06
AR9.06
DIFD
(14)
2.15
000004
(000020)
For ABS No. of rotations read error
2.00
AR9.07
AR8.05
AR8.04
RSET
AR9.07
RSET
2.00
ABS servo
operation
start
ABS origin
define
SEN output ON
ABS servo
operation start
ABS No. of
rotations
read
ABS No. of
rotations
read
SEN output
TIM010
TIMH
(15)
Start high-
speed counter
TIMH
(15)
Reading
ABS PV
ABS No. of
rotations
read
SEN output
ABS No. of
rotations
read
completed
ABS No. of
rotations
read error
TIM011
Preset ABS
PV
Preset
ABS PV
DIFU
(13)
Servo operation
after completing
ABS PV preset
Servo operation
Reading
ABS PV
ABS No. of
rotations
read
SEN output
ABS No. of
rotations
read
completed
ABS No. of
rotations
read error
SEN output OFF
Read ABS
No. of
rotations
Reading
ABS PV
See
note.
See
note.
Содержание CS1W-HCA12-V1
Страница 2: ......
Страница 6: ...vi...
Страница 20: ...xx Conformance to EC Directives 7...
Страница 38: ...18 Models and System Configurations Section 1 2...
Страница 78: ...58 Fail safe Circuits Section 3 5...
Страница 138: ...118 AR Area Section 6 4...
Страница 204: ...184 Improved Instructions Section 7 14...
Страница 222: ...202 Cycle Time Section 8 3...
Страница 240: ...220 Troubleshooting Flowcharts Section 9 5...
Страница 244: ...224 Precautions when Using the CX Programmer Appendix A...
Страница 252: ......
Страница 253: ......