Set block-transfer-write length – call 4, Set block-transfer-read length – call 5, Update block-transfer-write buffer – call 6 – Rockwell Automation 1771-DB Basic Module User Manual - Series A User Manual

Page 91: Update block-transfer-read buffer – call 7, Disable interrupts – call 8

Advertising
background image

Operating Functions

Chapter 5

5–54

This routine sets the number of words (1–64) to transfer between the
BASIC Module and the host processor. The processor program
block-transfer length must match the set value. Only one argument is input
(the number of words to BTW) and none returned. If not used, the default
length is 5 words.

Example:

u10 PUSH 10:

u20 CALL 4

This routine sets the number of words (1–64) to transfer between the
BASIC Module and the host processor. The processor program
block-transfer length must match the set value. Only one argument is input
(the number of words to BTR) and none returned. If not used, the default
length is 5 words.

Example:

u10 PUSH 10

u20 CALL 5

This routine transfers the block-transfer-write (BTW) buffer of the
auxiliary processor on the BASIC Module to the BASIC BTW buffer. This
routine waits until a block-transfer occurs if one has not previously
occurred.

This routine transfers the block-transfer-read (BTR) buffer to the auxiliary
processor on the BASIC Module for use in the next BTR request from the
host processor. This routine waits until a block-transfer occurs.

Important: You must use an Interrupt Control CALL 8 before a PROG
command to disable interrupts.

This routine disables system interrupts. It is mandatory for PROM
programming. The wall clock cannot be accessed and the peripheral port is
disabled by this call. Some call routines enable interrupts automatically
upon completion.

5.7.3
Set Block-Transfer-Write
Length – CALL 4

5.7.4
Set Block-Transfer-Read
Length – CALL 5

5.7.5
Update Block-Transfer-Write
Buffer – CALL 6

5.7.6
Update Block-Transfer-Read
Buffer – CALL 7

5.7.7
Disable Interrupts – CALL 8

Advertising