Transferring Data Between The Slc Processor And Port Dh485 - Allen-Bradley SLC 500 BASIC User Manual

Hide thumbs Also See for SLC 500 BASIC:
Table of Contents

Advertisement

4-16
Programming Overview
SLC Processor
Publication 1746-UM004A-US-P

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.
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.
Figure 4.5 Data Flow Between the SLC processor and Port DH485 of the Module
PRINT
ASCII OUTPUT
CALL 28
CALL 27
CALL 118
ASCII INPUT
INPUT
BASIC INPUT
CALL 14/15
BUFFER
BASIC
OUTPUT
CALL 24/25
BUFFER
256 bytes
QUEUE
256 bytes
QUEUE
CALL 90/92
INTERFACE INPUT
CALL 84
OUTPUT FILE
CALL 91/93
CALL 85
1746-BAS or 1746-BAS-T Module
COMMON
256 bytes
FILE
COMMON
256 bytes
INTERFACE
PORT DH485

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Slc 500 basic-t1746-bas1746-bas-t

Table of Contents