![background image](http://html1.mh-extra.com/html/racal-instruments/1256e/1256e_manual_3132597153.webp)
1256E User Manual
Racal Instruments
©
2002
Digital Module Operation 7-7
38,44,255,0,94,77
which indicates that port 6 read a value of 38, port 5 read a value
of 44, port 4 read a value of 255, and so on.
When data is read from an enabled output port, the data should
equal the last value written to that port using the
DIGITAL:OUTPUT command.
Using the
Synchronous Mode
of Operation
The syntax for the synchronous mode commands is shown below:
:DIGital
:SYNChronous
:STATe
<module
list>
,
{ ON | OFF |1| 0 }
:DATA <port> , <data list>
:DATA?
<port>
:INDex <port list> , <index>
:INDex?
<port
list>
:POINts
<port>
,
<number
of
points>
:POINts?
<port>
:CLEar
<port
list>
:CLOCk
[:POLarity]
<module
list>
,
{
NORMal
|
INVerted
}
:CLOCk
[:POLarity]?
<module
list>
:BUSY
[:POLarity]
<module
list>
,
{NORMal
|
INVerted}
:BUSY?
[:POLarity]?
<module
list>
The sequence for using the 1260-114 modules is as follows:
A) Use the DIGITAL:CONFIGURE command to select which
port(s) will be used in the synchronous mode of operation,
and which will be used in the asynchronous mode of
operation.
B) For each port to be used as a synchronous port, determine if
the port will be used as a synchronous input port or a
synchronous output port.
C) For each Synchronous Output Port:
1)
Use the DIGITAL:STATE command to enable the