EasyManua.ls Logo

Mitsubishi Electric MELSEC-FX3S Series - Page 183

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...
C-29
5 Changing of Input Characteristics
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
PLC User's Manual - Analog Control Edition
FX3U-4AD-ADP (4-channel Analog Input)
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.1 Example: Changing of Voltage Input Characteristics
2. Example of program 1 (For FX3U/FX3UC Series PLC)
For example, create the following program to change the digital input data of the 1st analog special adapter:
Cautions regarding use of the SCL instruction
If the A/D converted digital value is out of the data table range specified by the SCL instruction, the PLC will
detect an operation error (error code: K6706).
M8001
M8260
Sets the input mode of channel 1 to the voltage input mode
(0 V to 10 V)
M8002
RST D8268.6
RST D8268.7
Error status: b6 = OFF
Error status: b7 = OFF
M8000
FNC 12
MOV
K1 D8264
Sets the averaging time to "1" for the channel-1 data
M8002
K2 D50
K400 D51
K0 D52
K2000 D53
K10000 D54
M8000
Program for setting scaling instruction data table
The scaling instruction operation results will be stored in D100.
Item
Number of points
Start
point
X-
coordinate
Y-
coordinate
End
point
X-
coordinate
Y-
coordinate
Description
Sets the number of points
A/D converted digital value
start point data
Digital output value of changed
X-axis value start point
2
Value Device
D50
400 D51
0D52
A/D converted digital value end
point data
Digital output value of changed
X-axis value end point
2000
D53
10000
D54
FNC259
SCL
D8260 D50 D100
FNC 12
MOV
FNC 12
MOV
FNC 12
MOV
FNC 12
MOV
FNC 12
MOV
Initial
pulse
Initial
pulse
Normally
OFF
Normally
ON
Normally
ON

Table of Contents

Related product manuals