Transfer data between the slc processor and the, Status information for the slc processor -19, Status information for the slc processor – Rockwell Automation 1746-BAS-T SLC 500 Basic Basic-T Modules User Manual

Page 67

Advertising
background image

Publication 1746-UM004B-EN-P - December 2005

Programming Overview 4-19

Transfer 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
that 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:

• I:e. 0/13 = 0 battery OK, 1 battery low
• I:e. 0/15 = 0 module in Run mode, 1 module in Command mode

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...207 of the
module input buffer.

CALL 54

Transfers words 200...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...163 of the module input
buffer.

CALL 57

Transfers words 100...163 of the module output buffer to the CPU M1 file.

Advertising
This manual is related to the following products: