Creating Programs
4.4.6 Switching of Output Range (14-bit Mode Only)
When selecting the 14-bit mode in the analog I/O unit (FP0R-A21/A42), the output range can
be switched by user programs. It can be set for each channel.
I/O allocation (External output WY)
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 a average setting
1
0
CH1 output range setting
1
1
CH1 output data setting
Each output range is specified by setting the following constants.
Item
Output range setting
Default settings
The default settings are as follows; Output range for all channels: Voltage output range: -10 to
+10 V, Current output range: 0 to 20 mA.
KEY POINTS
•
The output ranges are set for two channels separately.
4-34
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
Description
Input constants for specifying output ranges in the 14-bit area.
-10 to +10V / 0 to 20mA
H30
-5 to +5V / 4 to 20mA
H31
H32
0 to 10V
H33
0 to 5V
Y
Y
Y
Y
Y
Y
3
2
2
2
2
0
F
E
D
C
B
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
Y
Y
Y
Y
Y
Y
Y
Y
2
2
2
2
2
2
2
2
2
A
9
8
7
6
5
4
3
Y
Y
Y
2
2
2
2
1
0