ADLINK ND-6054 User Manual
Page 67
Command Set
• 59
Example 2: checksum is enable
User Command: $012B7<CR>
Response: !01400600AC<CR>
$ :
LeadingCode
01 :
Address
2 : Command (Read Configuration)
B7 : Checksum value
<CR> : Carriage return 0x0D
‘$’ = 0x24
‘0’ = 0x30
‘1’ = 0x31
‘2’ = 0x30
B7 = ( 0x24 + 0x30 + 0x31 + 0x32 ) MOD 0x100
‘!’ = 0x24
‘0’ = 0x30
‘1’ = 0x31
‘4’ = 0x34
‘6’ = 0x36
AC = ( 0x24 + 0x30 + 0x31 + 0x34 + 0x30 + 0x30 + 0x36 + 0x30
+ 0x30 ) MOD 0x100
Note : 1.There is no spacing between characters.
2. At end of command need a <CR> carriage return 0x0D.
3. Checksum is optional parameter.
3.1.4 Response of NuDAM Commands
The response message depends on NuDAM command. The response is
also composed with several characteristics, including leading code,
variables, and carriage return for ending. There are two kinds of leading
code for response message, ”!“ or ”>“ means valid command and ”?“ means
invalid. By checking the response message, user can monitor the command
is valid or invalid.
Note : Under the following conditions, there will have no response
message.
1. The specified address ID is not exist.
2. Syntax error.
3. Communication error
4. Some special commands does not have response.