MyAdvantechに登録

「MyAdvantech」はアドバンテックのお客様のための専用ポータルサイトです。メンバーに登録されたお客様には新製品、オンラインセミナー、eStoreでのディスカウントなどの情報を配信いたします。

メンバーに今すぐ登録!

How to Programming the Watchdog Timer

2007-08-06 Programming Document No.1-0002971

Related Product:

Solution:

  • How to Programming the Watchdog Timer

    Programming the Watchdog Timer
    To program the watchdog timer, you must write a program which writes I/O port address 443 (hex). The output data is a time interval value. The value range is from 01 (hex) to 3F (hex), and the related time interval is 1 sec. to 63 sec.

    Data Time Interval
    01 1 sec.
    02 2 sec.
    03 3 sec.
    04 4 sec.
    .
    .
    .
    3F 63 sec.

    After data entry, your program must refresh the watchdog timer by rewriting I/O port 443 (hex) while simultaneously setting it. When you want to disable the watchdog timer, your program should read I/O port 443 (hex).
    The following example shows how you might program the watchdog timer in BASIC:

    10 REM Watchdog timer example program
    20 OUT &H443, data REM Start and restart the watchdog
    30 GOSUB 1000 REM Your application task #1,
    40 OUT &H443, data REM Reset the timer
    50 GOSUB 2000 REM Your application task #2,
    60 OUT &H443, data REM Reset the timer
    70 X=INP (&H443) REM Disable the watchdog timer
    80 END
    1000 REM Subroutine #1, your application task
    .
    .
    .
    1070 RETURN
    2000 REM Subroutine #2, your application task
    .
    .
    .
    2090 RETURN

The content is too difficult to understand The content does not match the title The information is out of date It is not the information I'm looking for The content is empty Download file missing Invalid download link Download speed is slow Others

This field of information is requried

Yes No

This field of information is invalid

This field of information is requried

This field of information is requried

必須

당사는 회원 기반 서비스 제공을 위해 다음과 같이 개인정보를 수집하여 이용, 제공, 파기 합니다.

구분 수집항목 이용 목적 이용∙보유기간
1:1 문의 필수 이름, 이메일, 전화번호, 회사명, 국가, 상담내용 고객의 문의 대응 및 분쟁해결 등을 위함 소비자의 불만 또는 분쟁처리에 관한 기록: 3년
선택 제품, 시리얼넘버 효율적인 상담 대응
선택 뉴스레터 수신 동의 여부 신규 서비스/상품, 할인 이벤트 안내 법정 의무 보유 기간
アドバンテックからのニュース(新製品、イベント情報など)を購読しますか?いつでも配信停止できます。*
アドバンテックからのニュース(新製品、イベント情報など)を購読しますか?いつでも配信停止できます。 は必須です*

ご注意: 「いいえ」 を選択すると、既に登録されている場合は現在の購読が解除されます。

アドバンテックのプライバシーポリシーに従って、個人情報を取り扱うことに同意しますか? *
アドバンテックのプライバシーポリシーに従って、個人情報を取り扱うことに同意しますか? は必須です*
必須
必須