Structure
Storing the user program
After programming the user program, you must load it in the user
memory of the CPU 948 (directly from the PG) or via a memory card
whose contents are copied to the user memory by an OVERALL
RESET of the CPU.
Interfaces to the
system program
Organization blocks are available as interfaces to the system program
for the special types of processing.
User memory
Code blocks
Data blocks
Organization
blocks
OB
DB
DX
PB
FB/FX
SB
FB 8
SEGMENT 1
NAME
:TRANS
0005
:L
IB
3
0006
:T
FW 200
0007
:C
DB
5
0008
:DO
FW 200
0009
:L
DW
0
000A
:T
QW
6
000B
:BE
1:
KH = 0101;
2:
KF = +120;
3:
KS = xy;
4:
KY = 4.5;
5:
KG =
6:
KM =
7:
1:
KH = FFFF;
2:
KH = FFFF;
3:
KH = FFFF;
4:
KH = FFFF;
5:
KH = FFFF;
6:
KH = FFFF;
7:
STEP 5
operations
static or dynamic data
(bits, bytes, words, double words)
static or dynamic data
(bits, bytes, words, double words)
STEP 5
operations
STEP 5
operations
STEP 5
operations
Program
blocks
Function
blocks
Sequence
blocks
&
&
= 1
I 1.5
I 1.6
I 1.4
I 1.3
Q 3.1
= 1
F 50.1
F 50.2
F 50.3
Q 5.3
F 1.7
I 2.6
S
R
Q
I 1.3
User program
Fig. 1-2
Structure of a STEP 5 user program
The Programs in a CPU
CPU 948 Programming Guide
1 - 10
C79000-G8576-C848-04
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 ...