17 read – ADLINK ND-6021 User Manual
Page 47
Command Set
• 41
3.17 Read
@Description
Read command leading code setting and host watchdog status.
@Syntax
~(Addr)0
~
Command leading code.
(Addr)
Address ID
0
Read command leading code setting.
@Response
!(Addr)(Status)(C1)(C2)(C3)(C4)(C5)(C6)
or
?(Addr)
!
Command is valid.
?
Command is invalid.
(Addr)
Address ID.
(Status)
(2-character)
Bit 0 : Reserved
Bit 1 : Power failure or watchdog failure
Bit 2 : Host watchdog is enable
Bit 3 : Host failure
(C1)
Leading code 1, for read configuration status,
firmware version, etc. default is $. (1-character)
(C2)
Leading code 2, for read synchronize sampling,
digital output ,default is #. (1-character)
(C3)
Leading code 3, for change configuration.
default is %. (1-character)
(C4)
Leading code 4, for read alarm status, enable alarm,
etc. default is @. (1-character)
(C5)
Leading code 5, for read command leading code,
change command leading code, etc. default is ~.
(1-character)
(C6)
Leading code 6, this leading code is reserved. default
is *. (1-character)