FP0 A/D Converter Unit
I/O Allocation and Program
4-4
Matsushita Electric Works (Europe) AG
4.2
Program of A/D Converter Unit
Programming example for FPWIN–GR
Ladder program example for loading data from each channel
Indicates the program that stores in data registers DT0 to DT7 the from ch0 to
ch7 A/D conversion data that is assigned to the first expansion.
F0
MV
WX2,
DT0
F65 WAN WX3, H FFF, DT1
F66 WOR
HC000,
X3F X3E
X3D
X3D
F0
MV
WX2,
DT2
F65 WAN WX3, H FFF, DT3
X3F X3E
X3D
X3D
F0
MV
WX2,
DT4
F65 WAN WX3, H FFF, DT5
X3F X3E
X3D
X3D
F0
MV
WX2,
DT6
F65 WAN WX3, H FFF, DT7
X3F X3E
X3D
X3D
Load ch0 and
ch1 data
DT1
WX3,
F66 WOR WX3, HC000, DT3
F66 WOR WX3, HC000, DT5
F66 WOR WX3, HC000, DT7
ch0 data –> DT0
When ch1 data is positive –> DT1
When ch1 data is negative –> DT1
ch2 data –> DT2
When ch3 data is positive –> DT3
When ch3 data is negative –> DT3
ch4 data –> DT4
When ch5 data is positive –> DT5
When ch5 data is negative –> DT5
ch6 data –> DT6
When ch7 data is positive –> DT7
When ch7 data is negative –> DT7
Load ch2 and
ch3 data
Load ch4 and
ch5 data
Load ch6 and
ch7 data
Note
If the expansion positions have changed, see page 4-2 and
change X3D, X3E, X3F, WX2 and WX3.
Summary of Contents for FP0-A80
Page 4: ...Table of Contents FP0 A D Converter Unit ii Matsushita Electric Works Europe AG...
Page 5: ...Chapter 1 Parts and Terminology...
Page 9: ...Chapter 2 Wiring and Input Range Setting Switch...
Page 13: ...Chapter 3 A D Conversion Characteristics...
Page 19: ...Chapter 4 I O Allocation and Program...
Page 27: ...Chapter 5 Specifications and Dimensions...
Page 32: ...FP0 A D Converter Unit Specifications and Dimensions 5 6 Matsushita Electric Works Europe AG...
Page 34: ...Index FP0 A D Converter Unit Matsushita Electric Works Europe AG I 2...