Basic Program Example - Mitsubishi Electric FX3G User Manual

Hide thumbs Also See for FX3G:
Table of Contents

Advertisement

FX
/FX
/FX
/FX
/FX
3S
3G
3GC
3U
3UC
FX
-1DA-BD (1-channel Analog Output)
3G
4.8

Basic Program Example

Create the following basic program example to output D/A converted analog data.
• For FX
Series PLC
3G
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.
M8001
Normally
OFF
M8000
Normally
ON
M8000
Normally
ON
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.
PLC User's Manual - Analog Control Edition
M8260
M8264
M8270
M8274
FNC 12
D100
D8260
MOV
FNC 12
D101
D8270
MOV
Sets the output mode of the board A to the voltage
output mode (0 V to 10 V).
Sets the output holding function for the board A.
Sets the output mode of the board B to the current
output mode (4 mA to 20 mA).
Cancels the output holding function for the board B.
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.
4 Programming
4.8 Basic Program Example
G-19
A
B
C
D
E
F
G
H
I
J

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3sFx3gcFx3uFx3uc

Table of Contents