Analog I/O Unit (Fp0R-A21/A42); Reading Of Analog Input Values (For A21) - Panasonic FP0R Series User Manual

Analog i/o unit
Hide thumbs Also See for FP0R Series:
Table of Contents

Advertisement

Creating Programs

4.4 Analog I/O Unit (FP0R-A21/A42)

4.4.1 Reading of Analog Input Values (For A21)

With the analog input unit A21, data can be read as signed 16-bit data as is.
 I/O allocation (External input WX)
X
X
X
X
X
X
X
X
3
3
3
3
3
3
3
3
F
E
D
C
B
A
9
8
Conversion data of CH1
(16 bit with sign)
WX3
WX2
CH1data
CH0 data
 Sample program (For FP0R-A21)
The following program shows the case that conversion data of the first expansion analog input
unit (FP0R-A21) (CH0 to CH7) is read and stored in DT0 to DT7.
R9010
[ F0 MV
[ F0 MV
The conversion data of CH0 is stored into DT0.
The conversion data of CH1 is stored into DT1.
4-24
X
X
X
X
X
X
X
X
3
3
3
3
3
3
3
3
7
6
5
4
3
2
1
0
, WX2 , DT0
, WX3 , DT1
X
X
X
X
X
X
2
2
2
2
2
2
F
E
D
C
B
A
Conversion data of CH0
(16 bit with sign)
]
]
X
X
X
X
X
X
X
X
2
2
2
2
2
2
2
2
9
8
7
6
5
4
3
2
X
X
2
2
1
0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Afp0rad4Afp0rad8Afp0ra21Afp0ra42Afp0rda4

Table of Contents