EasyManuals Logo
Home>Mitsubishi>Controller>MELSEC-F FX3U Series

Mitsubishi MELSEC-F FX3U Series User Manual

Mitsubishi MELSEC-F FX3U Series
242 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
Page #105 background imageLoading...
Page #105 background image
B-51
7 Examples of Practical Programs
7.1 Program That Uses Number of Averaging Time
A
Common Items
B
FX
3UC
-4AD
C
FX
3U
-4AD-ADP
D
FX
3U
-4DA-ADP
E
FX
3U
-4AD-PT
-ADP
F
FX
3U
-4AD-TC
-ADP
G
PID Instruction
(FNC 88)
FX
3U
/FX
3UC
Series PLC User's Manual - Analog Control Edition
FX3UC-4AD (4-channel Analog Input)
7. Examples of Practical Programs
Use the functions incorporated in 4AD to create practical programs. This chapter describes the examples of
practical programs.
Program that uses the number of averaging time
Program that uses convenient functions
Program that uses the data history function
Program that initializes 4AD (to the factory default status)
7.1 Program That Uses Number of Averaging Time
This section describes a program that uses the number of analog data averaging time input to 4AD or the
digital filter function of 4AD.
1. Conditions
The sequence program described in this section is created under the following conditions.
1) System configuration
4AD (unit No.1) should be connected to the main unit.
2) Input mode
Channels 1 and 2 should be set to mode 0 (voltage input, -10V to +10V -32000 to +32000).
Channels 3 and 4 should be set to mode 3 (current input, 4mA to 20mA 0 to 16000).
3) Number of averaging time
For channels 1 through 4, the number of averaging time should be set to "10".
4) Digital filter function
For channels 1 through 4, the digital filter function should be disabled (default).
5) Device assignment
2. Example of sequence program
*1. After setting the input mode, set the data writing time (waiting time) to 5 seconds or more for each
setting.
The specified input mode will be retained even if power failure occurs. After the input mode specified,
if the same input mode is used, it is not necessary to set the input mode and the waiting time (T0 K50).
*2. To use the default value set for the digital filter function, it is not necessary to set the digital filter
function in the sequence program.
Device Description
D0 A/D converted digital value for channel 1
D1 A/D converted digital value for channel 2
D2 A/D converted digital value for channel 3
D3 A/D converted digital value for channel 4
M8002
FNC 12
MOV
H3300 U1\G0
P
M8000
K50
T0
*1
T0
FNC 16
FMOV
K10 U1\G2 K4
P
Input modes of channels 1
to 4 will be specified.
For channels 1 and 2, the number of
averaging time will be set to "10".
Initial pulse
FNC 16
FMOV
K0 U1\G6 K4
P
The digital filter function of channels 1
and 2 will be disabled.
FNC 16
BMOV
U1\G10 D0 K4
RUN monitor
*2
The digital values set for channels
1 through 4 will be read out to D0 to D3.
*1

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC-F FX3U Series and is the answer not in the manual?

Mitsubishi MELSEC-F FX3U Series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC-F FX3U Series
CategoryController
LanguageEnglish

Related product manuals