Panasonic FP2 -C1A Manual page 90

Analog unit
Table of Contents

Advertisement

Sample Program of Analog Input Offset Setting
11.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 10 to DT14
is written to the shared memory addressees 30 to 34.
11 - 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 10
ch 0 offset
,
K - 10
,
DT 11
ch 1 offset
,
K 20
,
DT 12
ch 2 offset
,
K 30
,
DT 13
ch 3 offset
,
K - 40
,
DT 14
ch 4 offset
,
,
DT 10
,
K 5 K 30
,
ch 0 to 2
offset
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 offset setting
CH0 : K
0
CH1 : K- 10
CH2 : K 20
CH3 : K 30
CH4 : K- 40
next page

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp2 -ad8Fp2 -da4

Table of Contents