Panasonic FP0R Series User Manual page 38

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

Advertisement

Creating Programs
 Sample program (12-bit mode: For the range of 4 to 20 mA)
The following program shows the case that the data of DT0 to DT3 is converted and output to
the CH0 to CH3 of the first expansion analog output unit. The range for checking digital values
written in the output area is changed.
<=
K
R9012
[ F0 MV
>
1
<=
K
R9012
[ F0 MV
>
1
<=
K
R9012
>
[ F0 MV
1
<=
K
R9012
[ F0 MV
>
1
4-12
0 , DT0
>=
, DT0
, WY2
0 , DT1
>=
, DT1
, WY3
0 , DT2
>=
, DT2
, WY2
0 , DT3
>=
, DT3
, WY3
K 4000 , DT0
]
K 4000 , DT1
]
K 4000 , DT2
]
K 4000 , DT3
]
1
>
ⓐ CH0
Y2C
< SET >
Y2D
< RST >
1
>
Y3C
CH1
< SET >
Y3D
< RST >
1
>
ⓒCH2
Y2C
< RST >
Y2D
< SET >
1
>
Y3C
ⓓCH3
< RST >
Y3D
< SET >

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Afp0rad4Afp0rad8Afp0ra21Afp0ra42Afp0rda4

Table of Contents