EasyManuals Logo

Siemens SIMATIC S5 User Manual

Siemens SIMATIC S5
396 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 #87 background imageLoading...
Page #87 background image
S5-115F Manual Introduction to STEP 5
2.3.2 Program Blocks (PBs)
Self-contained program parts are usually programmed in blocks.
Call
Block calls JU and JC activate program blocks. You can program these operations in all block types
except data blocks. Block call and block end cause the RLO to be reloaded. However, the RLO can
be included in the ”new” block and evaluated.
The program counter (LPLZ) sequence contains the first operations for all PBs ( 3.8):
LFW0
LKF+1
•+F
TFW0
The length of a PB is calculated as follows:
Operation code max. 127 words
+ Header 5 words
+ BE operation 1 words
If the PB is longer than 127 words (operation code), a ”BLD 255 operation” with a program
counter sequence appended will appear at the latest in the 128th codeword. Interposed BLD 255
segmentation operations are unaffected by this.
2.3.3 Sequence Blocks (SBs)
Sequence blocks are special program blocks that process sequence controls. They are treated like
program blocks.
The program counter (LPLZ) sequence contains the first operations for all PBs ( 3.8):
LFW0
LKF+1
•+F
TFW0
The length of a PB is calculated as follows:
Operation code max. 127 words
+ Header 5 words
+ BE operation 1 words
If the FB is longer than 127 words (operation code), a ”BLD 255 operation” with a program
counter sequence appended will appear at the latest in the 128th codeword. Interposed BLD 255
segmentation operations are unaffected by this.
EWA 4NEB 811 6149-02
2-13

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