Siemens CPU 948 Programming Manual page 296

Simatic s5 s5-155u
Table of Contents

Advertisement

OB 181: Test Data Blocks (DB/DX)
Result
Possible errors
Table 6-17
Error codes of OB 181 and their scans
RLO CC 1 CC 0
1
0
1
1
1
0
1
1
0
6 - 58
If the function is executed without any error and if the block exists on
the CPU, the system program transfers the following values:
- ACCU-1-L:
- ACCU-2-L:
- RLO:
The errors listed in the table below can occur. If an error occurs, the
system program sets the RLO to '1' and the following condition code
bits as shown in the table. It also enters an error ID in ACCU-1-L.
ACCU-1-L Meaning
B501H
Block does not exist
B502H
Wrong block number
B503H
Wrong block ID
Address of the 1st data word (DW 0),
20-bit address,
Length of the data block in words (without
block header)
Example: ACCU-2-L contains the value'7':
The data block consists of data
words DW 0 to DW 6,
= 0.
CPU 948 Programming Guide
Scan
JC
JM
JN
JC
JP
JN
JC
JP
JN
C79000-G8576-C848-04

Advertisement

Table of Contents
loading

Table of Contents