F-28
5 Changing of Output Characteristics
5.1 Example: Changing of Voltage Output Characteristics
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
PLC User's Manual - Analog Control Edition
FX3U-4DA-ADP (4-channel Analog Output)
3. Example of program 2 (For FX3S/FX3G/FX3GC Series PLC)
For example, create the following program to change the digital output data (D100) of the 1st analog special
adapter.
Sets the output mode of channel 1 to the
voltage output mode.
D103 K400 D107
FNC 20
ADD
D101 K10000 D103
FNC 23
DDIV
D100 K1600 D101
FNC 22
MUL
M10
M8001
Normally
OFF
M8280
FNC 12
MOV
D107 D8280
M8284
Sets the output holding function for
channel 1.
M10
FNC230
LD>=
D100 K0
FNC237
AND<=
D100
K10000
Check to make sure the digital
value (D100) is in range.
Calculation for changing output
characteristics.
Stores the operation result in D8280.