Chapter 6

 

hexadecimal characters represent the channels’ status.

 

Note that the numbers of channels on the ADAM-5056

 

and ADAM-5055S/5060/5068/5069 differ.

 

- A 4-character hexadecimal value is used to set the

 

channels, from 15 thru 0, of the ADAM-5056.

 

- A 2-character hexadecimal value is used to set the

 

channels, from 5 thru 0, of the ADAM-5060. Bits 6 and 7

 

always default to 0 in the ADAM-5060.

 

- A 2 character hexadecimal value is used to set the

 

channels, from 7 thru 0, of the

 

ADAM-5055S/5068/5069.

Response

>(cr) if the command was valid.

 

?aa(cr) if an invalid command has been issued.

 

There is no response if the module detects a syntax error

 

or communication error or if the specified address does

 

not exist.

 

> delimiter character indicating a valid command was

 

received.

 

? delimiter character indicating the command was

 

invalid.

 

aa (range 00-FF) represents the 2-character hexadecimal

 

address of an ADAM-5000 system that is responding.

 

(cr) is the terminating character, carriage return (0Dh)

Example

command: #15S11201(cr)

 

response: >(cr)

 

An output bit with value 1 is sent to channel 2 of a

 

digital output module in slot 1 of the ADAM-5000

 

system at address 15h - either ADAM-5056 or ADAM-

 

5055S/5060/5068/5069. Channel 2 of the digital output

 

module is set to ON.

ADAM-5000

6-111

Page 176
Image 176
Advantech 5000 Series user manual Response, Example Command #15S11201cr