Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 1 of 7

SIMATIC S5 S5-100U Programmable Controller System Manual, CPU 100/102/103, pages 1 to 10

Pages 1 to 10 of 69

The original document is the PDF (878 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

Filed in the catalog under the Siemens 6ES5-095-8MC01, Siemens 6ES5-431-8MA11, Siemens 6ES5-451-8MA11 and Siemens 6ES5-452-8MR11

Page 1

SIMATIC S5 S5-100U Programmable Controller System Manual CPU 100/102/103

EWA 4NEB 812 6120-02b

Edition 04

Page 2

STEP ® SINEC ® and SIMATIC ® are registered trademarks of Siemens AG. LINESTRA® is a registered trademark of the OSRAM Company. Subject to change without prior notice. The reproduction, transmission or use of this document or its contents is not permitted without express written authority. Offenders will be liable for damages. All rights, including rights created by patent grant or registration of a utility model or design, are reserved.

Copyright© Siemens AG 1992

EWA 4NEB 812 6120-02b

Page 3

Introduction The SIMATIC S5 System Family

1

Technical Description

2

Installation Guidelines

3

Start-Up and Program Tests

4

Diagnostics and Troubleshooting

5

Addressing

6

Introduction to STEP 5

7

STEP 5 Operations

8

Integrated Blocks and Their Functions

9

Interrupt Processing

10

Analog Value Processing

11

The Integral Real-Time Clock, for CPU 103 and Higher

12

Connecting the S5-100U to SINEC L1

13

Module Spectrum

14

Function Modules

15

Appendices

A/B/C D/E/F

Index

EWA 4NEB 812 6120-02b

Page 4

EWA 4NEB 812 6120-02b

Page 5

S5-100U

Contents

Contents Page How to Use This Manual

.............................................

1

The SIMATIC S5 System Family

2

Technical Description

3

..................................

1 - 1

.........................................

2 - 1

2.1

Programmable Controller Design

2.2 2.2.1 2.2.2

Principle of Operation for the Programmable Controller . . . . . . . . . . . . . . Functional Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Mode of Operation for the External I/O Bus . . . . . . . . . . . . . . . . . . . . . .

Installation Guidelines xv

.............................

.........................................

2 - 1 2 - 3 2 - 3 2 - 6

3 - 1

3.1 3.1.1 3.1.2 3.1.3 3.1.4

Installing S5-100U Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Assembling a Tier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Multi-Tier Expansion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Cabinet Mounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Vertical Mounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3 3 3 3 3 -

3.2 3.2.1 3.2.2 3.2.3 3.2.4

Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Connection Methods: Screw-Type Terminals and Crimp Snap-in ...... Connecting the Power Supply to the S5-100U . . . . . . . . . . . . . . . . . . . . Connecting Digital Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Connecting the Digital Input/Output Module . . . . . . . . . . . . . . . . . . . . . .

3 - 9 3 - 9 3 - 12 3 - 13 3 - 18

3.3 3.3.1 3.3.2 3.3.3

Electrical Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Electrical Configuration for the S5-100U . . . . . . . . . . . . . . . . . . . . . . . . Electrical Configuration with External I/Os . . . . . . . . . . . . . . . . . . . . . . . Non-Floating and Floating Configurations . . . . . . . . . . . . . . . . . . . . . . . .

3 - 20 3 - 20 3 - 21 3 - 25

3.4

Wiring Arrangement, Shielding, and Measures to Guard against Electromagnetic Interference . . . . . . . . . . . . . . . . . . . . . . Running Cables Inside and Outside a Cabinet . . . . . . . . . . . . . . . . . . . . Running Cables Outside Buildings . . . . . . . . . . . . . . . . . . . . . . . . . . . . Equipotential Bonding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Shielding Cables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Special Measures for Interference-Free Operation . . . . . . . . . . . . . . . . .

3 - 29 3 - 29 3 - 30 3 - 31 3 - 32 3 - 33

3.4.1 3.4.2 3.4.3 3.4.4 3.4.5

EWA 4NEB 812 6120-02b

1 1 5 7 8 v

Page 6

Contents

S5-100U

Page 4

5 vi

Start-Up and Program Tests

.....................................

4 - 1

4.1 4.1.1 4.1.2 4.1.3

Operating Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CPU Operator Panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Operating Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Performing an Overall Reset on the Programmable Controller . . . . . . . . .

4 4 4 4 -

4.2 4.2.1 4.2.2

Starting Up a System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Suggestions for Configuring and Installing the Product . . . . . . . . . . . . . . Procedures for Starting Up the Programmable Controller . . . . . . . . . . . .

4 - 3 4 - 3 4 - 4

4.3

Loading the Program into the Programmable Controller . . . . . . . . . . . . . .

4 - 5

4.4 4.4.1 4.4.2

Backing Up the Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Backing Up the Program on a Memory Submodule ................ Function of the Back-Up Battery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4 - 7 4 - 7 4 - 8

4.5

Program-Dependent Signal Status Display “STATUS”

..............

4 - 8

4.6

Direct Signal Status Display “STATUS VAR”

.....................

4 - 9

4.7

Forcing Outputs, “FORCE”, for CPU 103 and Higher

4.8

Forcing Variables, “FORCE VAR”

4.9

Search Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4 - 11

4.10

Program Check, for CPU 103 and Higher

.......................

4 - 11

................................

5 - 1

5.1

Indication of Errors by LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

5 - 1

5.2 5.2.1 5.2.2 5.2.3 5.2.4

CPU Malfunctions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . “ISTACK” Analysis Function ................................ Interrupt Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Errors during Program Copying . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Explanation of the Mnemonics Used in “ISTACK” .................

5 5 5 5 5 -

5.3 5.3.1 5.3.2

Program Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Locating the Error Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Tracing the Program with the “BSTACK” Function . . . . . . . . . . . . . . . . .

5 - 8 5 - 8 5 - 11

5.4

I/O Faults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

5 - 12

5.5

System Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

5 - 12

5.6

The Last Resort

5 - 13

Diagnostics and Troubleshooting

...............

............................

.........................................

1 1 1 2

4 - 10 4 - 10

1 1 4 5 6

EWA 4NEB 812 6120-02b

Page 7

S5-100U

Contents

Page 6

7

Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

6 - 1

6.1

Slot Numbering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

6 - 1

6.2

Digital Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

6 - 4

6.3

Analog Modules

6 - 5

6.4 6.4.1 6.4.2

6 - 6 6 - 6

6.4.3

Combined Input Modules and Output Modules . . . . . . . . . . . . . . . . . . . . Output Modules with Error Diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . Digital Input/Output Module, 16 Inputs, 16 Outputs, 24 V DC for All CPUs Version 8MA02 and Higher and for CPU 102, Version 8MA01, Revision 5 and Higher . . . . . . . . . . . . . . . Function Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

6.5 6.5.1 6.5.2

The Structure of Process Image Input and Output Tables . . . . . . . . . . . . Accessing the Process Image Input Table (PII) . . . . . . . . . . . . . . . . . . . Accessing the Process Image Output Table (PIQ) . . . . . . . . . . . . . . . . .

6 - 8 6 - 10 6 - 11

6.6 6.6.1 6.6.2

Interrupt Process Images Tables and Time-Controlled Program Processing in OB13 for CPU 103, Version 8MA02 and Higher . . . . . . . . . Accessing the Interrupt PII . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Accessing the Interrupt PIQ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

6 - 12 6 - 12 6 - 14

6.7

RAM Address Assignments

.................................

6 - 15

.........................................

7 - 1

Introduction to STEP 5

.........................................

6 - 7 6 - 7

7.1 7.1.1 7.1.2 7.1.3

Writing a Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Methods of Representation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Operand Areas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Circuit Diagram Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

7 7 7 7 -

7.2 7.2.1 7.2.2

Program Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Linear Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Structured Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

7 - 4 7 - 4 7 - 5

7.3 7.3.1 7.3.2 7.3.3 7.3.4 7.3.5

Block Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Organization Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Program Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Sequence Blocks, for CPU 103 and Higher ..................... Function Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Data Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

7 - 7 7 - 9 7 - 11 7 - 11 7 - 11 7 - 16

7.4 7.4.1 7.4.2 7.4.3 7.4.4

Program Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Program Processing with CPU 102 . . . . . . . . . . . . . . . . . . . . . . . . . . . . START-UP Program Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Cyclic Program Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Time-Controlled Program Processing, for CPU 103 Version 8MA02 and Higher . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

7 - 18 7 - 19 7 - 24 7 - 26

EWA 4NEB 812 6120-02b

1 1 3 3

7 - 28 vii

Page 8

Contents

S5-100U

Page 7.4.5

8 viii

Interrupt-Driven Program Processing, for CPU 103 Version 8MA02 and Higher . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

7 - 29

7.5 7.5.1 7.5.2 7.5.3

Processing Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Changing Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Changing Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Compressing the Program Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . .

7 - 30 7 - 30 7 - 30 7 - 30

7.6

Number Representation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

7 - 31

STEP 5 Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

8 - 1

8.1 8.1.1 8.1.2 8.1.3 8.1.4 8.1.5 8.1.6 8.1.7 8.1.8 8.1.9

Basic Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Boolean Logic Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Set/Reset Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Load and Transfer Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Timer Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Counter Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Comparison Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Arithmetic Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Block Call Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Other Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

8 - 1 8 - 2 8 - 7 8 - 10 8 - 15 8 - 25 8 - 30 8 - 31 8 - 33 8 - 38

8.2 8.2.1 8.2.2 8.2.3 8.2.4 8.2.5 8.2.6 8.2.7 8.2.8 8.2.9 8.2.10 8.2.11

Supplementary Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Load Operation, for CPU 103 and Higher . . . . . . . . . . . . . . . . . . . . . . . Enable Operation, for CPU 103 and Higher . . . . . . . . . . . . . . . . . . . . . . Bit Test Operations, for CPU 103 and Higher . . . . . . . . . . . . . . . . . . . . . Digital Logic Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Shift Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Conversion Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Decrement/Increment, for CPU 103 and Higher . . . . . . . . . . . . . . . . . . . Disable/Enable Interrupt, for CPU 103 Version 8MA02 and Higher . . . . . . “DO” Operation, for CPU 103 and Higher . . . . . . . . . . . . . . . . . . . . . . . Jump Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Substitution Operations, for CPU 103 and Higher . . . . . . . . . . . . . . . . . .

8 - 39 8 - 40 8 - 41 8 - 42 8 - 44 8 - 48 8 - 50 8 - 52 8 - 53 8 - 54 8 - 56 8 - 58

8.3 8.3.1 8.3.2 8.3.3 8.3.4

System Operations, for CPU 103 and Higher . . . . . . . . . . . . . . . . . . . . . Set Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Load and Transfer Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Arithmetic Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Other Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

8 - 64 8 - 64 8 - 64 8 - 67 8 - 68

8.4

Condition Code Generation

8 - 69

8.5 8.5.1 8.5.2 8.5.3

Sample Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Momentary-Contact Relay/Edge Evaluation . . . . . . . . . . . . . . . . . . . . . . Binary Scaler/Binary Divider . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Clock/Clock-Pulse Generator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

.................................

8 - 71 8 - 71 8 - 71 8 - 73

EWA 4NEB 812 6120-02b

Page 9

S5-100U

Contents

Page 9

Integrated Blocks and Their Functions 9.1 9.1.1 9.1.2 9.1.3 9.1.4 9.1.5 9.1.6 9.1.7 9.1.8 9.2 9.2.1 9.2.2 9.2.3 9.2.4 9.2.5 9.3 9.3.1 9.3.2 9.3.3

10

10.2

9 - 1

Assigning Internal Functions to DB1, for CPU 103 Version 8MA03 and Higher . . . . . . . . . . . . . . . . . . . . . . . . Configuration and Default Settings for DB1 . . . . . . . . . . . . . . . . . . . . . . Setting the Address for the Parameter Error Code in DB1 . . . . . . . . . . . . Assigning Parameters in DB1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Rules for Setting Parameters in DB1 . . . . . . . . . . . . . . . . . . . . . . . . . . . How to Recognize and Correct Parameter Errors . . . . . . . . . . . . . . . . . . Transferring DB1 Parameters to the Programmable Controller . . . . . . . . . Reference Guide for Setting Parameters in DB1 .................. Defining System Characteristics in DB1 . . . . . . . . . . . . . . . . . . . . . . . .

9 - 1 9 - 1 9 - 2 9 - 4 9 - 4 9 - 6 9 - 9 9 - 10 9 - 11

Integrated Function Blocks, for CPU 102 Version 8MA02 and Higher . . . . . . . . . . . . . . . . . . . . . . . . Code Converter : B4 - FB240 - . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Code Converter : 16 - FB241 - . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Multiplier : 16 - FB242 - . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Divider : 16 - FB243 - . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Analog Value Conditioning Modules FB250 and FB251 . . . . . . . . . . . . . .

9 - 11 9 - 12 9 - 12 9 - 13 9 - 13 9 - 14

Integrated Organization Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Scan Time Triggering OB31, for CPU 103 and Higher .............. Battery Failure OB34 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . OB251 PID Algorithm, for CPU 103 Version 8MA02 and Higher . . . . . . . . . . . . . . . . . . . . . . . .

Interrupt Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10.1

11

.............................

Interrupt Processing with OB2, for CPU 103 Version 8MA02 and Higher . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Calculating Interrupt Reaction Times . . . . . . . . . . . . . . . . . . . . . . . . . .

Analog Value Processing

......................................

9 - 15

10 - 1

10 - 1 10 - 5

11 - 1

11.1

Analog Input Modules

11.2

11.2.2 11.2.3 11.2.4 11.2.5

Connecting Current and Voltage Sensors to Analog Input Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Voltage Measurement with Isolated or Non-Isolated Thermocouples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Two-Wire Connection of Voltage Sensors . . . . . . . . . . . . . . . . . . . . . . Two-Wire Connection of Current Sensors . . . . . . . . . . . . . . . . . . . . . . Connection of Two-Wire and Four-Wire Transducers . . . . . . . . . . . . . . Connection of Resistance Thermometers . . . . . . . . . . . . . . . . . . . . . .

11 11 11 11 11 -

11.3

Start-Up of Analog Input Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . .

11 - 7

11.4

Analog Value Representation of Analog Input Modules

11 - 11

11.2.1

EWA 4NEB 812 6120-02b

....................................

9 - 14 9 - 14 9 - 14

.............

11 - 1

11 - 1 2 3 4 4 6 ix

Page 10

Contents

S5-100U

Page

12

11.5 Analog Output Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.5.1 Connection of Loads to Analog Output Modules . . . . . . . . . . . . . . . . . . 11.5.2 Analog Value Representation of Analog Output Modules . . . . . . . . . . . .

11 - 19 11 - 19 11 - 20

11.6 Analog Value Conversion: Function Blocks FB250 and FB251 . . . . . . . . 11.6.1 Reading in and Scaling an Analog Value - FB250 - . . . . . . . . . . . . . . . . 11.6.2 Outputting of Analog Values - FB251 - . . . . . . . . . . . . . . . . . . . . . . . .

11 - 22 11 - 22 11 - 25

The Integral Real-Time Clock, for CPU 103 Version 8MA02 and Higher

12 - 1

12.1

...

Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Setting Parameters in DB1, for CPU 103 Version 8MA03 and Higher . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12.2.1 Defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12.2.2 Reading the Current Clock Time and the Current Date . . . . . . . . . . . . . 12.2.3 DB1 Parameters Used for the Integral Real-Time Clock . . . . . . . . . . . .

12 - 1

12.2

12 12 12 12 -

2 2 3 4

12.3.1 12.3.2 12.3.3 12.3.4

Programming the Integral Real-Time Clock in DB1, for CPU 103 Version 8MA03 and Higher . . . . . . . . . . . . . . . . . . . . . . . Setting the Clock in DB1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting the Prompt Time in DB1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting the Operating Hours Counter in DB1 . . . . . . . . . . . . . . . . . . . . Entering the Clock Time Correction Factor in DB1 . . . . . . . . . . . . . . . .

12 12 12 12 12 -

5 5 6 7 7

12.4

Structure of the Clock Data Area

12 - 8

12.5

Structure of the Status Word and How to Scan It

12.6

Setting Parameters for the Clock Data Area and the Status Word in the System Data Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

12 - 15

Programming the Integral Real-Time Clock in the User Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Reading and Setting the Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Programming the Prompt Function . . . . . . . . . . . . . . . . . . . . . . . . . . . Programming the Operating Hours Counter . . . . . . . . . . . . . . . . . . . . . Entering the Clock Time Correction Factor . . . . . . . . . . . . . . . . . . . . .

12 - 21 12 - 21 12 - 25 12 - 30 12 - 35

12.3

12.7 12.7.1 12.7.2 12.7.3 12.7.4 x

............................ .................

12 - 12

EWA 4NEB 812 6120-02b