394
8 APPLICATION INSTRUCTION
8.3 Program Execution Control Instruction
Resetting the watchdog timer
WDT(P)
These instructions reset the watchdog timer in a program.
Processing details
• These instructions reset the watchdog timer in a program.
• These instructions are used when the scan time exceeds the value set for the watchdog timer depending on the condition.
If the scan time exceeds the value set for the watchdog timer every scan, change the setting of the watchdog timer in the
parameter setting of the engineering tool.
• Design a program so that t1 from the step 0 to the WDT(P) instruction and t2 from the WDT(P) instruction to the END
(FEND) instruction do not exceed the setting value of the watchdog timer.
• The WDT(P) instruction can be used more than once in one scan. However, note that turning off the output takes some time
if an error occurs.
Precautions
• The time of the watchdog timer can be changed in the [RAS] tab of [CPU Parameter]. The default value is 200 ms.
• By overwriting the contents of SD8000 (watchdog timer time), the watchdog timer detection time can be changed using a
program. When the program shown below is input, the sequence program will be monitored with the new watchdog timer
time.
Operation error
There is no operation error.
Ladder diagram
Structured text
ENO:=WDT(EN);
ENO:=WDTP(EN);
FBD/LD
(1): Watchdog timer time: 300 ms
(2): Refreshes the watchdog timer.
If the WDT instruction is not programmed, the value of SD8000 is valid during END processing.
EN
ENO
WDT
END (FEND)
t1
t2
Step 0
SD8000
K300
MOV
WDT
SM402
(1)
Initial pulse
(2)
Summary of Contents for MELSEC iQ-F FX5
Page 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 17: ...15 CONTENTS ...
Page 24: ...22 MEMO ...
Page 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Page 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Page 1107: ...I 1105 MEMO ...
Page 1111: ......