5
Categories and Use of Basic Application Instructions
DVP-PM Operation Instruction
5-82
D0
D1
D2
D3
D4
D5
CR #5
CR #6
CR #7
CR #8
CR #9
CR #10
D0
D1
D2
D3
D4
D5
CR #5
CR #6
CR #7
CR #8
CR #9
CR #10
Specified device
Specified CR
Specified device Specified CR
16-bit instruction when n=6
32-bit instruction when n=3
Application Example 1:
Adjust the A/D conversion curve of DVP04AD-H2. Set the OFFSET value of CH1 as 0V ( = K0
LSB
) and GAIN value
as 2.5V ( = K2,000
LSB
).
M1002
TO
K0
K1
H0
K1
TO
K0
K33
H0
K1
X0
TO
K0
K18
K0
K1
TO
K0
K24
K2000
K1
1. Write H’0 into CR#1 of analog input module No. 0 to set CH1 as mode 0 (voltage input: -10V ~ +10V).
2. Write H’0 into CR#33 to allow OFFSET/GAIN tuning in CH1 ~ CH4.
3. When X0 goes from OFF to ON, write the OFFSET value K0
LSB
into CR#18 and GAIN value K2,000
LSB
into
CR#24.
Application Example 2:
Adjust the A/D conversion curve of DVP04AD-H2. Set the OFFSET value of CH2 as 2mA ( = K400
LSB
) and GAIN
value as 18mA ( = K3,600
LSB
).
M1002
TO
K0
K1
H18
K1
TO
K0
K33
H0
K1
X0
TO
K0
K19
K400
K1
TO
K0
K25
K3600
K1
1. Write H’18 into CR#1 of analog input module No. 0 to set CH2 as mode 3 (current input: -20mA ~ +20mA).
2. Write H’0 into CR#33 to allow OFFSET/GAIN tuning in CH1 ~ CH4.
3. When X0 goes from OFF to ON, write the OFFSET value K400
LSB
into CR#19 and the GAIN value K3,600
LSB
into CR#25.
FROM/TO Application Example 3:
Содержание DVP-10PM
Страница 1: ......
Страница 45: ...2 Hardware Specifications and Wiring DVP PM Application Manual 2 30 MEMO...
Страница 125: ...3 Functions of Devices in DVP PM DVP PM Application Manual 3 80 MEMO...
Страница 341: ...8 Application Examples DVP PM Application Manual 8 2 Trajectory 3 Trajectory 4...
Страница 427: ...9 Electrical CAM DVP PM Application Manual 9 74...
Страница 437: ...10 Encrypting User Program DVP PM Application Manual 10 10 MEMO...
Страница 458: ...11 G code Application DVP PM Application Manual 11 21 B O100 main program...
Страница 561: ...14 Appendix DVP PM Application Manual 14 4 MEMO...