Transferring The Db1 Parameters To The Plc - Siemens SIMATIC S5-115U User Manual

Simatic s5 series cpu 941-7ub11 cpu 942-7ub11 cpu 943-7ub11 and cpu 943-7ub21 cpu 944-7ub11 and cpu 944-7ub21
Table of Contents

Advertisement

S5-115U Manual
Example:
You have entered DB1 as follows; the shaded area represents an error.
0:
KS
='DB1 TFB: OB13 100 ; SDP:';
12:
KS
=' WD 3000 ; ERT: ERR MW1 ';
24:
KS
='; END';
26:
The ISTACK indicates the following as a result of this error:
The absolute (error) address:
The relative (error) address:
To locate the error accurately in your DB1, you must convert the relative byte address given as a
hexadecimal number into a decimal word address.
The reason: The programmer counts the contents of a DB decimally and in words.
The SAC counts the contents of a DB hexadecimally and in bytes.
001C
=
28
H
D
Hexadecimal
Decimal
byte address
byte address
It follows that:
The error is in word address 14. In our example, address 14 (data word 14 and 15) is occupied by
argument "3000". The entry "3000" is an error; reason: overrange.

11.3.6 Transferring the DB1 Parameters to the PLC

The CPU processes DB1 only after manual cold restart or after automatic cold restart after power
restore.
You must perform a cold restart anytime you make changes to DB1. You can perform a cold
restart by switching from:
POWER OFF to POWER ON
or from
STOP to RUN
The programmable controller accepts the parameters from DB1 and stores them in the system
data area.
Note
The programmable controller remains in the STOP mode if a parameter assignment
error is found during start-up
ISTACK displays a DB1 addressing error.
EWA 4NEB 811 6130-02b
The decimal number at the beginning of each
input line is the word address of the first user-
programmable character in that line. Each word
consists of two characters (two bytes)
Figure 11-7. DB1 with Parameter Error
B14C
H
001C
H
28
:
D
.
The red LED lights up on the operator panel and
(absolute SAC)
(relative SAC)
2
=
14
D
D
Decimal
word address
Integral Blocks
11-53

Advertisement

Table of Contents
loading

Table of Contents