27: F
LOW
C
ALCULATION
I
NSTRUCTIONS
27-8 FC6A S
ERIES
MICROS
MART
L
ADDER
P
ROGRAMMING
M
ANUAL
FC9Y-B1726
Operation Example
To convert an analog input value from 0 to 4,095 to 0 to 65,535
Create the following ladder program.
SCALE instruction settings
Devices tab
Settings tab
(1) Specify D0000, where the analog input value is stored, for S1.
(2) Initialize the settings with the initialize pulse, and when M0000 turns on, the calculation is performed with the SCALE
instruction.
Settings Description
S1 (input value) D0000
S2 (control register) D0050
S3 (initialization input) M8120
D1 (output register) D0150
D2 (output relay) M0050
Settings Description
Data type Word (W)
Input maximum value 4,095
Input minimum value 0
Output maximum value 65,535
Output minimum value 0
Deadband 10
D2
M0050
S2
D0050
SCALE(*) S1
D0000
D1
D0150
S3
M8120
M0000