beautypg.com

Programming examples -17, Programming examples – Rockwell Automation 1747-BSN Backup Scanner Module User Manual

Page 129

background image

Publication 1747-UM010B-EN-P - September 2003

RIO Block Transfer 7-17

5. When the RIO scanner detects that the EN bit cleared, it then

clears the EW, ST and DN or ER bits, as well as the Transmitted
Word Count/Error Code. This ensures that the status bits in the
control block are not reflecting the results of the previous block
transfer operation.

Programming Examples

IMPORTANT

To prevent configuration conflicts, it is highly
recommended that each M-file buffer (My:e.x00)
should be used by only one block transfer
instruction.

Table 7.4 Block Transfer Programming Examples

Figure 7.2, "Directional" on page 7-18

Figure 7.3, "Directional Repeating" on page 7-18

Figure 7.4, "Directional Continuous" on page 7-19

Figure 7.5, "Bi-directional Continuous" on page 7-19

Figure 7.6, "Bi-directional Alternating" on page 7-20

Figure 7.7, "Bi-directional Alternating Repeating" on page 7-20