Publication 1746-UM004A-US-P
Programming Overview 4-17
In addition, the commands in the following table provide status of the data transfer
between the SLC processor and port DH485 of the module.
For more information regarding the use of these commands, refer to the BASIC
Language Reference Manual (publication number 1747-RM001A-US-P).
Transferring Data Between the SLC Processor and the Module
Use the module to interface with the SLC processor. For example, the module
performs large mathematical calculations for the processor which the SLC
processor uses to execute an operation. The commands in the following table are
used to transfer data either to or from the SLC processor.
Status Information for the SLC Processor
Input image word 0 for the module slot contains two status bits. One status bit
informs the SLC processor of the mode the module is presently in. The other status
bit informs the SLC processor of the battery status. These status bits are as follows:
• I:e. 0/13 = 0battery OK
= 1 battery low
• I:e. 0/15 = 0module in Run mode
= 1 module in Command mode
Table 4.13 Status and Control Commands
Command Purpose
MODE Sets the port parameters of PRT1, PRT2, and DH485.
CALL 86 Checks the remote write status of the DH485 common interface file.
CALL 87 Checks the remote read status of the DH485 common interface file.
Table 4.14 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 its 16-bit binary representation.
CALL 53 Transfers the eight words in the CPU output image table to words 200 through 207
of the module input buffer.
CALL 54 Transfers words 200 through 207 of the module output buffer to the CPU input
image table.
CALL 56 Transfers the words in the CPU M0 file to words 100 through 163 of the module
input buffer.
CALL 57 Transfers words 100 through 163 of the module output buffer to the CPU M1 file.
Spare Allen-Bradley Parts