Manual

Publication 1746-UM004B-EN-P - December 2005
Programming Overview 4-17
For more information regarding the use of these commands, refer to
the BASIC Language Reference Manual, publication 1747-RM001.
Transfer Data Between the SLC Processor and Port DH485
Use port DH485 to interface the module with the DH485 network
(other SLC processors). The commands in the following table are used
to transfer data either to or from port DH485.
Command Purpose
MODE Sets the port parameters of PRT1, PRT2, and DH485.
CALL 94 Displays the current port PRT1 configuration on the program port terminal
screen.
CALL 95 Retrieves the number of characters in the input or output buffer of port PRT1.
CALL 96 Clears port PRT1 input and output buffers.
CALL 103 Prints the complete output buffer with addresses, front pointer, and number
of characters in the buffer to the program port screen.
CALL 104 Prints the complete input buffer with addresses, front pointer, and number of
characters in the buffer to the program port screen.
CALL 105 Resets the port parameters of port PRT1 to their default setting.
Command Purpose
CALL 14 Converts 16-bit signed integer located in the BASIC input buffer to BASIC
floating-point.
CALL 15 Converts 16-bit unsigned integer located in the BASIC input buffer to BASIC
floating-point.
CALL 24 Converts BASIC floating point to a 16-bit signed integer and places the result
in the BASIC output buffer.
CALL 25 Converts BASIC floating point to a 16-bit binary number and places the result
in BASIC output buffer.
CALL 27 Transfers the data from a remote DH485 data file to the SLC processor.
CALL 28 Transfers the data from the SLC processor to a remote DH485 data file.
CALL 84 Transfers the data from the DH485 common interface file to words 0 through
39 of the module input buffer.
CALL 85 Transfers words 0...39 of the module output buffer to the DH485 common
interface file.
CALL 90 Transfers the data from a remote DH485 data file to words 0...39 of the
module input buffer.