C h a p t e r 5 A p p l i e d I n s t r u c t i o n s
E xamp le 2
Suppose the value in
S
1
is 500, the maximum source value in D0 is
3,000, the minimum source value in D1 is 200, the maximum destination
value in D2 is 30, and the minimum destination value in D3 is 500. When
X0.0 is ON, the instruction SCLP is executed, and a scale is stored in
D10.
Eequation:
D10=[(500–200)×(30–500)]÷(3,000–200)+500=449.64
449.64 is rounded to the nearest integer, and becomes 450. 450 is
stored in D10.
X0.0
S CLP
K 50 0
D 0
D10
X0.0
MO V
MO V
MO V
MO V
K 30 00
K 20 0
K 30
K 500
D 0
D 1
D 2
D 3
Sourc e value
Maximum
sourc e value=3000
Minimum
sourc e value=200
D estinati on value
Maximum destination
value=30
Minimum des tination
value=500
S
1 =
500
D
0
Suppose
S
1
is D100, the value in D100 is F500, the maximum source
value in D0 is F3000, the minimum source value in D2 is F200, the
maximum destination value in D4 is F500, and the minimum destination
value in D6 is F30. When X0.0 is ON, M1162 is set to ON, the instruction
DSCLP is executed, and a scale is stored in D10.
Equation:
D10=[(F500–F200)×(F500–F30)]÷(F3000–F200)+F30=F80.35
F80.35 is rounded to the nearest integer, and becomes F80. F80 is
stored in D10.
X0.0
D SC LP
D 100
D 0
D10
X0.0
D MO VR
D MO VR
F 30 0 0
F200
F500
F500
F 30
D 0
D 2
D 4
D 6
D MO VR
D MO VR
D MO VR
D 10 0
SET
M1162
5 - 11 9
Содержание AH500
Страница 9: ...viii...
Страница 52: ...Chapter 2 Hardware Specifications and Wiring Wiring AH10PM 5A and a Panasonic CN5 series servo drive 2 31...
Страница 53: ...AH500 Motion Control Module Manual Wiring AH10PM 5A and a Yaskawa servo drive 2 32...
Страница 54: ...Chapter 2 Hardware Specifications and Wiring Wiring AH10PM 5A and a Mitsubishi MJR2 series servo drive 2 33...
Страница 55: ...AH500 Motion Control Module Manual Wiring AH10PM 5A and a Fuji servo drive 2 34...
Страница 115: ...AH500 Motion Control Module Manual 4 16 MEMO...
Страница 375: ...AH500 Motion Control Module Manual 5 260 MEMO...
Страница 376: ...Chapter 6 Data Transmission Table of Contents 6 1 Functions 6 2 6 2 Parameters 6 2 6 3 Usage 6 5 6 1...
Страница 383: ...AH500 Motion Control Module Manual 6 8 MEMO...
Страница 419: ...AH500 Motion Control Module Manual 7 36 MEMO...
Страница 436: ...Chapter 8 Electronic Cam 8 17...
Страница 482: ...Chapter 10 High speed Counters and High speed Timers 3 The cyclic mode is used to measure a frequency 10 7...
Страница 483: ...AH500 Motion Control Module Manual 10 8 MEMO...
Страница 505: ...AH500 Motion Control Module Manual 12 8 MEMO...
Страница 515: ...AH500 Motion Control Module Manual 13 10 MEMO...
Страница 544: ...Appendix A Error Code Table Table of Contents A 1 Error Code Table A 2 A 1...
Страница 547: ...AH500 Motion Control Module Manual A 4 MEMO...