Scanlab RTC 5 PC Interface Board Installation And Operation Manual page 435

Table of Contents

Advertisement

Undelayed
set_io_cond_list
Short
List Command
Function
sets the bits of the 16-bit digital output port on the EXTENSION 1 connector that are set
in the parameter MaskSet, if the current IOvalue at the 16-bit digital input port on the
EXTENSION 1 connector meets the following condition:
((IOvalue AND Mask1) = Mask1) AND (((not IOvalue) AND Mask0) = Mask0)
(i.e. if the bits specified in Mask1 are 1 and the bits specified in Mask0 are 0).
Call
set_io_cond_list( Mask1, Mask0, MaskSet )
Parameters
Mask1,
Mask0,
MaskSet
Comments
• The command sets only those bits of the digital output port that are set in the
parameter MaskSet and leaves the other bits unchanged.
• Also see section
Execution", page
Examples
• set bit #4 of the output port (DIGITAL OUT4), if bit #0 of the input port (DIGITAL IN0)
(Pascal)
is set and bits #1 to #3 (DIGITAL IN1...3) of the input port are not set:
set_io_cond_list($0001, $000E, $0010)
• always set bit #15 of the output port (and leave the other bits unchanged):
set_io_cond_list(0, 0, $8000)
®
®
RTC
4 RTC
5 unchanged functionality
References
clear_io_cond_list, write_io_port, write_io_port_mask, get_io_status,
®
RTC
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
16-bit masks as unsigned 32-bit values
(only the least significant 16 bits are evaluated)
"16-Bit Digital Input and Output", page 49
213.
and
"Conditional Command
read_io_port
435

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RTC 5 PC Interface Board and is the answer not in the manual?

Related Products for Scanlab RTC 5 PC Interface Board

Table of Contents

Save PDF