Rockwell Automation 1746-BAS BASIC LANGUAGE User Manual

Page 158

Advertising
background image

Publication 1746-RM001A-US-P

12-8 Output Functions

6.

6.

6.

6. The SLC retrieves the status and resets output file word 0, bit 11. The data

buffer can be reused by the SLC.

7.

7.

7.

7. The module resets the input file word 0, bit 11 on the same end of scan cycle

in which the output file word 0, bit 11 was reset.

Once this CALL is active, it will remain active and will send data to the remote
node whenever the SLC processor sets output file word 0, bit 11.

This CALL has ten input arguments and one output argument.

The first input argument is the type of SLC WRITE command issued:

0 - Disable the previously executed CALL 28

1 - Common Interface File Write

2 - SLC Typed Write

The second input argument is the node address of the SLC remote device on the
DH485 network (0 through 31). If the number is not within this range, the status
equals 2 and the write message does not occur.

The third input argument is the file number on the SLC remote device (0 through
255). If the number is not within this range, the status equals 2 and the write
message does not occur. The parameter is ignored if the Common Interface File is
chosen in the first parameter. The CIF is always file 9.

The fourth input argument is the file type to be written to the remote device. This
number is ignored if the CIF is chosen in the first parameter (assumes integer file).

Input File

Word 0, Bit 11

SLC Processor

SLC Backplane

BASIC or BASIC-T Module

Reset Output File

Word 0, Bit 11

SLC Processor

SLC Backplane

BASIC or BASIC-T Module

Reset Input File

Word 0, Bit 11

SLC Processor

SLC Backplane

BASIC or BASIC-T Module

Advertising