beautypg.com

Measurement Computing Digital232 User Manual

Page 43

background image

Section 3

Command Descriptions

3.21

C#

Configuration

C0

All ports are inputs

C1

Port 1 is an output, ports 2 thru 5 are inputs

C2

Ports 1 and 2 are outputs, ports 3 thru 5 are inputs

C3

Ports 1 thru 3 are outputs, ports 4 and 5 are inputs

C4

Ports 1 thru 4 are outputs, port 5 is an input

C5

All ports are outputs

E#

Error Message

E0

No error

E1

Unrecognized command (ex. W3)

E2

Illegal command option (ex. F8)

E3

Conflict (attempt to output data to an input port)

E4

EDR overrun (EDR pulses occurred faster than data should
be transmitted to the host)

E5

ROM error (a bit or bits in the ROM have changed state,
consult the factory for further action)

E6

RAM error (a bit or bits in the RAM are not working
properly, consult the factory for further action)

F#

Data Format

F0

ASCII Hexadecimal

F1

ASCII Character

F2

ASCII Binary

F3

ASCII Decimal

F4

Binary

G#

Output Select

G0

Input and Output port data is output

G1

Only Input port data is output

G2

Only Output port data is output