Comments
Querying the Module
Appendix D
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
•
The registers used are:
Status Register (base+04
–
Parameter Register(s) (base+0A
–
Command Register (base+08
–
Scan Status and Control Register (base+10
–
•
The parameters must be written to their registers before the
command is written. Execution begins as soon as the command is
written.
•
If the command returns data, query for it before executing the
command.
ERRFLAGS?
Some of the register-based commands return information kept by the
on-board microprocessor. When a command returns data (denoted in the
register-based command reference by the command name ending with a " ?"
character), that data will be accessed from the Query Response Register
(base+08
) as shown in Figure D-6.
16
)
16
, 0C
, 0E
)
16
16
16
)
16
)
16
Register-Based Programming
379