RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
410
Ctrl Command get_input_pointer
Function Returns the present absolute position of the input pointer.
Call
InputPointer = get_input_pointer()
Result Position of the input pointer [0…(2
23
–1)].
As an unsigned 32-bit value.
Comments • The position of the input pointer corresponds to the position in RTC6 List Memory (also
in the protected “List 3” area), where the next list command is stored. The number of
still-available storage positions there can be queried by get_list_space.
• get_input_pointer returns the absolute RTC6 List Memory address (offset relative to
the start of “List 1”). The relative position referenced to the start of the respective list
area can be queried by get_list_pointer.
• Before loading a non-indexed subroutine or character set, you should use
get_input_pointer to obtain the start address if subsequent referencing is to be
performed by set_sub_pointer or set_char_pointer.
• The absolute position of the output pointer can be queried by get_status or
get_out_pointer.
• The board-specific error variables
LastError
and
AccError
, see Section ”Error
Handling”, page 130, are neither generated nor altered by get_input_pointer.
RTC4RTC6 Unchanged functionality.
RTC5RTC6 Unchanged functionality.
Version info Available as of DLL 600, OUT 600, RBF 600.
References get_list_pointer, set_input_pointer, get_list_space, get_status, get_out_pointer
Ctrl Command get_io_status
Function Returns the current state of the 16-bit digital output port on the EXTENSION 1
socket connector.
Call
IOStatus = get_io_status()
Result 16-bit value (DIGITAL OUT0…DIGITAL OUT15).
As an unsigned 32-bit value.
Comments • get_io_status is designed for use in combination with set_io_cond_list and
clear_io_cond_list. See also Section ”Example Code (Pascal)”, page 296.
• See also Section ”16-Bit Digital Input Port and 16-Bit Digital Output Port”, page 78.
RTC4RTC6 Unchanged functionality.
RTC5RTC6 Unchanged functionality.
Version info Available as of DLL 600, OUT 600, RBF 600.
References write_io_port, write_io_port_mask, set_io_cond_list, clear_io_cond_list