Call 6: block-transfer-write buffer, Call 7: block-transfer-read buffer – Rockwell Automation 1771-DB BASIC MODULE User Manual
Page 195

Chapter
Call Routines 0–68
12
12 -5
Use this routine to receive data from the PLC processor. CALL 6 transfers
the block-transfer-write (BTW) buffer to the auxiliary processor on the
BASIC module for use in the next BTW request from the PLC processor.
This routine halts BASIC execution until a block-transfer write occurs.
Whenever this call is active bit 1 (the sync BTW bit) of the PLC input
image table is set. You can use this bit to trigger a BTR rung. If you are
using CALLs 33, 34, 49, 50, 118, 122, or 123 you must use these bits to
perform synchronous block transfers. Synchronous block transfer is only
supported in PLC-5 processors. Only use the sync BTW bit with a PLC-5
processors.
Input and Output Arguments
This routine has no input or output arguments.
Syntax
CALL 6
Example
> 10 CALL 6
Use this routine to send data to the PLC processor. CALL 7 transfers the
block-transfer-read (BTR) buffer to the auxiliary processor on the BASIC
module for use in the next BTR request from the PLC processor. This
routine halts BASIC execution until a block-transfer read occurs.
Whenever this call is active bit 2 (the sync BTR bit) of the PLC input
image table is set. You can use this bit to trigger a BTR rung. If you are
using CALLs 33, 34, 49, 50, 118, 122, or 123 you must use these bits to
perform synchronous block transfers. Synchronous block transfer is only
supported in PLC-5 processors. Only use the sync BTR bit with a PLC-5
processors.
Input and Output Arguments
This routine has no input or output arguments.
Syntax
CALL 7
Example
> 10 CALL 7
CALL 6: Block-Transfer-
Write Buffer
CALL 7: Block-Transfer-
Read Buffer