Output Hold (Any Value) Setting Program - Panasonic FP2 -C1A Manual

Analog unit
Table of Contents

Advertisement

Sample Program for Analog Output Hold Setting
12.2

Output Hold (Any Value) Setting Program

12.2 Output Hold (Any Value) Setting Program
12.2.1
Basic Program (CPU Unit with Analog I/O)
Program outline
When switching from the RUN mode to the PROG. mode, this program holds the analog
output at any desired value according to the shared memory (addresses 38 and 39)
settings. Then the program writes the data stored in data register DT0 to the output relay
area WY4 of output channel ch 0 for the CPU unit with analog I/O.
Settings
I/O allocation
I/O number
Contents
WY4
Analog output data for ch 0
Shared memory
Address 38
Analog output hold setting
H0: Non- hold
H1: Hold (holds analog output at final value of RUN mode)
H2: Hold (holds analog output at any desired value)
Address 39
Analog output hold data (any value) setting
Range of any value setting
- 10 to +10V output range: K - 2048 to K2047
0 to 20mA output range: K0 to K4095
For detailed information
Sample program:
R 9013
F0 MV
Initial
setting
F0 MV
F151 WRT K 0
Specifies the analog output
unit in slot no. 0.
The 2 - word data from data register DT30
is written to the shared memory addresses 38 and 39.
R 9010
F0
MV
Always on
12 - 4
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
section 14.3.1
,
H
2
,
DT 30
Output hold setting
,
H 2047
,
DT 31
ch 0 any value
,
,
DT 30
,
K 2 K 38
,
Output hold
setting
,
DT 0
,
WY 4
Analog output hold data (any
value) setting
Analog output data Writing
ED
FP2 Analog Unit

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp2 -ad8Fp2 -da4

Table of Contents