Writing Of Digital Data For Output (14-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.4 Writing of Digital Data for Output (14-bit Mode)

With the analog I/O unit (FP0R-A42/A21), the conversion output is performed by using two
bits as the switching flags of output channels and writing data.
 I/O allocation (14-bit mode)
In the 14-bit mode, the most significant two bits are used as the switching flags. They are
common to the flags for setting ranges.
Y
Y
Y
Y
Y
Y
3
3
3
3
3
3
F
E
D
C
B
A
Output data of CH1 (14bit)
A
A
Input average setting: CH0-CH3
1
0
CH1 output range setting
A1
A0 Item
0
0
CH1 output data setting
0
1
Input average setting
1
0
CH1 output range setting
1
1
CH1 output data setting
 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.
Protect output switching flags from being overwritten by a subsequent
program after writing data. Output data becomes invalid.
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
14-bit mode
For the analog I/O unit (FP0R-A21/A42), the data setting becomes valid
when the output switching flags (Y2F, Y2E) or (Y3F, Y3E) are (0, 0) or (1, 1).
When written digital values are within the range in the above table, it is not
necessary to add programs for setting or setting the output switching flags
after data transmission like the following programs because the output
switching flags (Y2F, Y2E) or (Y3F, Y3E) are always (0, 0) or (1, 1).
4-30
Y
Y
Y
Y
Y
Y
Y
Y
Y
3
3
3
3
3
3
3
3
3
9
8
7
6
5
4
3
2
1
Range setting
Y
Y
Y
Y
Y
3
2
2
2
2
0
F
E
D
C
Output data of CH0 (14bit)
A
A
Input average setting: CH0-CH3
1
0
CH0 output range setting
A1
A0 Item
0
0
CH0 output data setting
0
1
Input range setting
1
0
CH0 output range setting
1
1
CH0 output data setting
Lower limit
±range
+range
Y
Y
Y
Y
Y
Y
Y
Y
Y
2
2
2
2
2
2
2
2
B
A
9
8
7
6
5
4
Upper limit
-8000
0
Y
Y
Y
2
2
2
2
3
2
1
0
8000
16000

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Afp0rad4Afp0rad8Afp0ra21Afp0ra42Afp0rda4

Table of Contents