Panasonic FP2 -C1A Manual page 82

Analog unit
Table of Contents

Advertisement

Sample Program for Analog Input Average Processing Setting
10.2
Sample Program (Analog Input Unit)
Sample program:
R 9013
F0 MV
Initial
setting
F151 WRT K 0
Specifies the analog input unit in
slot no. 0.
The 1 - word data from data register DT 0
is written to the shared memory address 16.
F0 MV
F151 WRT K 0
Specifies the analog input unit
in slot no. 0.
The 1 - word data from data register DT 1
is written to the shared memory address 17.
R 9013
F0 MV
Initial
setting
F0 MV
F0 MV
F0 MV
F0 MV
F151 WRT K 0
Specifies the analog input unit
in slot no. 0.
The 5 - word contents of data register DT 20 to DT24
is written to the shared memory addressees 22 to 26.
10 - 6
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
,
H 1111
,
DT 0
ch 0 to 3
execution
,
,
DT 0
,
K 1 K 16
,
ch 0 to 3
execution
,
H 1
,
DT 1
ch 4 execution
,
,
DT 1
,
K 1 K 17
,
ch 4
execution
,
K
0
,
DT 20
ch 0 average processing
,
K
0
,
DT 21
ch 1 average processing
,
K
3
,
DT 22
ch 2 average processing
,
K
3
,
DT 23
ch 3 average processing
,
K 10
,
DT 24
ch 4 average processing
,
,
DT 20
,
K 5 K 22
,
ch 0 to 4
average
processing
FP2 Analog Unit
Execution of conversion
processing setting for ch 0 to
ch 3 analog inputs
Execution of conversion
processing setting for ch 4
analog input
Analog input average proc-
essing setting
ch 0: No average processing
ch 1: 3 times average proc-
essing
ch 2: 10 times average proc-
essing
next page

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp2 -ad8Fp2 -da4

Table of Contents