116
If the following DM settings are made, the scaling as shown in the following
graph will be performed.
DM 0100
DM 0101
DM 0102
DM 0103
DM 0104
0030
0100
0200
0400
FC00
(Hexadecimal)→ (1) Offset
(BCD) → (2) Gain (graph gradient)
(Hexadecimal)→ (3) (3)/(2)
(Hexadecimal)→ (4) Upper limit
(Hexadecimal)→ (5) Lower limit
Output data (Hexadecimal)
*1
(4) 0400
()5 V)
0230
(1) 0030
100 (2)
0200 (3)
–9999 *2
0100 9999
FC00 (5)
(–5 V)
Value of DM 0000
(Input data)
(BCD)
*1: Output data is hexadecimal.
*2: By executing the STC (40) instruction instead of the CLC (41) instruction, turning the carry
(25504) ON, and executing the SLC3 instruction, the input value of the SLC3 instruction for
DM 0000 will be treated as a negative value.
APR Instruction The following is a program example for BCD output data stored in DM 0000
* “n” indicates the allocated word for analog output 1.
Input condition
APR
DM0100
DM0000
n
Programming and Adjustment
Section 3-3