Before communicating with the ADR interface, Select File, Properties, and Click on the ASCII Setup. Ensure only the following boxes are ticked; These settings allow locally typed commands to be viewed in the connection window along with data returned from the ADR interface. You are now ready to communicate with the ADR interface. In this example the RD0 command is sent to retrieve the 12-bit analog value of AN0 on the ADR112 interface. After the button is pressed data is displayed in the connection window.
This data indicates the port is at 4.856V ( ( 3977/4095) * 5.00V ) Commands entered in the connection window are sent to the ADR interface when is pressed, and data sent from the ADR interface is displayed in the connection window. Note that some commands are non-responsive in that they do not cause a value to be returned from the ADR interface. An example is the CPAxxxxxxxx command. This command configures the individual I/O lines as input or output but no information is returned to the host computer. Once the connection is verified, interface circuitry can be manually tested using the commands in the appropriate user manual. For example, SETPA0 could be used to turn on PA0 and verify the circuitry to light an LED connected that digital I/O line, or the RD1 command could be used to read the status of analog input port AN1.