
EDAM-4200 Series User’s manual Version 1.03
8.4.54
~AA3EVVV
Set Host watchdog timeout interval
Description: Enable/disable Host watchdog and set timeout interval (unit = 0.1sec)
Command:
~AA3EVVV [CHK](cr)
Syntax:
~
Command leading code
AA
Module address ID (01 to FF , Always 01)
3
command for setting host wdt Enable/ disable and host wdt timeout value.
E
Host watchdog enabled status
= 1 – Enable.
= 0 – Disable.
VVV
Timeout value in hex format from hex 001 to 28F .(unit 0.1 sec),
FF denotes 25.5 seconds
CHK
Check sum
(cr)
Carriage return
Response:
!AA (cr)
Valid command.
?AA[CHK](cr)
Invalid command
!
Delimiter for valid command
?
Delimiter for invalid command
AA
Module address ID
CHK
Check sum
(cr)
Carriage return
Note:
If host watchdog timer is enabled, the host should send Host OK (see “~**” or ~AA**) command periodically within
Timeout value to refresh the timer, otherwise the module will be forced to safet state (see “~AA5V”) and The
Power-LED on the module will go to flash. After timeout the all of D/O commands are disabled.
Example:
(~AA3EVVV ) Set module (ID=01) to have watchdog timeout value 20.0 seconds and enable host watchdog.
command:
~01310C8(cr) ; enable host watchdog
response:
!01(cr)
(~AA2) Read watchdog timeout value form module (ID=01). The module returns 10C8, which denotes that
the host watchdog is enabled and the host watchdog timeout value is 20.0 seconds.
command:
~012(cr)
response:
!0110C8(cr)
(~** or ~AA**) Host send this command to all modules that host and network are alive
command:
~**(cr)
; Host OK (to all modules)
or
command:
~01**(cr)
; Host OK (to the Specific module)
Stop sending any command string to modules for at least 20.0 seconds. The Power- LED on the module
will go to flash. The flash LED indicates the host watchdog is timeout and timeout status flag is set.
(~AA0) Read watchdog timeout status, the module returns 01, which denotes that a host watchdog timeout has
occurred.
command:
~010(cr)
response:
!0184(cr)
;
bit(7)=1 - Host watchdog enabled
; bit(2)=1 - indicates that a host watchdog timeout has occurred.
Printed Date: 27 February 2018
140