EasyManuals Logo

Siemens SIMATIC S5 Equipment Manual

Siemens SIMATIC S5
197 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 #150 background imageLoading...
Page #150 background image
R 02/92
Programming Instructions
Example:
Program in062
– Save scratchpad flags
:JU
FB157
NAME
:PER:W#T
SPDB
:
BEF
:
KSKB
ABIT
:
KYo.o
w:
!%
:
FY 191
PAFE
:
;0 F 190.0
:0 F 191.0
:JC
FB
xx
:0 F 190.1
:0 F 191.1
:JC
FByy
Program in 061
NAME
SPDB
BEF
ABIT
w
!%
PAFE
:JU
FB157
:PER:WST
KY
KSxx
KYo.o
FY 190
;A
F 190.0
:JC
FBxx
:A
F 190.1
:JC
FB
yy
KBO
FY 190
FY 191
- Load scratchpad flags
:BE
FB xx – Customer–specific interrupt program for channel 1
FB yy – Customer–specific interrupt program for channel 2
After the control bits in the interrupt–controlled program have been evaluated, they must be reset,
as otherwise the interrupt programs
(FBxx
and
FByy)
could be processed again in the cyclic pro-
gram.
Saving and loading scratchpad flags
Intheblocksfortime–controlled processing, saving and loading scratchpad flags (FY200to FY
255) and the assigned system data is absolutely
necessaty
when flags from the mentioned area
are used in these blocks.
Saving and loading must take place in a different data area from the one for process interrupts.
The same applies to an automatic or manual restart. This is not required forS5–115U or in the
event of faulty 06s.
1P
241 Equipment Manual
@
SiemenS
AG 1989, Order No.: 6ES5
998-0KD21
9 – 29
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Table of Contents

Other manuals for Siemens SIMATIC S5

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SIMATIC S5 and is the answer not in the manual?

Siemens SIMATIC S5 Specifications

General IconGeneral
Product type designationSIMATIC S5
Programming languageSTEP 5
Digital inputsVaries by model
Digital outputsVaries by model
Analog inputsVaries by model
Analog outputsVaries by model
Supply voltage24V DC
CPU TypeVaries by model
MemoryVaries by model
Digital I/OVaries by model
Analog I/OVaries by model
CommunicationPROFIBUS
Operating Temperature0°C to 60°C
Relative Humidity5% to 95% (non-condensing)

Related product manuals