Basic Program (Analog Input Unit) - Panasonic FP2 -C1A Manual

Analog unit
Table of Contents

Advertisement

FP2 Analog Unit
8.2

Basic Program (Analog Input Unit)

Program outline
Using ch 0 to ch 5 (set for no execution of input conversion processing) of the analog
input unit, this program reads the analog input data to the data registers DT100 to DT105
using the preparation completion flag.
Converts the analog values 4 to 20mA that were read to the digital
values 0 to 13107 (if, for example, the analog input range was set to
4 to 20mA DC)
By the move instruction F0 (MV),
the contents of input relay areas
WX0 to WX5 are read to the data
registers DT100 to DT105.
Settings
Channels that execute analog input conversion processing
H1111: ch 0 to ch 3 are set for execution
H11: ch 4 and ch 5 are set for execution and ch 6 and ch 7 are not set for execution
I/O allocation
I/O number
Contents
WX0
Analog input data for ch 0
WX1
Analog input data for ch 1
WX2
Analog input data for ch 2
WX3
Analog input data for ch 3
WX4
Analog input data for ch 4
WX5
Analog input data for ch 5
Shared memory
Address 10
Preparation completion flag for ch 0 to ch 7 analog inputs
Address 16
No execution of conversion processing setting for ch 0 to ch 3 analog inputs
Address 17
No execution of conversion processing setting for ch 4 to ch 7 analog inputs
For detailed information
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
V or I
Analog input
t
Input range: 4 to 20mA DC
mA
K
4
0
8
3276
12
6553
16
9828
20
13107
section 14.3.2
Sample Program for Analog Input
8.2
Basic Program (Analog Input Unit)
(K)
+13107
+6553
0
+4
+12
+20
(mA)
8 - 5

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp2 -ad8Fp2 -da4

Table of Contents