EasyManuals Logo

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 #109 background imageLoading...
Page #109 background image
B-55
7 Examples of Practical Programs
7.3 Program That Uses Data History Function
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)
2. Example of sequence program
*1. After setting the input mode, set the data writing time (waiting time) of 5 seconds or more for each
setting.
After this, if the same input mode is used, it is not necessary to set the input mode and the waiting
time (T0 K50) again.
*2. The set input mode and the sampling time are retained in the EEPROM of 4AD. Therefore, even if the
sequence program is deleted, the previously set functions will still be valid.
*3. If a large amount of history data is read out, the scan time of the PLC will be become longer. If the
scan time exceeds 200 ms, the CPU error indicator lamp will illuminate, and the PLC will be stopped.
Therefore, when programming, separate the history data and then read out using BMOV instruction.
Set WDT (watchdog timer refresh) instruction between the separated data.
M8002
FNC 12
MOV
H3300 U1\G0
P
M8000
K50
T0
*1
T0
Input modes of channels 1 to 4 will be
specified.
The sampling time will be set to 100 ms.
Initial pulse
FNC 16
BMOV
U1\G10 D0 K4
RUN monitor
The digital values set for channels 1
to 4 will be read out to D0 to D3.
FNC 12
MOV
K100 U1\G198
P
Data history of all the channels will be
erased.
X000
FNC 12
MOV
H000F U1\G199
P
Clearance of
data history
*2
Data history of all the channels will be
temporarily stopped.
X001
FNC 12
MOV
H0F00 U1\G199
P
Temporarily stop of
data history
Temporary stoppage of data history will be
canceled for all the channels.
FNC 12
MOV
H0000 U1\G199
P
Temporarily stop of
data history
X001
T0
FNC 16
BMOV
U1\G200 D100 K100
FNC 16
BMOV
U1\G1900 D200 K100
FNC 07
WDT
FNC 07
WDT
FNC 16
BMOV
U1\G3600 D300 K100
FNC 16
BMOV
U1\G4300 D400 K100
FNC 07
WDT
FNC 07
WDT
Channel-1 history data (100th times of
data sampling) will be read out to D100 to
D199.
Channel-2 history data (100th times of
data sampling) will be read out to D200 to
D299.
Channel-3 history data (100th times of
data sampling) will be read out to D300 to
D399.
Channel-4 history data (100th times of
data sampling) will be read out to D400 to
D499.
The watchdog timer will be refreshed.
*3
The watchdog timer will be refreshed.
*3
The watchdog timer will be refreshed.
*3
The watchdog timer will be refreshed.
*3
*2

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