ADLINK ND-6067 User Manual

Page 127

Advertising
background image

125

(Leading
Code)

Leading Code is the first characteristic of the NuDAM
command. All NuDAM commands need a command leading
code, such as %,$,#,@,...etc.
1- character

(Addr)

Module’s address ID, the value is in the range of 00 - FF
(Hexadecimal) if no specified in the following.
2- character

(Command
Variable)

Items indicate command codes or value of variables.
Variable length

[Data] Some

output command need data.

Variable length

[Checksum]

Checksum in brackets indicate optional parameter,
only checksum is enable then this field is required.
2- character

< >

Identifies a control code character, such as <CR> for carriage
return, its value is 0x0D.
1- character

6.1.2 Format of NuDAM Commands

(Leading Code)(Addr)(Command)[Data][Checksum]<CR>

When checksum is enable then [Checksum] is needed, it is 2-character.

How to calculate checksum value ?

[Checksum] = ((LeadingCode)+(Addr)+(Command)+[Data]) MOD 0x100

Example 1: checksum is disable

User Command: $012<CR>

Response: !01400600<CR>

$ :

LeadingCode

01 :

Address

2

: Command (Read Configuration)

<CR>

: Carriage return 0x0D

Advertising
This manual is related to the following products: