52
PC Watchdog Timer
Section 4-7
4-7
PC Watchdog Timer
The CompoNet Master Board has the PC Watchdog Timer (PC WDT)
function. This is used to stop the communications automatically whenever the
user application, by which the Board is controlled, stops. While the PC WDT
function is enabled, the communications automatically stops unless the user
application updates the timer value within a specified timeframe. The user
application must be set so that the timer value for the PC WDT is refreshed
periodically, and the correct operation is notified to the Board.
Here is the procedure by which to use the API function and enable the PC
WDT on the Board.
Loop Start
(Open Board)
CPNT_Open
Final processing
Loop End
(Close Board)
CPNT_Close
Initial processing
I/O process and so on
(Start Communications cycles)
CPNT_StartCycle
(Enable PC WDT)
CPNT_EnablePCWDTTimer
(Refresh PC WDT value)
CPNT_RefreshPCWDTTimer
(Disable PC WDT)
CPNT_EnablePCWDTTimer
(Stop Communications cycles)
CPNT_StopCycle
Summary of Contents for 3G8F7-CRM21
Page 4: ...iv...
Page 10: ...x TABLE OF CONTENTS...
Page 46: ...26 Connecting the Communications Power Supply Cables Section 2 4...
Page 74: ...54 Board Hardware Error Notification Section 4 8...
Page 173: ...153 APPENDIX D Sample Program D 1 Sample Program 154...
Page 230: ...210 Wiring for Power Supply Section E 5...
Page 234: ...214 Index...
Page 236: ...216 Revision History...
Page 237: ......