Synchronous And Asynchronous Example - Racal Instruments 1256 Manual

Switching system
Table of Contents

Advertisement

1256 User Manual
Synchronous and
Asynchronous
Example
Digital Module Operation 7-16
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
To illustrate a command sequence, assume module 7 is a 1260-
114 module. The following command sequence may be used to:
A)
Select ports 0 and 1 as synchronous output ports.
B)
Select ports 2 and 3 as synchronous input ports.
C)
Select ports 4, 5, 8, and 9 as asynchronous output ports.
D)
Select ports 6, 7, 10, and 11 as asynchronous input ports.
E)
Output values 1, 2, 3, 4 to port 0 in synchronous mode.
F)
Output values 10, 20, 30 to port 1 in synchronous mode.
G)
Read 5 data bytes from port 2 in synchronous mode.
H)
Read 256 data bytes from port 3 in synchronous mode.
I)
Output the value 44 to port 4, 55 to port 5, 88 to port 8, and
99 to port 9 in asynchronous mode.
J)
Input a byte from ports 6, 7, 10, and 11 in asynchronous
mode.
Resets the 1260-114 modules to power-up defaults:
*RST
Enable ports 0, 1, 4, 5, 8, and 9 as output ports. Others are
defaulted (by *RST) as input ports:
DIG:STATE (@7(0,1,4,5,8,9)),ON
Sets ports 0 to 3 as synchronous, ports 4 to 11 as asynchronous:
DIG:CONF (@7(4))
Loads the data bytes 1, 2, 3, and 4 into port 0 buffer:
DIG:SYNC:DATA (@7(0)),1,2,3,4
Loads the data bytes 10, 20, and 30 into port 1 buffer:
DIG:SYNC:DATA (@7(1)),10,20,30
Set the number of points to 5 for port 2:
DIG:SYNC:POINTS (@7(2)),5
Set the number of points to 256 for port 3:
DIG:SYNC:POINTS (@7(3)),256
Outputs 44 to port 4, 55 to port 5, 88 to port 8, and 99 to port 9:
DIG:OUTPUT (@7(4,5,8,9)),44,55,88,99
Publication No. 980855 Rev. A
EADS North America Test and Services

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

407734

Table of Contents