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)
Содержание MELSEC iQ-F FX5
Страница 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Страница 2: ......
Страница 17: ...15 CONTENTS ...
Страница 24: ...22 MEMO ...
Страница 25: ...23 PART 1 PART 1 OVERVIEW Part 1 consists of the following chapter 1 OVERVIEW 2 PRECAUTIONS ON PROGRAMMING ...
Страница 126: ...124 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 132: ...130 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 140: ...138 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 191: ...7 BASIC INSTRUCTIONS 7 2 Arithmetic Operation Instructions 189 7 Operation error There is no operation error ...
Страница 202: ...200 7 BASIC INSTRUCTIONS 7 2 Arithmetic Operation Instructions Operation error There is no operation error ...
Страница 278: ...276 7 BASIC INSTRUCTIONS 7 4 Bit Processing Instructions Operation error There is no operation error ...
Страница 280: ...278 7 BASIC INSTRUCTIONS 7 4 Bit Processing Instructions Operation error There is no operation error ...
Страница 915: ...18 TYPE CONVERSION FUNCTIONS 18 13 Converting DWORD to WORD 913 18 Operation error There is no operation error ...
Страница 917: ...18 TYPE CONVERSION FUNCTIONS 18 14 Converting DWORD to INT 915 18 Operation error There is no operation error ...
Страница 932: ...930 18 TYPE CONVERSION FUNCTIONS 18 26 Converting DINT to WORD Operation error There is no operation error ...
Страница 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Страница 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Страница 1107: ...I 1105 MEMO ...
Страница 1111: ......