Ctrl-c] functions, Port control functions, Dh485 functions – Rockwell Automation 1747-PBASE BASIC Development Software Programming Manual User Manual
Page 130

Publication 1746-PM001A-US-P
A-8 BASIC Macro Library
[CTRL-C] Functions
The following table describes the macro CALLs used for
[Ctrl-C]
functions.
Port Control Functions
The following table describes the macro CALLs used for port control.
DH485 Functions
The following table describes the macro CALLs used during DH485 port
communications.
Table A.8 Control-C Macros
Control-C Function
Macro CALLs
Macro
Inputs
Outputs
disable_c()
Disables the
[CTRL-C]
function.
None
None
enable_c()
Enables the
[CTRL-C]
function.
None
None
Table A.9 Port Control Macros
Port Control Function
Macro CALLs
Macro
Inputs
Outputs
clear_prt1_buffers()
Clears the PRT1 input and output buffers.
None
None
clear_prt2_buffers()
Clears the PRT2 input and output buffers.
None
None
Table A.10 DH485 Macros
DH485 Function
Macro CALLs
Macro
Inputs
Outputs
wait_common_input()
Waits on the DH485 Common Interface Input File to be updated.
None
None
copy_common_to_basic_in
put(%1,%2)
Copies the DH485 Common Interface Input File to the BASIC Input buffer. %1 = File Offset
%2 = Number of
words to copy
None