Siemens SIMATIC S5-115U User Manual page 405

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
Table 11-9. Error Bits Set by FB239 (ERR Parameter)
Hexadecimal Value of the
ERR Parameter
00
F0
F1
F2
F4
It is also possible to renumber FB239 (DELETE)
in DB1 (see Section 11.3) or
By changing system data word 202 in the RESTART OB (OB21 or OB22) using the "T RS 202"
operation. System data word 202 must not be changed using the "DISPL. ADDR.", "TNB",
"TIR" or "TDI" operations!
Example:
The integral FB239 (DELETE) is to receive the number 53. Make sure that FB number 53 has not
already been assigned to another FB (if a user program FB has the same number as the integral
FB "DELETE", the "old" FB number is retained in system data word 202).
The number of integral FB238, which can also be changed by system data word 202, should be
retained!
High-order byte
(Number of FB "COMPR")
+238
+238
The STL program (programmed here in FB4) takes the following form:
FB4 STL
:
L
KY
238,53
T
RS
202
L
RS
202
!=F
BEB
STS
BE
EWA 4NEB 811 6130-02b
No error
No such block
Invalid block type specified in the TYPE parameter
Block exists, but has an EPROM identifier
DELETE function cannot execute because another function is in
progress (e.g. a programmer function)
Low-order byte
(Number of FB "DELETE")
+239
+53
FB4 is called by OB21 and OB22.
The numbers of FBs COMPR and DELETE are
transferred to system data word 202.
Read RS 202 (check if new number has been
accepted)
If not ... STOP!
Description
Status of
system data
word 202 after
Overall Reset
Explanation
Integral Blocks
11-31

Advertisement

Table of Contents
loading

Table of Contents