D-20
5 Changing of Output Characteristics
5.1 Example: Changing of Voltage Output Characteristics
FX
3U
/FX
3UC
Series PLC User's Manual - Analog Control Edition
FX3U-4DA-ADP (4-channel analog Output)
5. Changing of Output Characteristics
Use scaling instruction (SCL/FNC 259) of the FX3U/FX3UC Series PLC to change the output characteristics.
→ For a detailed description of scaling instruction, refer to the FX
3U/FX3UC Series Programming
Manual - Basic & Applied Instruction.
5.1 Example: Changing of Voltage Output Characteristics
This section describes an example of a program that can change the digital value range from 400 to 2000
(when analog output range is 1 to 5V) to 0 to 10000.
1. Output characteristics
2. Example of program
For example, create the following program to change the digital output of the 1st analog special adapter.
3. Cautions regarding programming
• GX Developer version 8.13P or later supports scaling instruction (SCL/FNC259).
• If the input digital value for the D/A conversion is out of the table data range specified by scaling instruction
(SCL/FNC259), the FX Series PLC will detect an operation error (error code: K6706).
0
10000
Specified digital output
value to be actually
subject to D/A conversion
2000
(5V)
400
(1V)
Desired digital value
Voltage output characteristics
(product specifications)
Digital value characteristics
to be changed
X-axis
0
4000
10V
Analog output
Digital value input
400 2000
5V
1V
Y-axis
M8001
M8260
Sets the output mode of channel 1 to the voltage output
mode.
M8002
FNC 12
MOV
K2 D50
FNC 12
MOV
K0 D51
FNC 12
MOV
K400 D52
FNC 12
MOV
K10000 D53
FNC 12
MOV
K2000 D54
M8000
Program for setting scaling instruction table data
The result of operation by scaling instruction will be stored
in the D8260.
M8264
Sets the output holding function for channel 1.
Item
Number of points
Start
point
X-
coordinate
Y-
coordinate
End
point
X-
coordinate
Y-
coordinate
Description
Sets the number of points.
Digital value of specified
start point on X-axis
Digital value of desired D/A
conversion start point
2
Value Device
D50
0D51
400 D52
Digital value of specified end
point on X-axis
Digital value of desired D/A
conversion end point
10000
D53
2000
D54
FNC 259
SCL
D100 D50 D8260