EasyManua.ls Logo

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

Mitsubishi Electric MELSEC-FX3S Series
532 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
F-27
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)
A
Common Items
B
FX
3U
-4AD
FX
3UC
-4AD
C
FX
3U
-4AD-ADP
D
FX
3G
-2AD-BD
E
FX
3U
-4DA
F
FX
3U
-4DA-ADP
G
FX
3G
-1DA-BD
H
FX
3U
-3A-ADP
I
FX
3U
-4AD-PT
-ADP
J
FX
3U
-4AD-PTW
-ADP
5. Changing of Output Characteristics
Use the scaling instruction (SCL/FNC259) for the FX3U/FX3UC Series PLC to change the output
characteristics.
FX
3S/FX3G/FX3GC Series PLCs do not support the scaling instruction. Use sequence programs to change the
output characteristics.
For a detailed description of scaling instruction, refer to the FX
3S/FX3G/FX3GC/FX3U/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 5 V) to 0 to 10000.
A specified digital value is inputted into D100.
1. Output characteristics
2. Example of program 1 (For FX
3U/FX3UC Series PLC)
For example, create the following program to change the digital output of the 1st analog special adapter.
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).
0
10000
Specified digital output
value to be actually
subject to D/A conversion
2000
(5V)
400
(1V)
Desired digital value (D100)
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
Normally
OFF
Normally
ON
Initial
pulse
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 data table
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
X-
coordinate
Y-
coordinate
End
point
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
FNC259
SCL
D100 D50 D8260

Table of Contents

Related product manuals