EasyManuals Logo

Siemens CPU 948 User Manual

Siemens CPU 948
548 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #255 background imageLoading...
Page #255 background image
6.5 OB 125: Generate STEP 5 Blocks
Function
With OB 125, you can generate any STEP 5 blocks (logic and data
blocks) in the user memory. Generating logic blocks should, however,
be left to specialists.
The specified block is set up in the internal RAM with a block header
and block body and entered in DB 0. The block body contains random
data. For this reason, a newly generated block must first be written to
before any useful data can be read out of it.
Parameters
1. ACCU-1-LH
Block type of the block to be generated
2. ACCU-1-LL
Block number of the block to be generated
Permitted block types and numbers
ACCU-1-LH (block type) ACCU-1-LL (block number)
1 = PB
2 = SB
3 = FB
4 = FX
5 = DB
6 = DX
7 = OB
0 to 255
0 to 255
0 to 255
0 to 255
3 to 255
3 to 255
1 to 39
3. ACCU-2-L
Number of words (required block length without block header). The
maximum assignable block length is 32762 data words. At present,
approximately 2 K words can be edited with a PG.
Result
After correct and error-free processing, the system program sets the
RLO to ’0’ and clears the condition codes CC 1 and CC 0.
Note
While the blocks are actually being generated, user interrupts are
disabled: no interrupts come through.
By calling OB 125, the contents of ACCU 1 to ACCU 4 are
modified. The BR register is retained.
OB 125: Generate STEP 5 Blocks
CPU 948 Programming Guide
C79000-G8576-C848-04
6 - 17

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens CPU 948 and is the answer not in the manual?

Siemens CPU 948 Specifications

General IconGeneral
BrandSiemens
ModelCPU 948
CategoryController
LanguageEnglish

Related product manuals