RTC
®
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
559
Ctrl Command write_io_port
Function writes a value to the 16-bit digital output port on the EXTENSION 1 connector.
Call
write_io_port( Value )
Parameter
Value
16-bit output value (DIGITAL OUT0 … DIGITAL OUT15) as an unsigned 32-bit
value (only the least significant 16 bits are evaluated).
Comments • Use the commands set_io_cond_list and clear_io_cond_list to set/clear individual bits
of the 16-bit digital output port, depending on the state of the input port.
•The write_io_port_mask and write_io_port_mask_list commands also allow
changing selectable bits of the16-bit digital output port as desired.
• Also see section "16-Bit Digital Output Port", page 203.
RTC
®
4
RTC
®
5 unchanged functionality
References write_io_port_list, write_io_port_mask, write_io_port_mask_list, set_io_cond_list,
clear_io_cond_list, get_io_status
Delayed Short
List Command
write_io_port_list
Function same as write_io_port (see above), but a list command
Call
write_io_port_list( Value )
Parameter
Value
16-bit output value (DIGITAL OUT0 … DIGITAL OUT15) as an unsigned 32-bit
value (only the least significant 16 bits are evaluated).
Comments • See write_io_port.
RTC
®
4
RTC
®
5 unchanged functionality
Ctrl Command write_io_port_mask
Function writes those bits of
Value
specified by the
Mask
parameter to the 16-bit digital output port
on the EXTENSION 1 connector.
Call
write_io_port_mask( Value, Mask )
Parameters
Value
16-bit output value (DIGITAL OUT0 … DIGITAL OUT15) as an unsigned 32-bit
value (only the least significant 16 bits are evaluated)
Mask
16-bit mask (for DIGITAL OUT0 … DIGITAL OUT15) as an unsigned 32-bit
value (only the least significant 16 bits are evaluated)
Comments • The
Mask
parameter determines which bits of the 16-bit digital output port are to be
altered, the
Value
parameter determines how they are altered. All bits of the 16-bit
digital output port that weren’t set in
Mask
will remain unaltered, i.e. they will be
outputted again as previously.
•For
Mask
= 0xFFFF, write_io_port_mask behaves like write_io_port.
• Also see section "16-Bit Digital Output Port", page 203.
RTC
®
4
RTC
®
5new command
Version info Available beginning with version DLL 517, OUT 516, RBF 512
References write_io_port, write_io_port_mask_list