![background image](http://html1.mh-extra.com/html/racal-instruments/1260-14c/1260-14c_manual_3123631046.webp)
User Manual 1260-14C
Module Specific Syntax 3-23
byte-wide asynchronous write.
A "W" causes a word-wide (16 bit) write to pairs of ports. Word-
wide operations are specified on even-numbered ports only, and
place the least significant 8 bits in the even port and the most
significant 8 bits in the following odd-numbered port. Word-wide
operations may not be mixed with bit or byte-wide operations in
either the even or odd port.
Example 2:
Assume that ports 5-11 are defined as asynchronous and the user
sends the following command:
WR 1.8,W,H23A7
At the end of command execution, port 8 would be
actively driving a hex 23 and port 9 would be driving
hex A7.
An "X" specifies a bit-wide write to the ports. Any of the 8 bits
within a port may be set to 0 (Low) or 1 (High) by using the form
Lx or Hx, where x is the bit (0-7) to modify within the byte. Multiple
bits within a port may be modified by separating the bit transitions
with commas. Multiple ports may be modified by separating the
changes for each port with semicolons. Bits that are not modified
remain in their previous states. When writing to a synchronous
port that was previously defined or written to using a word width,
the data buffer associated with the companion port will be cleared
and the port will be disabled in future synchronous operations until
it is redefined.
Example 3:
Assume that all ports are asynchronous, the current value of port 0
and port 1 is a binary 00000000 and the user sends the following
statements to the module:
WR 1.0-1,X,H3;H1,H7
WR 1.0-1,L3,H5;L1,H6
After the execution of the first command, port 0 would be actively
driving a binary 00001000 and port 1 would be driving a 10000010.
After the second command, port 0 would be driving a 00100000
and port 2 would be driving a 11000000. Note that in the second
command, there was no width specified since it was not required.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com