Mitsubishi FX3U-4AD User Manual page 136

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
-4AD/FX
-4AD (4-channel Analog Input)
3U
3UC
2. Example of sequence program
• For FX
, FX
3U
Initial pulse
M8002
RUN monitor
M8000
T0
Clear data
history
X000
Temporarily stop
data history
X001
Temporarily stop
data history
X001
T0
*1.
After setting the input mode, set the data writing time (waiting time) to 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 waiting time
(T0 K50) again.
*2.
The set input mode and the sampling time are retained in the 4AD EEPROM. 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 stop.
Insert WDT instruction (watchdog timer refresh) between BMOV instructions.
B-60
Series PLCs
3UC
FNC 12
H3300
MOV
P
FNC 12
MOV
P
FNC 15
U0\G10
BMOV
FNC 12
H000F U0\G199
MOV
P
FNC 12
H0F00 U0\G199
MOV
P
FNC 12
H0000 U0\G199
MOV
P
FNC 15
U0\G200
BMOV
FNC 07
FNC 15
U0\G1900
BMOV
FNC 07
FNC 15
U0\G3600
BMOV
FNC 07
FNC 15
U0\G4300
BMOV
FNC 07
Input modes of channels 1 to 4 will be
U0\G0
specified.
*1
K50
T0
K100
U0\G198
The sampling time will be set to 100 ms.
The digital values set for channels 1
D0
K4
to 4 will be read out to D0 to D3.
Data history of all the channels will be
erased.
Data history of all the channels will be
temporarily stopped.
Temporary stoppage of data history will be
canceled for all the channels.
Channel-1 history data (100 data samples)
D100
K100
will be read out to D100 to D199.
The watchdog timer will be refreshed.
WDT
Channel-2 history data (100 data samples)
D200
K100
will be read out to D200 to D299.
The watchdog timer will be refreshed.
WDT
Channel-3 history data (100 data samples)
D300
K100
will be read out to D300 to D399.
The watchdog timer will be refreshed.
WDT
Channel-4 history data (100 data samples)
D400
K100
will be read out to D400 to D499.
The watchdog timer will be refreshed.
WDT
7 Examples of Practical Programs
7.3 Program That Uses Data History Function
*2
*2
*3
*3
*3
*3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents