Command Set

5050/5051/5052/5055/5056

 

5060/5068/5069 Digital I/O

-A 4-character value represents the output channels in sequence from 15 thru 0 in an ADAM-5056 module.

-A 2-character value represents the output channels in sequence from 5 thru 0 in an ADAM-5060 module.

-A 2-character value represents the output channels in sequence from 7 thru 0 in ADAM-5055S/5068 module. Each bit represents a channel.

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

Example command: $19S1M(cr) response: !191322(cr)

The command asks the digital output module in slot 1 of the ADAM-5000 system at address 19h to return the masking status of all of its channels.

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

The second 2-characters portion of the response, value 13h (00010011), indicates that digital output channels 8,

9 and 12 are masked, while channels 10, 11, 13, 14 and 15 are valid.

The third 2-character portion of the response, value 22h (00100010), indicates that digital output channels 1 and 5 are masked, while channels 0, 2, 3, 4, 6 and 7 are valid.

6-114

ADAM-5000

Page 179
Image 179
Advantech 5000 Series user manual Example command $19S1Mcr response !191322cr