Specifications
1260-14 User Manual
Module Specific Syntax 3-10 EADS North America Defense
Test and Services, Inc. © 1992
X<bit> with commas. Bit 0 is the LSB and bit 7 the MSB.
A "B" specifies that the output format for the data is binary. Note
that this format is unavailable in the fast byte mode to keep the
output on a single 80-character line.
An "H" specifies that the output format for the data is hexadecimal.
A "Y" causes a byte-wide (8-bit) read of the port. This is the
default if no width is specified. See Example 1 above for a sample
of a byte-wide READ command.
A "W" causes a word-wide (16-bit) read of a pair of ports. Word-
wide operations are specified on even-numbered ports only, and
read the least significant 8 bits from the even port and the most
significant 8 bits from the following odd-numbered port.
Description: This command performs an asynchronous read
from a single port or a group of consecutive ports. No handshaking
is required for this operation. This command will only read those
ports defined as asynchronous ports. It will not read from a
synchronous port. A read from a write-enabled port will return the
value that the port is currently driving. As soon as the command is
received, an immediate read of the specified port(s) occurs. The
data for each requested port is sent to the user in the order of
lowest to highest port, and with the exception of the fast mode,
data is returned in a form identical to that of a PDATAOUT.
Read operations may be performed as either a bit, byte or word
wide operation, with byte-wide being the default. In addition, on
firmware revisions 18.1 and beyond, there is a byte-wide fast
output mode available that reduces the output string size,
significantly cutting down on the data transfer time from the 1260
Option 01 to the Slot 0 controller. Data is formatted in either
decimal, hexadecimal or binary with the default being decimal.
The width and format of the output are specified as follows:
Example 1:
Assume that ports 5-11 are defined as asynchronous and are tri-
stated, port 5 is sensing a 23, port 6 is sensing a 0, port 7 is
sensing 127 and the user sends the following command:
READ 1.5-7,Y
The user would read back:
001. 1260-14 DIGITAL INPUT/OUTPUT MODULE<CR>
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com