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
Summary of Contents for CPU 948
Page 10: ...Contents CPU 948 Programming Guide 1 2 C79000 G8576 C848 04 ...
Page 32: ...Contents CPU 948 Programming Guide 2 2 C79000 G8576 C848 04 ...
Page 72: ...Data Blocks CPU 948 Programming Guide 2 42 C79000 G8576 C848 04 ...
Page 74: ...Contents CPU 948 Programming Guide 3 2 C79000 G8576 C848 04 ...
Page 154: ...Contents CPU 948 Programming Guide 4 2 C79000 G8576 C848 04 ...
Page 200: ...Contents CPU 948 Programming Guide 5 2 C79000 G8576 C848 04 ...
Page 308: ...Contents CPU 948 Programming Guide 7 2 C79000 G8576 C848 04 ...
Page 324: ...Examples of Parameter Assignment CPU 948 Programming Guide 7 18 C79000 G8576 C848 04 ...
Page 326: ...Contents CPU 948 Programming Guide 8 2 C79000 G8576 C848 04 ...
Page 370: ...Addressable System Data Area CPU 948 Programming Guide 8 46 C79000 G8576 C848 04 ...
Page 372: ...Contents CPU 948 Programming Guide 9 2 C79000 G8576 C848 04 ...
Page 486: ...Contents CPU 948 Programming Guide 11 2 C79000 G8576 C848 04 ...
Page 522: ...PG Functions via the S5 Bus CPU 948 Programming Guide 11 38 C79000 G8576 C848 04 ...
Page 524: ...Contents CPU 948 Programming Guide 12 2 C79000 G8576 C848 04 ...
Page 538: ...Contents CPU 948 Programming Guide 13 2 C79000 G8576 C848 04 ...
Page 546: ...List of Key Words CPU 948 Programming Guide Index 6 C79000 G8576 C848 04 ...