Program file 2 – Rockwell Automation 1747-BSN Backup Scanner Module User Manual
Page 106
![background image](/manuals/579353/106/background.png)
Publication 1747-UM010B-EN-P - September 2003
6-10 Module Control and Status Word
Program File 2
0000
COP
Copy File
Source #M1:1.3400
Dest
#B3:1
Length
2
COP
0001
B3:1
7
B3:2
6
B3:2
14
JSR
Jump To Subroutine
SBR File Number
U:3
JSR
0002
B3:1
6
B3:2
6
B3:2
14
JSR
Jump To Subroutine
SBR File Number
U:4
JSR
0003
END
Copy the System Status Word (SSW) and the Module Status Word (MSW) from the 1747-BSN module to internal storage words in the SLC
processor every program scan. Bits 6 and 7 of the SSW indicate whether this processor is primary of secondary at any given time. Bits 6 and
14 of the MSW indicate whether the local or remote system is in primary or secondary mode, respectively. Virtual SSW ans MSW
words/bits are used to minimize M-file transfers, thereby minimizing their effects on the program scan.
This rung executes subroutine number 3 when the local system is in the secondary mode. Subroutine 3 contains logic which must be
executed to properly transfer HSSL data from the secondary 1747-BSN to the secondary SLC processor.
SSW Bit
1 = Local System In
Primary Mode
MSW Bit
1 = Local System In
Primary Mode
MSW Bit
1 = Remote System In
Primary Mode
This rung executes subroutine number 4 when the local system is in the primary mode. Subroutine 4 contains logic which must be executed
to properly transfer HSSL data from the primary 1747-BSN to the primary SLC processor.
SSW Bit
1 = Local System In
Primary Mode
MSW Bit
1 = Local System In
Primary Mode
MSW Bit
1 = Remote System In
Primary Mode