General - Siemens SIMATIC S5 IP 281 Equipment Manual

Hide thumbs Also See for SIMATIC S5 IP 281:
Table of Contents

Advertisement

7.1

General

Use
As an introduction working with the 1P 281, this section contains a program-
ming example which can be run on PLC S5–1 15U/S5– 115H.
(OB 20 and DX O must be added to the program when PLC S5–135U or
S5–155U/S5–l 55H is used.)
You can use this program as the basis for your own program. The individual
blocks must then be adapted or supplemented to suit the application.
Block
allocation
OB 1
Function
Block
Cyclic program processing
Interrupt-controlled program proc8asing for IRA
OB 2
Startup bahaviorfor manual power-on (STOP –> RUN)
OB 21
OB 22
Startup behavior for return of voltage
FB 10
Interfaces for inputa/outputs
FB 20
Startup FB for 1P 281
FB 21
Cyclic main program
Interrupt program
FB 22
Working DB for IP 281
DB 20
Programming Example
7 – 1

Advertisement

Table of Contents
loading

Table of Contents