Mitsubishi Electronics MELSEC-F Home Theater Server User Manual


 
C-27
5 Changing of Input Characteristics
5.1 Example: Changing of Voltage Input Characteristics
FX
3G
/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
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:
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
FNC 12
MOV
K2 D50
FNC 12
MOV
K400 D51
FNC 12
MOV
K0 D52
FNC 12
MOV
K2000 D53
FNC 12
MOV
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
FNC 259
SCL
D8260 D50 D100