Setup Wr Command - Racal Instruments 1260-14C Manual

1260 vxi switching card, open collector digital i/o module
Table of Contents

Advertisement

User Manual 1260-14C
SETUP WR
command
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
the user to preset the value of the port prior to the beginning
synchronous operations. Note that this may only be done while
the synchronous mode is not armed.
Syntax:
Byte: SE[TUP] <address>.WR,<port>[,Y][,
<byte>,...,<byte>]
Word: SE[TUP] <address>.WR,<port>[,W][,
<word>,...,<word>]
Bit:
SE[TUP] <address>.WR,<port>[,X][,
<bits>;...;<bits>]
<address>::= Module address of the 1260-14C (1-12)
<port>::=
Synchronous port number that is being
defined (0-11)
<byte>::=
An 8 bit value specified as either decimal
format (0-255), hexadecimal format (H0-HFF) or binary
format (B0-B11111111). Note that the "H" is required in
front of hex values and the "B" is required in front of binary
values.
<word>::=
A 16-bit value specified in either decimal
format (0-65535), hexadecimal format (H0-HFFFF) or
binary format (B0-B1111111111111111). Note that the "H"
is required in front of hex values and the "B" is required in
front of binary values.
<bits>::=
Specifies up to eight single bit transitions in
the form Lx|Hx,...Lx|Hx where x specifies which bit number
to write high (Hx) or low (Lx), and x may take the values
from 0-7. For example, SETUP 5.WR 1,X,L1,L3;H0,H1
would cause bits 1 and 3 in port 1 to go low in vector 1
followed by bits 0 and 1 going high in vector 2.
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.
A "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
is 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 for 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.
Module Specific Syntax 3-17

Advertisement

Table of Contents
loading

Table of Contents