Programming For Analog I/O, A/D Converter, And D/A Converter Boards; Digital Values Of Analog Input - Panasonic FP-M Hardware Manual

Table of Contents

Advertisement

7-4. Programming for Analog I/O, A/D
Converter, and D/A Converter Boards

1. Digital Values of Analog Input

• The converted digital values are stored in the special data registers (DT9080 to DT9095) by the board number
selector of each board.
• Be sure to use the F0 (MV) instruction to transfer the converted digital value in the special data registers (DT9080
to DT9095) into other data registers.
Example: Transfer the converted digital value of DT9080
to the data register DT0 when X1 turns ON.
• The contents of special data registers DT9080 to DT9095 can be monitored using NPST-GR Software or FP
Programmer II.
Note:
• The converted digital values of analog input are transmitted to special data registers DT9080 to DT9095
at the time of programmable controller I/O updating during each scan. Transmission will not occur if the
mode selector of the FP-M control board is set to PROG.
Analog input data conversion characteristics
• The ranges of the converted digital values of analog input are shown below:
- When analog I/O board is installed
K0 to K255 (0 to 5 V, 0 to 10 V and 0 to 20 mA)
The range of converted digital values
(8 bits resolution of special data registers DT9080 to DT9095)
<Analog I/O Board>
• 0 to 5 V range
255
200
Digital
data
(K)
100
0
1.96
Analog input (V)
• 0 to 20 mA range
255
Digital
200
data
(K)
100
0

7-4. Programming for Analog I/O, A/D Converter, and D/A Converter Boards

• 0 to 10 V range
255
200
Digital
data
(K)
100
0
3.92
5.0
7.84
15.7
Analog input (mA)
X1
F0 MV, DT9080, DT 0
3.92
Analog input (V)
20
7.84
10
143

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents