Changing Of Input Characteristics; Example: Changing Of Voltage Input Characteristics - Mitsubishi Electric MELSEC-FX3S Series Manual

Table of Contents

Advertisement

FX
/FX
/FX
/FX
/FX
3S
3G
3GC
3U
FX
-2AD-BD (2-channel Analog Input)
3G
5.

Changing of Input Characteristics

The input characteristics can be changed using sequence programs in FX
5.1

Example: Changing of Voltage Input Characteristics

This section describes an example of a program that can change the digital output range of 400 to 2000
(when the voltage input is 1 to 5 V) to the digital output range of 0 to 10000.
1. Input characteristics
2. Example of program (For FX
For example, create the following program to change the digital input data of the board A:
M8001
Normally OFF
M8000
Normally ON
M8002
Initial pulse
M8000
Normally ON
M8000
Normally ON
FNC230
D110 K400
LD>=
M10
D-22
PLC User's Manual - Analog Control Edition
3UC
Voltage input characteristics
(product specifications)
4000
2000
400
0
1V
5V
Analog input
Series PLC)
3G
FNC 12
MOV
FNC 12
MOV
FNC 12
MOV
FNC 12
MOV
FNC237
AND<=
FNC 21
SUB
FNC 22
MUL
FNC 23
DDIV
5.1 Example: Changing of Voltage Input Characteristics
Digital output value to be changed
10000
10V
M8260
D8268
K4M0
RST
M6
RST
M7
K4M0
D8268
K1
D8264
D8260
D110
D110 K2000
M10
D110
K400
D111
D111
K10000 D112
D112
K1600
D100
5 Changing of Input Characteristics
/FX
Series PLCs.
3S
3G
Y-axis
X-axis
0
400(1V)
2000(5V)
Digital value actually obtained
by A/D conversion
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 scaling to "1" for
the channel-1 data.
Check to make sure the digital
value (D110) is in range.
Calculation for changing input
characteristics.
Stores the operation result in D100.

Advertisement

Table of Contents
loading

Table of Contents