Rockwell Automation 1746-BAS BASIC LANGUAGE User Manual

Page 222

Advertising
background image

Publication 1746-RM001A-US-P

13-32 Input Functions

5.

5.

5.

5. The module sets the input file word 0, bit 10 to inform the SLC processor that

valid data and status are available.

6.

6.

6.

6. The SLC retrieves the data and status from the buffer and resets output file

word 0, bit 10 to inform the module that data was received.

7.

7.

7.

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

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

The SLC processor must not set, then reset, the output file word 0, bit 10 on the
same ladder logic cycle. If this occurs, the module may miss the bit being set.

This CALL is active until it is re-executed with different input parameters.

This CALL has ten input arguments and one output argument.

The first input argument is the type of PLC READ command issued:

0 – Disable the previously executed CALL

2 – Common interface file - PLC-2 unprotected READ command

3 – PLC-3 file - word range READ command

5 – PLC-5 file - typed READ command

The second input argument is the node address of the remote PLC device (0
through 255). If the number is not within this range, the status equals 2 and the
read message does not occur.

SLC Processor

SLC Backplane

BASIC or BASIC-T Module

Input File

Word 0, Bit 10

SLC Processor

SLC Backplane

BASIC or BASIC-T Module

Reset Output File

Word 0, Bit 10

SLC Processor

SLC Backplane

BASIC or BASIC-T Module

Reset Input File

Word 0, Bit 10

Advertising