Mitsubishi Electric FX3G User Manual page 367

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

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3sFx3gcFx3uFx3uc

Table of Contents