beautypg.com

ADLINK ND-6530 User Manual

Page 81

background image

NuDAM-6521

77

5.4.20 Set Host Watchdog Timer

@Description
Set host watchdog timer, module will change to safety state when host is failure.
@Syntax
~(Addr)2(Flag)(TimeOut)00

~

Command leading code.

(Addr)

Address ID, range (00 - FF).

2

Set host watchdog timer and safe state value.

(Flag)

0 : Disable host watchdog timer
1 : Enable host watchdog timer (1-character)

(TimeOut)

Host timeout value, between this time period host must
send (Host is OK) command to module, otherwise module
will change to safety state.
Range 01 - FF. (2-character)
One unit is 100 ms
01 = 1 * 100 = 100 ms
FF = 255 * 100 = 25.5 sec

(SafeValue) 8 channels safety value of digital output channels when

host is failure. (2-character)

@Response
!(Addr)

or

?(Addr)

!

Command is valid.

?

Command is invalid.

(Addr) Address

ID

@Example

User command:

~30211200

Response:

!30

30 Address

ID

2

Set host watchdog timer and safe state value.

1

Enable host watchdog timer.

12

Timeout value. 0x12 = 18
18 * 100 = 1800 ms

00