S5-95F Contents
Page
8.3 System Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 - 63
8.3.1 Set Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 - 63
8.3.2 Load and Transfer Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 - 64
8.3.3 Arithmetic Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 - 66
8.3.4 Other Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 - 67
8.4 Condition Code Generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 - 68
8.5 Sample Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 - 70
8.5.1 Momentary-Contact Relay/Edge Evaluation . . . . . . . . . . . . . . . . . . . . . . 8 - 70
8.5.2 Binary Scaler/Binary Divider . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 - 70
8.5.3 Clock/Clock-Pulse Generator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 - 72
9 Blocks and Their Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 - 1
9.1 Organization Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 - 1
9.1.1 Scan Time Trigger (OB13) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 - 2
9.1.2 Procedure after Battery Failure (OB34) . . . . . . . . . . . . . . . . . . . . . . . . . 9 - 2
9.1.3 Error Handling (OB37) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 - 2
9.1.4 PID Algorithm (OB251) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 - 3
9.2 Integrated Function Blocks (FBs) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 - 14
9.2.1 Code Converter : B4 - FB240 - . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 - 14
9.2.2 Code Converter : 16 - FB241 - . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 - 14
9.2.3 Multiplier : 16 - FB242 - . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 - 15
9.2.4 Divider : 16 - FB243 - . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 - 15
9.2.5 Analog Value Conditioning Blocks - FB250 and FB251- . . . . . . . . 9 - 16
9.2.6 Additional Calling Up of Test Routines - FB252 - . . . . . . . . . . . . . . . . 9 - 16
9.2.7 Depassivation Block - FB255 . . . . . . . . . . . . . . . . . 9 - 22
9.3 Parameterizing Internal Functions in DB1 . . . . . . . . . . . . . . . . . . . . . . . 9 - 24
9.3.1 Configuration and Default Settings for DB1 . . . . . . . . . . . . . . . . . . . . . . 9 - 25
9.3.2 How to Assign Parameters in DB1 without COM 95F . . . . . . . . . . . . . . . 9 - 27
9.3.3 Rules for Setting Parameters in DB1 . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 - 27
9.3.4 How to Recognize and Correct Parameter Errors . . . . . . . . . . . . . . . . . . 9 - 29
9.3.5 Transferring Changed DB1 Parameters to the S5-95F Programmable
Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 - 30
9.3.6 Reference Guide for Setting Parameters in DB1 . . . . . . . . . . . . . . . . . . 9 - 31
10 The Integral Real-Time Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10- 1
10.1 Operating Principle and Parameterization of the Integral
Real-Time Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10- 1
10.1.1 Setting the Clock Parameters in DB1 . . . . . . . . . . . . . . . . . . . . . . . . . . 10- 1
10.1.2 Operating Principle of the Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10- 1
10.1.3 Transfer and Battery Backup of Clock Parameters . . . . . . . . . . . . . . . . . 10- 2
10.1.4 Entering the Clock Time Correction Factor . . . . . . . . . . . . . . . . . . . . . . 10- 2
10.2 Structure of the Clock Data Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10- 3
EWA 4NEB 812 6210-02
ix