Mitsubishi Electronics FX3G 사용자 설명서

다운로드
페이지 964
239
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 Series
Programming Manual - Basic & Applied Instruction Edition
8 Program Flow – FNC 00 to FNC 09
8.8 FNC 07 – WDT / Watchdog Timer Refresh
1
Introdu
ction
2
Ov
ervi
ew
3
Instruction 
Li
st
4
D
evices 
in Det
ai
l
5
Specifi
ed the
De
vice
 &
 
C
onst
ant
6
Bef
ore
 
Pr
og
ra
mmi
ng
7
Bas
ic 
Instruction
8
FN
C00-FN
C0
9
Program Fl
ow
9
FNC
10-FN
C19
Mov
e & Com
pare
10
FNC
20-FNC
29
Arith. & Lo
gi
Operati
on
8.8
FNC 07 – WDT / Watchdog Timer Refresh
Outline
This instruction refreshes the watchdog timer in a sequence program.
1. Instruction format
2. Set data
3. Applicable devices
Explanation of function and operation
When the operation cycle (time until END or FEND instruction is executed after the step 0) of a PLC exceeds 200 ms,
a watchdog timer error (indicating abnormal operation) occurs; The ERROR (ERR) LED lights, and the PLC stops.
When the operation cycle is long, insert WDT instruction in the middle of the program to avoid the watchdog timer
error.
Related device
Cautions
1. When a watchdog timer error occurs
A watchdog timer error may occur in the following cases.  To avoid the error, input a program shown below near the
head step to extend the watchdog timer time, or shift FROM/TO instruction execution timing.
1) Caution when many special extension devices are connected
In such configuration that many special extension devices (such as positioning units, cam switches, analog units
and link units) are connected, the buffer memory initialization time may become longer, thus the operation time
may become longer, and a watchdog timer error may occur.
2) Caution when many FROM/TO instructions are driven at one time
When many FROM/TO instructions are executed or when many buffer memories are transferred, the scan time
may become longer, and a watchdog timer error may occur.
3) Caution when there are many high-speed counters (software counters)
When many high-speed counters are provided and high frequency are counted at one time, the operation time
may become longer, and a watchdog timer error may occur.
Operand type
Description
Data type
There is no set data.
Oper-
and 
Type
Bit Devices
Word Devices
Others
System User
Digit Specification
System User
Special 
Unit
Index
Con-
stant
Real 
Number
Charac-
ter String
Pointer
X Y M T C S D .b KnX KnY KnM KnS T C D R U \G
V Z Modify K H
E
" "
P
There are no applicable devices.
Device
Name
Description
D8000
Watchdog timer time
Up to 32767 ms can be set in units of ms (initial value: 200 ms).
P
FNC 07
WDT
WDT
Continuous
Operation
Pulse (Single)
Operation
Mnemonic
Operation Condition
Independent Inst.
1 step
WDTP
FNC 07
WDTP
Command
input
One scan is executed.
Command
contact
Command
input
Each scan is
executed.
FNC 07
WDT
Command
contact