93
6. Create the following program to scale values in a range between the lower
and upper-limit values and designate the lower- and upper-limit values that
have been monitored as parameters. Refer to page 89, Scaling for details.
* “n” indicates the allocated word for analog input.
SCL(66)
*n
DM 0100
DM 0000
00000
DM 0100
DM 0101
DM 0102
DM 0103
0000
0100
Set value
(BCD)
(Hexadecimal)
Lower limit value
(BCD)
(Hexadecimal)
Upper limit value
If the Analog Input Unit is set to a range of –10 to 10 V, follow the steps described
below to adjust the Analog Input Unit.
1, 2, 3... 1. Refer to 3-1 Settings and connect the Analog Input Unit, CPU, and sensor or
transducer.
2. Connect a peripheral device such as a Programming Console to the CPU
and while referring to 3-3-1 Programming, create a program to convert 2’s
complement.
PS CPU OUT AD OUT
IN
ADIPS
Sensor or transducerSensing object
Peripheral device
* “n” indicates the allocated word for analog input.
Input condition
ANDW(34)
#0FFF
n
DM 0200
XORW(36)
#0800
DM 0200
DM 0200
00000
3. Obtain the minimum value of the sensing object. For a sensing operation, for
example, set the sensing object so that the output value of the sensor or
transducer will be minimum. For temperature measurement, it may be diffi-
cult to obtain the minimum value. In that case, instead of using the sensor or
transducer, use a reference power supply to obtain the output at the lowest
temperature.
–10 to 10 V
Programming and Adjustment
Section 3-3