EasyManua.ls Logo

Mitsubishi Electric MELSEC-FX3S Series - Basic Program Example

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...
G-19
4 Programming
4.8 Basic Program Example
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
PLC User's Manual - Analog Control Edition
FX3G-1DA-BD (1-channel Analog Output)
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
4.8 Basic Program Example
Create the following basic program example to output D/A converted analog data.
•For FX
3G Series PLC
The following program will set the board A to the voltage output mode and board B to current output mode,
and will set digital data in D100 and D101 for D/A conversion.
Using the indicator or the sequence program, input the digital data to be subject to D/A conversion (to be
output as analog data) in D100 and D101.
M8001
Normally
OFF
Normally
ON
Normally
ON
M8260
M8000
M8270
Sets the output mode of the board A to the voltage
output mode (0 V to 10 V).
Sets the output mode of the board B to the current
output mode (4 mA to 20 mA).
M8000
FNC 12
MOV
D100 D8260
FNC 12
MOV
D101 D8270
Performs D/A conversion with the digital data stored
in D100 for the board A.
Performs D/A conversion with the digital data stored
in D101 for the board B.
M8264
Sets the output holding function for the board A.
M8274
Cancels the output holding function for the board B.

Table of Contents

Related product manuals