G DB/GX DX
Generating a data block
The operation G DBx generates a DB data block with the number x
(2
≤
x
≤
255) in the user memory of the CPU. The content of the data
block is not assigned the value 0, i.e. the data words can have any
contents.
Before programming this statement, you must store the number of data
words that the new DB is to have in ACCU-1-L. The operation
"G DB" or "GX DX" creates the block header. A data block generated
in this way (without block header) can occupy a maximum of 4091
words. You can generate longer data blocks using OB 125 (refer to
Section 6.5).
If the data block already exists, the length of the DB is not permitted
or there is not enough space in the DB-RAM, the system program
calls OB 34. If this is not loaded, the CPU goes to the stop mode.
The GX DXx operation generates a DX data block in the DB-RAM
and is otherwise the same as G DBx.
NOP/display/stop operations
Operation
Operand
Function
N O P 0
N O P 1
–
No operation
No operation
B L D
0 to 255
130
131/131/133
255
Display generation operation for the PG:
the CPU handles the operation like a no operation
Create blank line with carriage return
Switch over between STL, CSF, LAD
S T P
–
At end of cycle or at end of OB 1, CPU changes to soft STOP.
Note
Since the operation STP is only effective at the end of the cycle,
there is no ISTACK entry. The cause of the stoppage is then
difficult to find afterwards.
To make diagnosis easier, you should set an identifier before
calling the STP operation, e.g. a special bit pattern in a diagnostic
DB or use the STEP 5 operation STS (refer to Section 3.5.4).
Table 3-10
NOP/display/stop operations
Basic Operations
CPU 948 Programming Guide
C79000-G8576-C848-04
3 - 33
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 ...