Enabling And Disabling The Ports; Using The Asynchronous Mode Of Operation - Racal Instruments 1256 Manual

Switching system
Table of Contents

Advertisement

Publication No. 980855 Rev. A
Enabling and
Disabling the Ports
Using the
Asynchronous
Mode of Operation
EADS North America Test and Services
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
The DIGITAL:OUTPUT:STATE command is used to enable or
disable the output drivers on one or more ports of the 1260-114
module. The 1260-114OC and 1260-114HVOC modules have
open collector outputs, and so this command has no effect.
This command affects the ports used in either the synchronous or
the asynchronous mode of operation.
The command uses the syntax:
:DIGital
:OUTPut
:STATe <port list> , { ON | OFF | 1 | 0 }
Examples of the command are shown below.
Enable port 11 of module 7 as an output:
DIG:OUTP:STATE (@7(11)),ON
Disable ports 3 and 6 of module 7:
DIG:OUTP:STATE (@7(3,6)),OFF
Enable port 0 of module 7 and port 3 of module 8:
DIG:OUTP:STATE (@7(0),8(3)),ON
Enable ports 1 through 4, and port 6 of module 7, and ports 2
through 10 of module 8:
DIG:OUTP:STATE (@7(1:4,6),8(2:10)),1
Disable port 3 of the module whose name is "digio":
DIG:OUTP:STATE (@digio(3)),off
The syntax for the asynchronous mode commands is shown
below:
:DIGital
:OUTPut
[:DATA] <port list> , <data list>
The DIGITAL:OUTPUT command is used to output data to one or
more ports on the 1260-114 modules.
The <port list> defines which port or ports to be written.
The <data list> is a list of comma-separated numeric values, each
1256 User Manual
:INPut? <port list>
Digital Module Operation 7-5

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

407734

Table of Contents