Chapter 6

There is no response if the module detects a syntax error or communi cation error or if the specified address does not exist.

Note: ! 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.

(datainput) a 2-character hexadecimal value representing the input values of the digital input module.

(dataoutput) a 2-character hexadecimal value which is the read back of a digital output channel or relay.

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

Example command: $33S26(cr) response: !33112200(cr)

The command asks the digital input module in slot 2 of the ADAM-5000 system at address 33h to return the values of all of its channels.

The first 2-character portion of the response indicates the address of the ADAM-5000 system.

The second 2-character (high byte) portion of the response, value 11h (00010001), indicates that digital input channels 8 and 12 are ON, channels 9, 10, 11, 13, 14 and 15 are OFF.

The third 2-character (low byte) portion of the response, value 22h (00100010), indicates that digital input channels 1 and 5 are ON, and channels 0, 2, 3, 4, 6 and 7 are OFF.

ADAM-5000

6-109

Page 174
Image 174
Advantech 5000 Series user manual Example command $33S26cr response !33112200cr