Basic Program Example - Mitsubishi FX3U-4AD User Manual

Fx3g series fx3u series fx3uc series
Hide thumbs Also See for FX3U-4AD:
Table of Contents

Advertisement

FX
/FX
/FX
PLC User's Manual - Analog Control Edition
3G
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.
The following program will set the 1st board to the voltage output mode and 2nd board to current output
mode, and will set digital data in D100 and D101 for D/A conversion.
M8001
Normally
OFF
M8000
Normally
ON
M8000
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.
M8260
M8264
M8270
M8274
FNC 12
D100
D8260
MOV
FNC 12
D101
D8270
MOV
Sets the output mode of the 1st board to the voltage
output mode (0 V to 10 V).
Sets the output holding function for the 1st board.
Sets the output mode of the 2nd board to the current
output mode (4 mA to 20 mA).
Cancels the output holding function for the 2nd board.
Performs D/A conversion with the digital data stored
in D100 for the 1st board.
Performs D/A conversion with the digital data stored
in D101 for the 2nd board.
4 Programming
4.8 Basic Program Example
G-17
A
B
C
D
E
F
G
H
I
J

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents