A H 5 0 0 M o t i o n C o n t r o l M o d u l e M a n u a l
5 - 2 4
API Instruction
code
Operand
Function
07
WDT P
─
Watchdog timer
Pulse instruction
16-bit instruction (1 step)
32-bit instruction
-
E xp la nat io n
The instruction WDT is used to reset the watchdog timer in a motion
control module. If the scan time in a motion control module exceeds 200
milliseconds, the error LED indicator of the motion control module will be
ON, and users will have to disconnect the motion control module. After
the users connect the motion control module again, the module control
module will judge its state according to the setting of the “RUN-STOP”
switch. If there is no “RUN-STOP” switch, the module will stop running
automatically.
The points when a watchdog timer acts are as follows.
The system is abnormal.
The execution of a program takes much time, and therefore the scan
time is greater than the setting value in D1000. There are two ways
users can use to improve the situation.
1. Using the instruction WDT
T1
T2
O100
M102
WDT
2. Changing the value in D1000 (The default setting is 200
milliseconds.)
E xa mple
Suppose the scan time is 300 milliseconds. After the program is divided
into two parts, and the instruction WDT is inserted between these two
parts, the time it takes to scan either the first part of the program or the
second part of the program will be less than 200 milliseconds.
X0.0
300ms pr ogram
M102
M102
150ms pr ogram
150ms pr ogram
WD T
T he program is divided into tw o par ts .
T he time it takes to s can either the fi rst
part of the program or the s econd part
of the pr ogr am is less than 200 mil liseconds.
T he watc hdog ti mer is r eset.
A dditio nal
T
re mark
he instruction WDT is executed when a condition is met. Users can
make the instruction WDT executed only in one scan cycle by writing a
program. They can use the pulse instruction WDTP.
The default setting of a watchdog timer is 200 milliseconds. Users can
set a watchdog timer by means of D1000.
Содержание AH500
Страница 9: ...viii...
Страница 52: ...Chapter 2 Hardware Specifications and Wiring Wiring AH10PM 5A and a Panasonic CN5 series servo drive 2 31...
Страница 53: ...AH500 Motion Control Module Manual Wiring AH10PM 5A and a Yaskawa servo drive 2 32...
Страница 54: ...Chapter 2 Hardware Specifications and Wiring Wiring AH10PM 5A and a Mitsubishi MJR2 series servo drive 2 33...
Страница 55: ...AH500 Motion Control Module Manual Wiring AH10PM 5A and a Fuji servo drive 2 34...
Страница 115: ...AH500 Motion Control Module Manual 4 16 MEMO...
Страница 375: ...AH500 Motion Control Module Manual 5 260 MEMO...
Страница 376: ...Chapter 6 Data Transmission Table of Contents 6 1 Functions 6 2 6 2 Parameters 6 2 6 3 Usage 6 5 6 1...
Страница 383: ...AH500 Motion Control Module Manual 6 8 MEMO...
Страница 419: ...AH500 Motion Control Module Manual 7 36 MEMO...
Страница 436: ...Chapter 8 Electronic Cam 8 17...
Страница 482: ...Chapter 10 High speed Counters and High speed Timers 3 The cyclic mode is used to measure a frequency 10 7...
Страница 483: ...AH500 Motion Control Module Manual 10 8 MEMO...
Страница 505: ...AH500 Motion Control Module Manual 12 8 MEMO...
Страница 515: ...AH500 Motion Control Module Manual 13 10 MEMO...
Страница 544: ...Appendix A Error Code Table Table of Contents A 1 Error Code Table A 2 A 1...
Страница 547: ...AH500 Motion Control Module Manual A 4 MEMO...