Ob 126: Define, Transfer Process Images - Siemens CPU 948 Programming Manual

Simatic s5 s5-155u
Table of Contents

Advertisement

OB 126: Define, Transfer Process Images

6.6

OB 126: Define, Transfer Process Images

Function
Parameters
Function no.
6 - 20
Each time the cycle is run through, the system program updates the
process image of the digital inputs and outputs and IPC flags. The
inputs, outputs and IPC flags included in the process image are stored
in system data block DB 1 (refer to Chapter 10).
With OB 126, you can use additional process images.
Using OB 126, you can program up to four further process images in
addition to the process image in DB 1 during a COLD RESTART.
These additional process images can be read in and output with the
STEP 5 program at any program execution level.
1. Data field
6 flags with the following structure:
Bit no.
7
FY n
FY n+1
FY n+2
FY n+3
FY n+4
Data word no. of the first ID word
FY n+5
Parameters of the data field:
With the function number, you stipulate which job OB 126 is to
perform (refer to the table).
Permitted values:
1 to 5
Function no. Function
1
Read in the process image of the digital inputs
2
Output the process image of the digital outputs
3
Read in the process image of the IPC input flags
4
Output the process image of the IPC output flags
5
Set up system internal address list (analogous to
DB 1)
(only permitted in COLD RESTART OB 20)
Function no.
Address list no.
Block type
Block number
in the address list
CPU 948 Programming Guide
C79000-G8576-C848-04
0

Advertisement

Table of Contents
loading

Table of Contents