Writing Of Digital Data For Output (12-Bit Mode) - Panasonic FP0R Series User Manual

Analog i/o unit
Hide thumbs Also See for FP0R Series:
Table of Contents

Advertisement

Creating Programs

4.4.3 Writing of Digital Data for Output (12-bit Mode)

The analog I/O unit (FP0R-A42/A21) writes data for conversion as the output switching flags
are not contained in the 12-bit mode.
 I/O allocation (12-bit mode)
WY3
WY2
CH1 data
CH0 data
 Writing data for conversion
• The analog I/O unit writes the analog output digital data of a maximum of 2 channels to two
memory areas (WY2/WY3) by user programs.
Always insert a program which checks the upper and lower limits to make
written digital values be within the allowable data ranges referring the
programs described on the following pages.
Mode
12-bit mode
 Sample program (12-bit mode: -10V to +10V range)
The following program shows the case that the data of DT0 to DT1 is converted and output to
the CH0 to CH1 of the first expansion analog I/O unit (FP0R-A42/A21).
<=
K-2000 , DT0
R9010
[ F0 MV
>
1
<=
K-2000 , DT1
R9010
[ F0 MV
>
1
4-28
Range setting
>=
, DT0
, WY2
>=
, DT1
, WY3
± range
+ range
K 2000 , DT0
]
K 2000 , DT1
]
Lower limit
Upper limit
-2000
0
1
>
ⓐ CH0
1
>
CH1
2000
4000

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Afp0rad4Afp0rad8Afp0ra21Afp0ra42Afp0rda4

Table of Contents