Changing Of Output Characteristics; Example: Changing Of Voltage Output Characteristics - Mitsubishi Electric MELSEC-FX3S Series Manual

Table of Contents

Advertisement

FX
/FX
/FX
/FX
/FX
3S
3G
3GC
3U
3UC
FX
-4DA-ADP (4-channel Analog Output)
3U
5.

Changing of Output Characteristics

Use the scaling instruction (SCL/FNC259) for the FX
characteristics.
FX
/FX
/FX
3S
3G
3GC
output characteristics.
→ For a detailed description of scaling instruction, refer to the FX
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 5 V) to 0 to 10000.
A specified digital value is inputted into D100.
1. Output characteristics
Voltage output characteristics
(product specifications)
10V
5V
1V
0
400
2. Example of program 1 (For FX
For example, create the following program to change the digital output of the 1st analog special adapter.
M8001
Normally
OFF
M8002
Initial
pulse
M8000
FNC259
SCL
Normally
ON
Cautions regarding use of the SCL instruction
If the input digital value for the D/A conversion is out of the data table range specified by the SCL instruction
the PLC will detect an operation error (error code: K6706).
PLC User's Manual - Analog Control Edition
Series PLCs do not support the scaling instruction. Use sequence programs to change the
2000
4000
Digital value input
/FX
3U
3UC
M8260
M8264
FNC 12
K2
D50
MOV
FNC 12
K0
D51
MOV
FNC 12
K400
D52
MOV
FNC 12
K10000
D53
MOV
FNC 12
K2000
D54
MOV
D100
D50
D8260
5 Changing of Output Characteristics
5.1 Example: Changing of Voltage Output Characteristics
/FX
Series PLC to change the output
3U
3UC
3S
Programming Manual - Basic & Applied Instruction.
Digital value characteristics
to be changed
Y-axis
2000
(5V)
400
(1V)
0
Desired digital value (D100)
Series PLC)
Sets the output mode of channel 1 to the voltage output
mode.
Sets the output holding function for channel 1.
Program for setting scaling instruction data table
Item
Number of points
Sets the number of points.
X-
Digital value of specified
coordinate
start point on X-axis
Start
point
Y-
Digital value of desired D/A
coordinate
conversion start point
X-
Digital value of specified end
coordinate
point on X-axis
End
point
Y-
Digital value of desired D/A
coordinate
conversion end point
The result of operation by scaling instruction will be stored
in the D8260.
/FX
/FX
/FX
/FX
3G
3GC
3U
3UC
X-axis
10000
Description
Value Device
2
D50
0
D51
400
D52
10000
D53
2000
D54
A
B
Series
C
D
E
F
G
H
I
J
F-27

Advertisement

Table of Contents
loading

Table of Contents