94
4. Put the CQM1H/CQM1 into operation mode or monitor mode and use the
peripheral device to monitor the word (DM0200) in which the scaled conver-
sion data is stored. The conversion data will be the lower-limit value.
5. Apply the same method to the analog input maximum value to obtain the
upper-limit value.
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
has been monitored as parameters. Refer to page 89, Scaling for details.
* “n” indicates the allocated word for analog input.
ANDW(34)
#0FFF
n
DM 0200
XORW(36)
#0800
DM 0200
DM 0200
SCL(66)
DM 0200
DM 0100
DM 0000
00000
DM 0100
DM 0101
DM 0102
DM 0103
0000
0100
Insert the conversion value corresponding to the minimum value.
Insert the monitor value “lower limit value.”
Insert the conversion value corresponding to the maximum value.
Insert the monitor value “upper limit value.”
Set value
Programming and Adjustment
Section 3-3