Application example continued:
– – Sub-list 1 – –
16: KS = ’S1’; Send from CPU 1 to ..
17: KY = 002,004; .. CPU 2 (four data fields)
18: KY = 003,002; .. CPU 3 (two data fields)
19: KY = 004,000;
20: KS = S2’; Send from CPU 2 to ..
21: KY = 001,003; .. CPU 1 (three data fields)
22: KY = 003,003; .. CPU 3 (three data fields)
23: KY = 004,000;
24: KS = ’S3’;
25: KY = 001,000;
26: KY = 002,000;
27: KY = 004,000;
28: KS = ’S4’;
29: KY = 001,000;
30: KY = 002,000;
31: KY = 003,000;
Data words DW 16 to DW 31 contain the assignment list required for the
manual INITIALIZATION function (OB 200).
3. Program OB 200 call in the start-up block OB 20 for CPU 1
OB 200 is called by the OB 20 shown below in CPU 1 during the restart.
OB 20 LEN=yyABS
SEGMENT 1
0000 :L KB 2 Manual initialization of
0001 :T FY 246 the pages
0002 :
0003 :L KY 1,100 The assignment list is entered
0005 :T FW 248 in DB 100 from data word 16
0006 :L KF+16 onwards
0008 :T FW 250
0009 :
000A :L KB 246 SF OB:
000B :JU OB 200 "Initialize"
000C :
000D :AN F 252.5 Block end if there is no
000E :BEC initialization conflict
000F :
0010 : The error handling routine
0011 : is inserted here if an
0012 : initialization clonflict
0013 : occurs (e.g. stop, output
0014 : message on printer, or ...)
00xx :BE
Continued on the next page
Applications
CPU 948 Programming Guide
C79000-G8576-C848-04
10 - 79