beautypg.com

Program file 3 – Rockwell Automation 1747-BSN Backup Scanner Module User Manual

Page 107

background image

Publication 1747-UM010B-EN-P - September 2003

Module Control and Status Word 6-11

Program File 3

0000

MOV

Move
Source

M1:1.3410

?<
Dest

B3:3

0000001001100000<

MOV

0001

B3:3

0

COP

Copy File
Source #M1:2.3500
Dest

#N12:0

Length

128

COP

B3:4

0

0002

B3:3

1

COP

Copy File
Source #M1:2.3628
Dest

#N12:128

Length

128

COP

B3:4

1

0003

MOV

Move
Source

B3:4

0010000001000000<
Dest

M0:1.3411

?<

MOV

0004

END

The following rungs are meant to be executed only when this processor/1747-BSN in the backup mode. When the processor is acting as the
backup processor, this rung copies the Data Table Status Word (DTSW) to an internal storage word (B3:3) within this SLC processor.

Virtual And Actual DTSWs

This rung copies the new Data Block #1 data from the secondary 1747-BSN to a file within the secondary processor. When the copy is
complete, the Data Table Handshake Word (DTHW) for Data Block #1 (B3:4/0 = M0:1.3411/0) must be set to inform the secondary 1747-BSN
that the secondary processor has received the latest Data Block and is now ready for the next block of data via Data Block #1.

Virtual DTSW Bit For Data Block #1

Virtual DTHW Bit For Data Block #1

This rung copies the new Data Block #2 data from the secondary 1747-BSN to a file within the secondary processor. When the copy is
complete, the Data Table Handshake Word (DTHW) for Data Block #2 (B3:4/1 = M0:1.3411/1) must be set to inform the secondary 1747-BSN
that the secondary processor has received the latest Data Block and is now ready for the next block of data via Data Block #2.

Virtual DTSW Bit For Data Block #2

Virtual DTHW Bit For Data Block #2

VIRTUAL AND ACTUAL DTHWs