U511 User’s Manual Programming Commands
Version 1.1 Aerotech, Inc. 5-53
5.5.42. IOSET (Setup 8 X 3 I/O)
The IOSET command configures the 8 X 3 I/O bus as inputs or outputs. This bus is
configurable in groups of 8 bits as inputs or outputs. All ports are set as input after a
hardware reset. Output data can be written to this port (using the IO command) before the
direction is configured. See Chapter 10: Technical Details for more information. The
status of the I/O banks can be ascertained with the Secondary I/O screen under the
Diagnostics menu. Refer to Chapter 3: User Interface.
SYNTAX:
IOSET port,dir,port,dir,port,dir
port Port 0 through 2.
dir 0 for input, 1 for output.
The port to connector relationship is shown in Table 5-13.
Table 5-13. The Port to 8 X 3 I/O Connector Relationship
Port Port Bit Number 8 X 3 I/O Connector
0 Bit #7-0 24-17
1 Bit #7-0 16-9
2 Bit #7-0 8-1
EXAMPLE:
IOSET 0,1,1,0,2,0 ;Set 8 out and 16 in
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com