Comments
•
The registers used are:
–
Status Register (base+04
16
)
–
Parameter Register(s) (base+0A
16
, 0C
16
, 0E
16
)
–
Command Register (base+08
16
)
–
Scan Status and Control Register (base+10
16
)
•
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
ERRFLAGS?
command.
Querying the Module
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
16
) as shown in Figure D-6.
Appendix D
Register-Based Programming 379
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com