Example: Changing Of Voltage Output Characteristics - Mitsubishi Electric FX3G User Manual

Hide thumbs Also See for FX3G:
Table of Contents

Advertisement

FX
/FX
/FX
/FX
/FX
3S
3G
3GC
3U
3UC
FX
-3A-ADP (2-channel Analog Input, 1-channel Analog Output)
3U
5.2

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 D120.
1. Output characteristics
Voltage output characteristics
(product specifications)
10V
5V
1V
0
400
2. Example of program 1 (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
2000
4000
Digital value input
/FX
Series PLC)
3U
3UC
M8262
M8266
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
D120
D50
D8262
5 Changing of Input/output Characteristics
5.2 Example: Changing of Voltage Output Characteristics
Digital value characteristics
to be changed
Y-axis
2000
(5V)
400
(1V)
0
Desired digital value (D120)
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
Description
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 D8262.
X-axis
10000
Value Device
2
D50
0
D51
400
D52
10000
D53
2000
D54
H-35
A
B
C
D
E
F
G
H
I
J

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3sFx3gcFx3uFx3uc

Table of Contents