Introduction
This application note demonstrates how to transfer ASCII data to an
SLC 5/02 or later processor by using a remote SLC 500 BASIC
module. An example shows how to transfer a maximum of 10
ASCII characters to an SLC 5/03 processor.
General Information
M-files cannot be accessed from a module in a remote I/O chassis.
Therefore, the BASIC module (Catalog Number 1746-BAS) is
limited to its 8 input and 8 output image words for data transfer
between itself and the SLC 5/02 or later processor. The first three
words of the I/O image are reserved for handshake bits, status, and
character count respectively. So, only 5 input and 5 output words are
available for actual data transfers. In addition, since a total of 8
words of image are used, they must be block transferred because
they do not fit in the image allocated in the Remote I/O Adapter
module (Catalog Number 1747-ASB).
To keep the BASIC programming to a minimum and the throughput
to a maximum, CALL 22 is used to transfer data from PRT1 on the
BASIC module to the SLC 5/03 processor in this case. CALL 22
operates on an interrupt basis, so the throughput of data from PRT1
to the backplane is 10 ms or less. To calculate overall throughput for
your specific system, consult your Remote I/O Adapter User Manual
(Publication 1747-6.13) and your Remote I/O Scanner User Manual
(Publication 1747-6.6).
If you also wish to transfer data from a SLC 5/02 or later processor
to a BASIC module in a remote I/O chassis, please refer to the
BASIC Language Reference Manual (Publication 1746-6.3) and
refer to the section on CALL 23.
Leave a comment
Your email address will not be published. Required fields are marked *