Download 1746-RM001A-US-P, BASIC Language Reference Manual

Transcript
Output Functions
12-29
3. The module places the status of the transaction in input file word 1, bits 0-7.
Input File Word 1
Bits 0 through 7
SLC Processor
SLC Backplane
BASIC or BASIC-T Module
4. The module sets the input file word 0, bit 11 to inform the SLC processor that
the data was transmitted, and that the status of the transfer is valid.
Input File
Word 0, Bit 11
SLC Processor
SLC Backplane
BASIC or BASIC-T Module
5. The SLC retrieves the status and resets output file word 0, bit 11. The data
buffer can be reused by the SLC processor.
Output File
Word 0, Bit 11
SLC Processor
SLC Backplane
BASIC or BASIC-T Module
6. 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.
Reset Input File
Word 0, Bit 11
SLC Processor
SLC Backplane
BASIC or BASIC-T Module
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 WRITE command issued:
• 0 - Disable the previously executed CALL
• 2 - Common interface file - PLC-2 unprotected WRITE command
• 3 - PLC-3 file - word range WRITE command
• 5 - PLC-5 file - typed WRITE command
Publication 1746-RM001A-US-P