EasyManuals Logo
Home>Allen-Bradley>Control Unit>SLC 500 BASIC

Allen-Bradley SLC 500 BASIC User Manual

Allen-Bradley SLC 500 BASIC
84 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #62 background imageLoading...
Page #62 background image
Publication 1746-UM004A-US-P
4-16 Programming Overview
Transferring 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.
Figure 4.5 Data Flow Between the SLC processor and Port DH485 of the Module
Table 4.12 Data Transfer Commands
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 through 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 through 39 of the
module input buffer.
CALL 91 Transfers words 0 through 39 of the module output buffer to a remote DH485
data file.
CALL 92 Transfers the data from a remote DH485 interface file to words 0 through 39 of
the module input buffer.
CALL 93 Transfers words 0 through 39 of the module output buffer to a remote DH485
interface file.
CALL 118 Allows unsolicited writes from a remote SLC or PLC node.
SLC Processor
256 bytes
256 bytes
PORT DH485
PRINT
CALL 28
CALL 27
CALL 118
INPUT
CALL 14/15
CALL 24/25
CALL 90/92
CALL 84
CALL 91/93
CALL 85
256 bytes
256 bytes
COMMON
INTERFACE INPUT
FILE
COMMON
INTERFACE
OUTPUT FILE
ASCII OUTPUT
QUEUE
BASIC INPUT
BUFFER
BASIC
OUTPUT
BUFFER
ASCII INPUT
QUEUE
1746-BAS or 1746-BAS-T Module

Table of Contents

Other manuals for Allen-Bradley SLC 500 BASIC

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley SLC 500 BASIC and is the answer not in the manual?

Allen-Bradley SLC 500 BASIC Specifications

General IconGeneral
BrandAllen-Bradley
ModelSLC 500 BASIC
CategoryControl Unit
LanguageEnglish

Related product manuals