background image

S5-100U 

 Information for Ordering Accessories

Order Numbers

Operator Panels and Programmers

OP 393-III Operator Panel

with connecting cable

6ES5 393-0UA15

OP 393-III Operator guide, German

6ES5 998-0UQ12

PG 605U Programmer   

6ES5 605-0UA11

PG 605U Operator guide, German

6ES5 998-0UP11

PG 720 Programmer

6ES7 720-0AB00-0YA0

PG 720 C Programmer

6ES7 720-1AB00-0YB0

PG 740 Programmer

6ES7 740-0AA00-0YA0

PG 760 Programmer

6ES7 760-1AA00-0YA0

(–> Catalog ST 59)

Cable connector for connecting the OP 393-III to the CPU

3 m

6ES5 728-0BD00

10 m

6ES5 728-0CB00

20 m

6ES5 728-0CC00

Special lengths

up to 1000 m

(–> Catalog ST 80)

Program Packages

Basic Functions Program Package
with description in German, English, and French

for the S5-DOS operating system

6ES5 848-8AA01

for the MS-DOS, S5-DOS/MT operating system

6ES5 848-7AA01

Floating Point Arithmetic Program Package
with description in German, English, and French

for the S5-DOS operating system

6ES5 845-8GP01

for the MS-DOS, S5-DOS/MT operating system

6ES5 845-7GP01

GRAPH 5 Program Package
with description in German, English, and French

6ES5 886-1FA01

GRAPH 5 Mini Program Package

German

6ES5 886-1SE11

English

6ES5 886-1SE21

French

6ES5 886-1SE31

Spanish

6ES5 886-1SE41

Italian

6ES5 886-1SE51

S5-100U Program Package
with description in

German

6ES5 840-4BC11

English

6ES5 840-4BC21

Italian

6ES5 840-4BC51

STEP 5 Package for Mini PLCs for PC

6ES5 866-0MA02

Documentation for STEP 5 Package, German

6ES5 896-0MY11

EWA 4NEB 812 6120-02b

D-5

Содержание SIMATIC S5-100U

Страница 1: ...162 Wrocław Poland biuro rgbelektronika pl 48 71 325 15 05 www rgbautomatyka pl www rgbelektronika pl DATASHEET www rgbautomatyka pl www rgbelektronika pl OTHER SYMBOLS 6EJ5921 1AA21 6EJ59211AA21 6EJ5921 1AA21 6EJ5921 1AA21 6EJ5 9211AA21 6EJ5 921 1AA21 6EJ5 921 1AA21 SIEMENS ...

Страница 2: ...ed with a wide variety of tools and having several testing stands at their disposal are a guarantee of the highest quality service OUR SERVICES ENCODERS SERVO DRIVERS LINEAR ENCODERS SERVO AMPLIFIERS CNC MACHINES MOTORS POWER SUPPLIERS OPERATOR PANELS CNC CONTROLS INDUSTRIAL COMPUTERS PLC SYSTEMS Repair this product with RGB ELEKTRONIKA ORDER A DIAGNOSIS Buy this product at RGB AUTOMATYKA BUY ...

Страница 3: ...SIMATIC S5 S5 100U Programmable Controller System Manual CPU 100 102 103 EWA 4NEB 812 6120 02b Edition 04 ...

Страница 4: ... 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 ...

Страница 5: ...ion Addressing Introduction to STEP 5 STEP 5 Operations Integrated Blocks and Their Functions Interrupt Processing Analog Value Processing The Integral Real Time Clock for CPU 103 and Higher Connecting the S5 100U to SINEC L1 Module Spectrum Function Modules Appendices Index 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 A B C D E F EWA 4NEB 812 6120 02b ...

Страница 6: ...EWA 4NEB 812 6120 02b ...

Страница 7: ...s Screw Type Terminals and Crimp Snap in 3 9 3 2 2 Connecting the Power Supply to the S5 100U 3 12 3 2 3 Connecting Digital Modules 3 13 3 2 4 Connecting the Digital Input Output Module 3 18 3 3 Electrical Configuration 3 20 3 3 1 Electrical Configuration for the S5 100U 3 20 3 3 2 Electrical Configuration with External I Os 3 21 3 3 3 Non Floating and Floating Configurations 3 25 3 4 Wiring Arran...

Страница 8: ...Battery 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 10 4 8 Forcing Variables FORCE VAR 4 10 4 9 Search Function 4 11 4 10 Program Check for CPU 103 and Higher 4 11 5 Diagnostics and Troubleshooting 5 1 5 1 Indication of Errors by LEDs 5 1 5 2 CPU Malfunctions 5 1 5 2 1 ISTACK Analysis ...

Страница 9: ...sing in OB13 for CPU 103 Version 8MA02 and Higher 6 12 6 6 1 Accessing the Interrupt PII 6 12 6 6 2 Accessing the Interrupt PIQ 6 14 6 7 RAM Address Assignments 6 15 7 Introduction to STEP 5 7 1 7 1 Writing a Program 7 1 7 1 1 Methods of Representation 7 1 7 1 2 Operand Areas 7 3 7 1 3 Circuit Diagram Conversion 7 3 7 2 Program Structure 7 4 7 2 1 Linear Programming 7 4 7 2 2 Structured Programmin...

Страница 10: ...nd Higher 8 40 8 2 2 Enable Operation for CPU 103 and Higher 8 41 8 2 3 Bit Test Operations for CPU 103 and Higher 8 42 8 2 4 Digital Logic Operations 8 44 8 2 5 Shift Operations 8 48 8 2 6 Conversion Operations 8 50 8 2 7 Decrement Increment for CPU 103 and Higher 8 52 8 2 8 Disable Enable Interrupt for CPU 103 Version 8MA02 and Higher 8 53 8 2 9 DO Operation for CPU 103 and Higher 8 54 8 2 10 Ju...

Страница 11: ...43 9 13 9 2 5 Analog Value Conditioning Modules FB250 and FB251 9 14 9 3 Integrated Organization Blocks 9 14 9 3 1 Scan Time Triggering OB31 for CPU 103 and Higher 9 14 9 3 2 Battery Failure OB34 9 14 9 3 3 OB251 PID Algorithm for CPU 103 Version 8MA02 and Higher 9 15 10 Interrupt Processing 10 1 10 1 Interrupt Processing with OB2 for CPU 103 Version 8MA02 and Higher 10 1 10 2 Calculating Interrup...

Страница 12: ...Used for the Integral Real Time Clock 12 4 12 3 Programming the Integral Real Time Clock in DB1 for CPU 103 Version 8MA03 and Higher 12 5 12 3 1 Setting the Clock in DB1 12 5 12 3 2 Setting the Prompt Time in DB1 12 6 12 3 3 Setting the Operating Hours Counter in DB1 12 7 12 3 4 Entering the Clock Time Correction Factor in DB1 12 7 12 4 Structure of the Clock Data Area 12 8 12 5 Structure of the S...

Страница 13: ... 13 9 13 3 3 Programming the Messages in a Function Block 13 11 14 Module Spectrum 14 1 14 1 General Technical Specifications 14 3 14 2 Power Supply Modules 14 4 14 3 Central Processing Units 14 7 14 4 Bus Units 14 10 14 5 Interface Modules 14 14 14 6 Digital Modules 14 16 14 6 1 Digital Input Modules 14 16 14 6 2 Digital Output Modules 14 26 14 6 3 Digital Input Output Modules 14 36 14 7 Analog M...

Страница 14: ... Setpoints for the Counter and Position Decoder 15 38 15 6 6 Addressing 15 39 15 7 Closed Loop Control Module IP 262 15 41 15 8 IP 263 Positioning Module 15 45 15 9 IP 264 Electronic Cam Controller Module 15 49 15 10 IP 265 High Speed Sub Control 15 52 15 11 Positioning Module IP 266 15 55 15 12 Stepper Motor Control Module IP 267 15 59 15 13 Communications Modules 15 62 15 13 1 Printer Communicat...

Страница 15: ...A 8 A 1 3 System Operations for CPU 102 and Higher A 13 A 1 4 Evaluation of CC 1 and CC 0 A 14 A 2 Machine Code Listing A 15 A 3 List of Abbreviations A 18 B Dimension Drawings B 1 C Active and Passive Faults in Automation Equipment C 1 D Information for Ordering Accessories D 1 E Reference Materials E 1 F Siemens Addresses Worldwide F 1 Index EWA 4NEB 812 6120 02b xiii ...

Страница 16: ...EWA 4NEB 812 6120 02b ...

Страница 17: ... the Programmable Controllers Chapters 7 8 and 9 These chapters describe the structure operations and structuring aids of the STEP 5 pro gramming language Functions of the Programmable Controllers Chapters 10 11 12 13 Each of these chapters contains a complete description of a particular function from wiring to programming Subjects include analog value processing counter and interrupt inputs integ...

Страница 18: ...em manual employs the following specific structuring devices Specific terms have characteristic abbreviations e g programmer is PG Appendix A contains a list of abbreviations Footnotes are marked with a raised number e g 1 or a raised asterisk You will find the corresponding explanations in the lower margin of the page or under a figure or table if the footnote appears in one of these Lists are de...

Страница 19: ...d in the system manual Chapter 9 Integrated Blocks and Their Functions Chapter 12 Integral Real Time Clock for CPU 103 Version 8MA02 and Higher Chapter 13 Connecting the S5 100U to SINEC L1 for CPU 102 and Higher The execution times of some operations have been reduced considerably compared to the old CPU 103 For the new execution times refer to the list of operations in Appendix A The S5 100U sys...

Страница 20: ...ces and warnings for protection against loss of life the users or service personnel or for protection against damage to property are highlighted in this document by the terms and pictograms defined here The terms used in this document and marked on the equipment itself have the following significance Warning indicates that death severe personal injury or substantial property damage can result if p...

Страница 21: ...1 The SIMATIC S5 System Family EWA 4NEB 812 6120 02b ...

Страница 22: ...Figures 1 1 Members of the SIMATIC S5 System Family 1 1 EWA 4NEB 812 6120 02b ...

Страница 23: ......

Страница 24: ...t fans None of these modules has electro magnetically sensitive electronics The modules are plugged into bus units and screwed tightly so that they are vibration proof The bus units snap onto a standard mounting rail You can configure the S5 100U in one or more tiers and configure it vertically or horizontally The S5 100U offers such a wide range of configuration possibilities that you can use it ...

Страница 25: ...escription 2 1 Programmable Controller Design 2 1 2 2 Principle of Operation for the Programmable Controller 2 3 2 2 1 Functional Units 2 3 2 2 2 Mode of Operation for the External I O Bus 2 6 EWA 4NEB 812 6120 02b ...

Страница 26: ...ample of an Arithmetic Logic Unit s Mode of Operation 2 5 2 4 Accumulator Design 2 5 2 5 Structure of the External I O Bus 2 6 2 6 Data Cycle 2 7 Tables 2 1 Retentive and Non Retentive Operands 2 5 2 2 Number of Bits per Module in the Shift Register 2 8 EWA 4NEB 812 6120 02b ...

Страница 27: ......

Страница 28: ...Hz You can use this module for position detection in a positioning task Comparator module This module makes it possible for you to monitor preset comparison values such as for current and voltage Simulator module Use this module to generate digital input signals or to display digital output signals Diagnostic module Use this module to check the function of the I O bus Communications module CP Use ...

Страница 29: ...2 2 Functional Units of the S5 100U Beginning with CPU 103 version 8MA02 RAM Program memory Timers Counters Flags Process I O image tables Interrupt process I O image tables System data ALU ACCU 1 and 2 bit ACCU RLO Memory submodule Serial port Processor I O bus CPU Digital modules input output Analog modules input output Function modules I O modules ROM operating system EWA 4NEB 812 6120 02b 2 3 ...

Страница 30: ...ut and output modules are stored in the CPU in process image tables Process image tables are reserved areas in the RAM of the CPU Input and output modules have the following separate image tables Process image input table PII Process image output table PIQ Serial Interface You can connect programmers operator panels and monitors to the serial port cable connector You can use the serial port to con...

Страница 31: ... operations Figure 2 3 Example of an Arithmetic Logic Unit s Mode of Operation Load information from the PII Transfer information to the PIQ Process information in ACCU 1 and ACCU 2 Accumulator Design Figure 2 4 Accumulator Design ACCU 2 ACCU 1 Low byte High byte 15 8 7 0 15 8 7 0 High byte Low byte Processor According to the control program the processor calls statements in the program memory in ...

Страница 32: ...red Direct access to individual modules is not possible A number of shift registers moves the data Figure 2 5 Four data bits and one check bit for bus monitoring are assigned to each slot in the bus unit All modules requiring more than four data bits have their own shift register and therefore do not have to use the shift register of the particular slot Figure 2 5 Structure of the External I O Bus...

Страница 33: ...a a a a a a a a a a a a a a a a a a a a a a a Shift data a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Load data from the input modules into the shift register Transfer data from the shift register to the output modules Interrupt Data Cycle for CPU 103 version 8MA02 and higher There is an interrupt input data cycle prior to each time controlled or interrup...

Страница 34: ...rator module 500 Hz timer module 500 Hz counter module 25 KHz counter module 8 channel digital input and output modules Digital input and output module 16 inputs 16 outputs Simulator module Analog modules for each activated channel CP 521 IP 262 IP 266 IP 267 Refer to the individual manuals for information on other modules 4 4 4 32 8 16 8 16 64 Number of Data Bits The CPU specifies the maximum len...

Страница 35: ...s 8 channel and four analog modules 4 channel 7 x 8 4 x 4 x 16 56 256 480 d CPU 102 This CPU does not let you use 20 digital modules 8 channel with 5 analog modules 4 channel because the maximum permissible number of analog data bits would be exceeded 20 x 8 5 x 4 x 16 160 320 480 e CPU 103 This CPU lets you operate 24 digital modules 8 channel and eight analog modules 4 channel 24 x 8 8 x 4 x 16 ...

Страница 36: ...EWA 4NEB 812 6120 02b ...

Страница 37: ...g the Digital Input Output Module 3 18 3 3 Electrical Configuration 3 20 3 3 1 Electrical Configuration for the S5 100U 3 20 3 3 2 Electrical Configuration with External I Os 3 21 3 3 3 Non Floating and Floating Configurations 3 25 3 4 Wiring Arrangement Shielding and Measures to 3 29 Guard against Electromagnetic Interference 3 4 1 Running Cables Inside and Outside a Cabinet 3 29 3 4 2 Running Ca...

Страница 38: ...odule with a Crimp Snap In Connector simplified view and not true to scale 3 18 3 17 Connecting a Sensor and a Load to Digital Input Output Module 482 3 19 3 18 Configuration Possibility S5 100U with 115 230 V AC Power Supply for Programmable Controller Sensors and Actuators 3 22 3 19 Configuration Possibility S5 100U with 24 V DC Power Supply with Safe Electrical Isolation According to DIN VDE 01...

Страница 39: ...ate indicated in Table 3 1 Table 3 1 Installing Removing and Changing S5 100U Components Installing Removing and Changing S5 100U Power Status S5 100U Operating Mode I O modules Bus units Interface modules X STOP X Power OFF X not relevant OFF X CPU power supply Power supply voltage OFF X X Load Voltage 3 1 1 Assembling a Tier You need the following components to configure the S5 100U Power supply...

Страница 40: ......

Страница 41: ......

Страница 42: ......

Страница 43: ......

Страница 44: ...to the out socket on the programmable controller tier and to the in socket on the expansion tier 6 Securely screw the connecting cable plugs in place Use two screws for each connecting cable plug Removing an Interface Module 1 Only for the IM 316 Remove the hold down screws from the plugs and remove the connecting cable 2 Remove the connecting ribbon cable from the adjacent bus unit 3 Use a screwd...

Страница 45: ...on the lowest tier to ensure better heat dissipation To measure cabinet ventilation define the total heat loss by calculating the sum of all typical heat losses see Catalog ST 52 1 Figure 3 5 Multi Tier Configuration in a Cabinet with the IM 316 Interface Module 6ES5 316 8MA12 CPU Metal plate a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 46: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 47: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 48: ......

Страница 49: ......

Страница 50: ......

Страница 51: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 52: ... a a a 4 a a a a a a a a a a a a a a a a 6 a a a a a a a a a a a a a a a a 8 a a a a a a a a a a a a a a a a 5 a a a a a a a a a a a a a a a a a a a a a a a a L a a a a a a a a a a a a a a a a M a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Sensor a a a a a a a a a a a a a a a 0 4 a a a a a a a a a a a a a a a 1 5 a a a a a a a a a a a a a a a 2 6 a a a a a a a a ...

Страница 53: ... a a a a a a a a a a a a a a a a a a a a a a a Lamp a a a a a a a a a a a a a a a 0 4 a a a a a a a a a a a a a a a 1 5 a a a a a a a a a a a a a a a 2 6 a a a a a a a a a a a a a a a a a a 3 7 F a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 54: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a L Terminal a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Sensor a a a a a a a a a a a a a a a a 0 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 55: ... a a a a a a a a a a a a a a a a a M Terminal a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Lamp a a a a a a a a a a a a a a a a 0 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 56: ...t side IN are numbered from n 0 through n 7 and from n 1 0 through n 1 7 The 16 channels on the output side OUT are numbered from n 0 through n 7 and from n 1 0 through n 1 7 n is the start address of the slot Slot 0 for example has the start address of n 64 see chapter 6 Figure 3 16 Front View of the Digital I O Module with a Crimp Snap In Connector simplified view and not true to scale 0 5 A n 1...

Страница 57: ...wiring on the front connector Figure 3 17 Connecting a Sensor and a Load to Digital Input Output Module 482 Lamp OUT IN 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Sensor L Terminal M L L M M Terminal A 65 3 L L a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a M M E 64 4 Note Chapter 11 describes how to connect analog modules EWA...

Страница 58: ... connected to the standard mounting rail The grounding spring must also be protected from interference The grounding spring must be grounded Load Circuit The power source for the load circuit supplies the actuators of the process peripherals It is suggested that you use one of the following for a 24 V DC power supply The PS 931 power supply module see Chapter 14 A Siemens load power supply from th...

Страница 59: ... rating 200 µF per 1 A of load current if you have non stabilized load power supplies If you have AC load circuits galvanic isolation via a transformer 4 is recommended You should ground the load circuit at one end Provide a removable connection 5 to the ground conductor on the load power supply terminal M or on the isolating transformer You must provide earth fault monitoring for any non grounded...

Страница 60: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 61: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a L M a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 2 3 DI DO DO a a a a a a a a a a a a a a a a a a a a a 1 2 1 2 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a L M a a a a a a a a a a a a a a a a a a a a a a ...

Страница 62: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 63: ...onnected to the same grounding point non floating or galvanically isolated floating Example of a Non Floating Connection of Digital Modules A 24 V DC load circuit has the same chassis grounding as the control circuit of the CPU Figure 3 21 Example Non Floating Connection of I Os to the S5 100U Load power supply Common chassis ground Central grounding point CPU L M L M PS EWA 4NEB 812 6120 02b 3 25...

Страница 64: ...esentation of a Non Floating I O Connection 9 V Data GND a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a CPU a a a a a a a a a a a a a a a a a a a a a a a a a V1 a a a a a a a a a a a a a a a a a a a a V2 a a a a a a a a a a a a a a a VI a a a a a a a a a a a a a a a 1 a a a a a a a a a a a a a a a 2 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a VCV a a a a a a ...

Страница 65: ...guration with Digital Modules Floating configuration is required in the following situations When you need to increase interference immunity in the load circuits When load circuits cannot be interconnected When you have AC load circuits If you have a floating configuration the PLC s control circuit and the load circuit must be galvanically isolated Figure 3 23 shows a simplified connection of galv...

Страница 66: ...Figure 3 24 A Simplified Representation of a Floating I O Connection a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a CPU 1L M 9 V Data GND L1 N a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 2L 2M 3 28 EWA 4NEB 812 6120 02b ...

Страница 67: ...s for DC voltage 60 V Unshielded lines for AC voltage 25 V Coaxial lines for monitors Group B Unshielded lines for DC voltage 60 V and 400 V Unshielded lines for AC voltage 25 V and 400 V Group C Unshielded lines for AC voltage 400 V You can use the following table to see the conditions which apply to the running of the various combinations of line groups Table 3 3 Rules for Common Running of Line...

Страница 68: ...res to ensure internal and external lightning protection Outside buildings run your cables either In metal conduits grounded at both ends or In steel reinforced concrete cable channels Protect signal lines from overvoltage by using Varistors or Lightning arresters filled with inert gas Install these protective elements at the point where the cable enters the building Note Lightning protection meas...

Страница 69: ... and to be protected against corrosion The equipotential bonding conductor should be laid in such a way as to achieve a relatively small contact area between equipotential bonding conductor and signal cables see Figure 3 25 Figure 3 25 Laying Equipotential Bonding Conductor and Signal Cable a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 70: ... suppression in the high frequency range As an exception only you can connect the shielding at one end However this attenuates only the lower frequencies Shielding at one end can be of advantage in the following cases If you cannot run an equipotential bonding conductor If you are transmitting analog signals e g a few microvolts or microamps If you are using foil shields static shields Always use ...

Страница 71: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a with diode a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a with Zener diode a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 72: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 73: ...p the Programmable Controller 4 4 4 3 Loading the Program into the Programmable Controller 4 5 4 4 Backing Up the Program 4 7 4 4 1 Backing Up the Program on a Memory Submodule 4 7 4 4 2 Function of the Back Up Battery 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 10 4 8 Forcing Variable...

Страница 74: ... Automatically 4 5 4 3 Procedure for Loading the Program Manually 4 6 4 4 Procedure for Backing Up the Program on a Memory Submodule 4 7 4 5 STATUS Test Function 4 9 4 6 STATUS VAR Test Function 4 9 Table 4 1 Starting Up the Programable Controller 4 4 EWA 4NEB 812 6120 02b ...

Страница 75: ... a a a a a a a a a a a a a a a a a a a a a a a a BATTERY OFF LOW a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 76: ...et to RUN Malfunctions if one occurs that causes the programmable controller to go into the STOP operating mode see chapter 5 4 1 3 Performing an Overall Reset on the Programmable Controller You should perform an overall reset before you input a new program An overall reset erases the following The programmable controller s program memory All data flags timers and counters All error IDs Note If yo...

Страница 77: ...ctured in accordance with DIN VDE 0551 EN 60742 and DIN VDE 0160 The requirements of electro magnetic compatibility EMC must also be adhered to Fluctuations or deviations of the supply voltage from the rated value may not exceed the tolerance limit specified in the technical data If they do functional failures or dangerous conditions can occur in the electronic modules or equipment Take suitable m...

Страница 78: ... terminal must be connected to the programmable controller s M terminal The input signals in the PII can be observed with the STATUS VAR programmer function The switching states of the associated actuators change Program is loaded The system is in operation System and programmable controller are off load Check the mechanical configuration and wiring see section 3 1 and 3 2 Set the ON OFF switch to...

Страница 79: ... memory submodule Warning You can connect or disconnect memory submodules only in the Power OFF mode Loading the Program Automatically Automatic loading copies the program from a memory submodule into the program memory of the CPU You can only load valid blocks See section 7 5 2 Figure 4 2 shows how a program can be loaded automatically Figure 4 2 Procedure for Loading the Program Automatically Pr...

Страница 80: ... how a program can be loaded manually Figure 4 3 Procedure for Loading the Program Manually Turn off the S5 100U Turn on the S5 100U Red LED flashes Red LED flashes Red LED lights Error Plug memory sub module into the CPU Press COPY key and hold it down The CPU 102 is in Test Mode Red LED flickers release COPY key No valid program is in submodule Perform error diagnostics see section 5 1 Release C...

Страница 81: ...st of the submodules you may use Figure 4 4 illustrates how to back up a program on a memory submodule Figure 4 4 Procedure for Backing Up the Program on a Memory Submodule Yes Plug EEPROM sub module into the CPU Turn off the S5 100U Program is loaded 1 Red LED flickers Release COPY Press COPY key for at least 3 s Insert replace battery Battery low LED yellow lights Red LED flashes Red LED flashes...

Страница 82: ...ble controller is turned on Otherwise an OVERALL RESET is required when you turn the programmable controller on The lithium battery in the programmable controller has a life expectancy of at least one year The yellow LED on the operator panel lights up if the battery fails Warning Do not charge lithium batteries They could explode Dispose of used batteries properly 4 5 Program Dependent Signal Sta...

Страница 83: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a STATUS Q 2 0 1 1 Refer to your programmer manual for information about the test function on your programmer 4 6 Direct Signal Status Display STATUS VAR This test function specifies the status of the operands in...

Страница 84: ...de using the changed process variables They can be changed again during program scanning without an acknowledgement being required The process variables are forced asynchronously to the program scanning Special characteristics You can change the I Q and F variables in the process I O image table by bits bytes or words For the T and C variables in KM and KH format note the following For programmers...

Страница 85: ...this programmer function is called up program scanning is stopped at a definite point The cursor indicates this breakpoint which is a statement in the program The programmable controller scans the program up to the statement selected The current signal states and the RLO up to the statement selected are displayed as in the STATUS test function The program can be scanned section by section by shift...

Страница 86: ...signal status display STATUS VAR Forcing of outputs and variables FORCE FORCE VAR Information functions ISTACK BSTACK If the function is aborted due to hardware faults or program errors the programmable controller goes into the STOP mode and the red LED on the control panel of the CPU lights Refer to your programmer manual for information about calling up these functions on your programmer 4 12 EW...

Страница 87: ...5 2 2 Interrupt Analysis 5 4 5 2 3 Errors during Program Copying 5 5 5 2 4 Explanation of the Mnemonics Used in ISTACK 5 6 5 3 Program Errors 5 8 5 3 1 Locating the Error Address 5 8 5 3 2 Tracing the Program with the BSTACK Function 5 11 5 4 I O Faults 5 12 5 5 System Parameters 5 12 5 6 The Last Resort 5 13 EWA 4NEB 812 6120 02b ...

Страница 88: ... 4 Tracing the Program with BSTACK 5 11 5 5 Analyzing the Cause of a Fault in the I Os 5 12 Tables 5 1 Error Indication and Error Analysis 5 1 5 2 ISTACK Output Bytes 1 to 16 5 2 5 3 Interrupt Analysis 5 4 5 4 Errors when Copying 5 5 5 5 Meaning of the Remaining ISTACK Bits 5 6 5 6 Mnemonics Used for the Interrupt Display 5 7 EWA 4NEB 812 6120 02b ...

Страница 89: ... the programmer to execute an interrupt analysis see section 5 2 If both LEDs light your programmable controller is in the START UP operating mode 5 2 CPU Malfunctions 5 2 1 ISTACK Analysis Function The interrupt stack is an internal CPU memory area where the causes of malfunctions are stored If there is a malfunction a bit in the respective byte of the memory area is set Using the pro grammer you...

Страница 90: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a IRRELEVANT a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 91: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 92: ...emory submodule The program in the PLC memory is defective Cause A power failure has interrupted one of the following operations Compress Block transfer from the PG to the PLC or memory submodule to the PLC PLC overall reset Battery has been replaced while the power was off Operating mode switch on STOP Statement cannot be decoded Nesting level is too high Parameter exceeds permitted limits Expans...

Страница 93: ...rect actual parameter Change actual parameter 5 2 3 Errors during Program Copying Error message after the COPY key is released the red LED continues flashing Table 5 4 Errors when Copying SAZ STEP Address Counter The ISTACK bytes 25 and 26 read 1111 1111 FF Loading the memory submodule into the PLC Program on the memory submodule is too long for the PLC s program memory Program on the module conta...

Страница 94: ... STOP RUN change Battery backup available PLC not yet in cycle after Power ON See bytes 9 and 10 for cause AF 4 Interrupt enable enabling of time controlled OB13 and interrupt driven OB3 KOPFNI 5 Program contains errors Block header cannot be interpreted KEIN AS URLAD SYNFEH 6 Not enough S5 statement memory available Overall reset program defective Program contains errors ANZ 1 ANZ 0 OV OR STATUS ...

Страница 95: ... unit not connected Expansion module not connected I O bus malfunction Maximum shift register length exceeded Unknown module Module in the wrong slot STATUS STATUS of the operand of the last binary statement executed STOPS Operating mode switch on STOP STS Operation interrupted by a programmer STOP request or programmed STOP statements STUE Block stack overflow The maximum block call nesting depth...

Страница 96: ...t has been programmed in PB7 Figure 5 1 Structured Program with an Illegal Statement BE JU PB0 BE OB1 JU PB7 BE PB0 L PB 0 PB7 Illegal statement a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Whe...

Страница 97: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 98: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 99: ...reach FB2 and lets you know which DB was open at the time of call up BSTACK contains the three marked return addresses Figure 5 4 Tracing the Program with BSTACK 06 OB1 04 JU PB2 02 00 JU PB1 PB1 xx BE 00 PB2 04 02 JU PB4 00 C DB5 xx BE 18 BE PB3 16 JU FB2 00 C DB3 PB4 08 JC FB2 00 10 xx BE FB2 00 2A L DW4 xx BE a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 100: ...ace bus unit Replaced module is defective yes no yes Power supply ok no Module addressable via the process input image PII and the process out put image PIQ STA TUS VAR FORCE VAR Bus connection ok Replace module with simulator module Is a check with STATUS VAR or FORCE VAR possible Check connections of other bus units and interface modules yes Fault Module power supply ok 5 5 System Parameters The...

Страница 101: ...rogrammable controller was turned off Remedy Perform an overall reset and load the program again How to perform an overall reset without a programmer 1 Set the operating mode switch to STOP 2 Remove the battery 3 Set the ON OFF switch to 0 4 Set the ON OFF switch to 1 5 Install a battery Contact your local Siemens representative if the above measures are ineffective EWA 4NEB 812 6120 02b 5 13 ...

Страница 102: ...EWA 4NEB 812 6120 02b ...

Страница 103: ...102 Version 8MA01 Revision 5 and Higher 6 7 6 4 3 Function Modules 6 7 6 5 The Structure of Process Image Input and Output Tables 6 8 6 5 1 Accessing the Process Image Input Table PII 6 10 6 5 2 Accessing the Process Image Output Table PIQ 6 11 6 6 Interrupt Process Images and Time Controlled Program Processing in OB13 for CPU 103 Version 8MA02 and Higher 6 12 6 6 1 Accessing the Interrupt PII 6 1...

Страница 104: ...Assignment of Process Images to the I O Modules 6 9 6 8 Accesses to the PII 6 10 6 9 Accesses to the PIQ 6 11 6 10 Accesses to the Interrupt PII 6 13 6 11 Accesses to the Interrupt PIQ 6 14 Tables 6 1 Error Messages for Output Modules with Error Diagnostics 6 6 6 2 Address Assignment 6 7 6 3 Structure of the PII and the PIQ 6 8 6 4 Structure of the Interrupt PII and the Interrupt PIQ 6 12 6 5 Impo...

Страница 105: ...igure 6 1 Address Assignment Data direction module CPU I O module Slot number Channel number Control program Address in a statement Address in the pro cess image output table PIQ Process image I O tables in the CPU Address in the pro cess image input table PII 6 1 Slot Numbering The programmable controller can have a maximum of four tiers You can use up to 16 bus units 32 slots The slots are numbe...

Страница 106: ...mbers 20 19 23 24 12 11 10 8 9 13 17 16 14 15 CPU 1 0 2 7 4 5 6 3 When expanding your system always add the new bus units to the topmost tier on the right Other wise the slot numbers on the right of the new bus units will be changed requiring address changes in your control program Note After every expansion check to make certain that the addressing used in the control program is the same as that ...

Страница 107: ... a a a a a a a a a a a a a a a a CPU 9 8 11 10 12 13 15 14 16 17 1 0 2 3 4 5 6 Existing configuration 9 8 11 10 12 13 7 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a CPU 1 0 2 3 4 5 6 11 10 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a CPU 1 0 2 7 8 9 12 13 9 8 11 10 12 13 15 14 16 17 3 4 5 6 The slot numbers of the old bus units move to numbers 12 t...

Страница 108: ... connection of the actuators or sensors to the terminals of the terminal block The assignment for the channel number and the terminal number is printed on the frontplate of the module Example Address Assignment You are connecting a 2 wire BERO proximity limit switch to an 8 x 24 V DC digital input module 6ES5 421 8MA11 at terminal 3 The other wire is routed to an L positive supply voltage termi na...

Страница 109: ...d in Eight bytes four words are reserved per slot Two bytes 1 word are reserved per channel The slot addressing area is changed The permissible address space extends from byte 64 slot 0 channel 0 to byte 127 slot 7 channel 3 Figure 6 6 Address Assignment for Analog Modules Channel number 64 65 66 67 68 69 70 71 7 6 5 4 3 2 1 0 Slot number CPU 0 1 2 3 72 79 80 87 88 95 96 103 104 111 112 119 120 12...

Страница 110: ...dules can signal errors to the CPU 4 x 24 V DC 0 5 A 6ES5 440 8MA12 4 x 24 V DC 2 0 A 6ES5 440 8MA22 4 x 24 to 60 V DC 0 5 A 6ES5 450 8MB11 You can read the error messages on input channels I X 0 and I X 1 not with CPU 100 version 8MA01 The following error messages are possible Table 6 1 Error Messages for Output Modules with Error Diagnostics X is the byte address slot number of the output module...

Страница 111: ...s to the crimp connector The channel numbers are printed on the frontplate Table 6 2 Address Assignment 72 0 to 72 7 80 0 to 80 7 88 0 to 88 7 73 0 to 73 7 81 0 to 81 7 89 0 to 89 7 1 2 3 104 0 to 104 7 112 0 to 112 7 120 0 to 120 7 105 0 to 105 7 113 0 to 113 7 121 0 to 121 7 96 0 to 96 7 97 0 to 97 7 4 5 6 7 64 0 to 64 7 65 0 to 65 7 0 Slot Number Address PII IN and PIQ OUT Channel n 0 to n 7 Ch...

Страница 112: ...ress areas as shown in Table 6 3 Table 6 3 Structure of the PII and the PIQ Slot Number Digital modules 0 to 31 Unassigned address space Module Byte Address in the PII and PIQ 0 to 31 32 to 63 64 to 127 Analog modules 0 to 7 The address space for bytes 0 through 31 is reserved for information from or to modules that are addressed like digital modules The unassigned address space in bytes 32 to 63 ...

Страница 113: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 114: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 115: ...PIQ Byte 116 Byte 117 7 6 5 4 3 2 1 0 Byte 4 a a a a a a a a a a a a a a a a Byte 29 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 116: ...a of 128 bytes each in the RAM The interrupt PII and interrupt PIQ can be divided into three address areas as shown in Table 6 4 Table 6 4 Structure of the Interrupt PII and the Interrupt PIQ Byte address in interrupt PII and interrupt PIQ Module Slot number 0 to 31 32 to 63 64 to 127 Digital modules Analog modules 0 to 31 0 to 7 Unassigned address space Note The interrupt process images can be ac...

Страница 117: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a High byte 0 15 L PY 21 a a a a a...

Страница 118: ...iting signal states to all channels of an 8 channel digital output module in slot 13 Word by word writing PW word address Example Writing an analog value to channel 3 of a 4 channel analog output module in slot 5 Interrupt PIQ Byte 13 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 119: ...0 to ECFF ED00 to ED0F 100 C000 to DFFF E400 to E41F E440 to E47F E480 to E49F E4C0 to E4FF EE00 to FFFF E280 to E29F E2A0 to E2AF E2B0 to E2BF PII analog PII digital PIQ digital CPU Memory submodule Non retentive counters PIQ analog Retentive counters Timers EE00 to EE3F EE40 to EE7F EE40 to EE7F EE00 to EE3F E300 to E33F E340 to E37F Retentive flags Non retentive flags FC80 to FCFF FD00 to FEFF ...

Страница 120: ...STACK 5 2 8 to 12 Integral real time clock 12 33 First free program memory address 35 Program memory starting address 37 Program memory end address 40 to 45 CPU version software release 57 to 63 SINEC L1 13 96 Scan monitoring time value 10 ms 97 Calling interval for OB 13 for time controlled program processing value 10 ms 7 4 4 128 to 159 BSTACK Block STACK 5 3 2 203 to 214 ISTACK Interrupt STACK ...

Страница 121: ...igher 7 11 7 3 4 Function Blocks 7 11 7 3 5 Data Blocks 7 16 7 4 Program Processing 7 18 7 4 1 Program Processing with CPU 102 7 19 7 4 2 START UP Program Processing 7 24 7 4 3 Cyclic Program Processing 7 26 7 4 4 Time Controlled Program Processing for CPU 103 Version 8MA02 and Higher 7 28 7 4 5 Interrupt Driven Program Processing for CPU 103 Version 8MA02 and Higher 7 29 7 5 Processing Blocks 7 3...

Страница 122: ...e for CPU 102 7 21 7 11 Display of the Processing Mode in the ISTACK 7 22 7 12 Setting the Start Up Procedure 7 24 7 13 Cyclic Program Processing 7 26 7 14 Calculating the Response Time 7 27 7 15 Compressing the Program Memory 7 30 7 16 Bit Assignment of a 16 Bit Fixed Point Binary Number 7 31 7 17 BCD and Decimal Formats 7 32 Tables 7 1 Comparison of Operation Types 7 2 7 2 Comparison of Block Ty...

Страница 123: ...ntation are possible with the STEP 5 programming language Statement List STL STL represents the program as a sequence of operation mnemonics A statement has the following format a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 124: ...ds of Representation STL CSF LAD The STEP 5 programming language has the following three operation types Basic Supplementary System Table 7 1 provides further information about these operations Table 7 1 Comparison of Operation Types STEP 5 PROGRAMMING LANGUAGE Basic Operations Supplementary Operations System Operations Application In all blocks Only in function blocks Only in function blocks Meth...

Страница 125: ...ata Memory for intermediate results of digital operations T timers Memory for implementing timers C counters Memory for implementing counters P peripherals Interfaces from the process to the programmable controller K constants Defined numeric values OB PB SB FB DB blocks Program structuring aids Refer to Appendix A for a listing of all operations and operands 7 1 3 Circuit Diagram Conversion If yo...

Страница 126: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a I 0 0 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a I 0 1 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Q 1 0 S1 S2 H1 7 2 Program Structure An S5 100U program can be one of the two following types Linear Structured Sections 7 2 1 and 7 2 2 describe these program types 7 2 1 Linear Pr...

Страница 127: ... program Program Block PB Program blocks arrange the control program according to functional or technical aspects Sequence Block SB Sequence blocks are special blocks that program sequence controls They are handled like program blocks This is available for CPU 103 and higher Function Block FB Function blocks are special blocks for programming frequently recurring or especially complex program part...

Страница 128: ...programmable controller can call an organization block automatically under certain circumstances e g OB2 The total nesting depth is the sum of the nesting depths of call programmed organization blocks If nesting goes beyond 16 levels 32 levels for CPU 103 version 8MA03 the CPU goes into the STOP mode with the error message STUEB block stack overflow see section 5 2 Figure 7 2 illustrates the nesti...

Страница 129: ... FB0 to FB63 64 OB0 to OB63 Number CPU 102 64 PB0 to PB63 62 DB2 to DB63 64 FB0 to FB63 Basic operations Operations set contents Basic operations Basic operations STL CSF LAD Representa tion methods STL CSF LAD STL CSF LAD 5 words Block header length 5 words 5 words Bit patterns numbers texts 5 words Basic supple mentary system operations STL 5 words 8 Kbytes 8 Kbytes Length max CPU 103 8 Kbytes 8...

Страница 130: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Synchronization pattern Block type ...

Страница 131: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 132: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 133: ... They are treated like program blocks 7 3 4 Function Blocks Frequently recurring or complex control functions are programmed in function blocks FB Function blocks have the following special features FBs can be assigned parameters for CPU 103 and higher Actual parameters can be assigned when the block is called for CPU 103 and higher FBs have an extended set of operations not available to other blo...

Страница 134: ...lock parameter as a formal operand is given a designation DES Under this designation it is replaced by an actual parameter when the function block is called The name can be up to four characters long and must begin with an alpha character You can program up to 40 block parameters per function block Block Parameter Type You can enter the following parameter types I input parameters Q output paramet...

Страница 135: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 136: ...KC for a count BCD coded 0 to 999 KF for a fixed point number in the range from 32768 to 32767 Constants B Type designation not permitted DBx Data blocks The C DBx operation is executed OBx Organization blocks are called unconditionally JU x FBx Function blocks permissible without parameters only are called unconditionally JU x PBx Program blocks are called unconditionally JU x SBx Sequence blocks...

Страница 137: ...me DES of a parameter is IN1 the parameter type is I as in input the data type is BI as in bit The formal operand for the FB has the following structure DES IN1 I BI Specify in the parameter list of the calling block which actual operand is to replace the formal operand in the FB call In our example it is I 1 0 Enter in the parameter list IN1 I 1 0 When the FB is called it replaces the formal oper...

Страница 138: ...Formal operands NAME EXAMPLE DES X1 I BI DES X2 I BI DES X3 Q BI A X1 A X2 X3 BE A I 0 0 A F 1 3 Q 1 0 A I 0 3 A I 0 2 Q 1 0 Executed program X3 Q 1 0 Second call 7 3 5 Data Blocks Data blocks DB store data to be processed in a program The following data types are permissible Bit pattern representation of controlled system states Hexadecimal binary or decimal numbers times results of arithmetic op...

Страница 139: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 140: ...ID control algorithm These OBs are described in chapter 9 Section 7 3 1 summarizes all of the OBs Comparing Programming Possibilities for CPU 100 CPU 102 and CPU 103 Table 7 5 Programming Possibilities CPU CPU 100 CPU 102 CPU 103 Cyclical Yes Yes Yes Interrupt driven No No Yes for 8MA02 and higher Time controlled No No Yes for 8MA02 and higher Integral FBs No Yes for 8MA02 and higher Yes Graph 5 N...

Страница 141: ...r is called a mode change Test Mode Scanning the STEP 5 program Normal Mode The control program you have written in STEP 5 is not processed directly What is processed is a translated or runtime optimized form of the program generated by the programmable controller Figure 7 9 Program Scanning with CPU 102 Control program in STEP 5 Transfer data Runtime optimized program Cycle trigger Assemble compi...

Страница 142: ...s Display You can monitor and control signals states with the STATUS VAR and FORCE VAR functions The STATUS function can be used only in the test mode Diagnostics The BSTACK diagnostics function cannot be activated Fault Analysis The ISTACK bytes 23 to 27 are not valid Therefore you cannot determine the point in a program where an interruption took place programmable controller in STOP e g program...

Страница 143: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 1 Reset the PLC 2 Turn off the PLC 3 Plug in memory submodule 4 Turn on the PLC Red LED flickers when program loaded Load progr...

Страница 144: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a You can use a programmer to check the current processing mode in the ISTACK The ISTACK display byte 6 is possible in RUN and STOP see section 5 2 KEIN AS 1 Test mode Execution time is 70 ms 1024 binary statements There are no limitations on the test or operator functions KEIN AS 0 Normal mode Execution time is 7 ms 102...

Страница 145: ...ogram your control according to example 2 A I 0 0 5 AN I 1 1 6 ON I 2 3 6 O I 3 5 6 Q 4 2 8 A F 15 1 5 A F 16 3 6 AN F 17 7 6 Q 4 5 8 Execution time 56 µs STL A I 0 0 5 AN I 0 1 2 ON I 0 3 2 O I 0 5 2 Q 4 2 8 A F 15 1 5 A F 15 3 2 AN F 15 7 2 Q 4 5 8 Execution time 36 µs STL Time µs Time µs Approx 6 µs binary operation Approx 4 µs binary operation Example 1 Example 2 EWA 4NEB 812 6120 02b 7 23 ...

Страница 146: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 147: ... to be sure that the power supply voltage for the I Os has attained its rated value before the cyclic program is pro cessed A time loop is there fore programmed in OB22 Example 2 Programming OB21 STL L KH 0 T FW 0 T FW 2 T FW 4 T FW 6 T FW 8 BE Explanation Value 0 is loaded in ACCU 1 and transferred into flag words 0 2 4 6 and 8 Example After the operating mode switch causes a cold restart flag by...

Страница 148: ...cle scan cycle trigger If the scan cycle time trigger is not reset within the scan monitoring time the CPU automatically enters the STOP mode and disables the output modules You can set the monitoring time see Table 6 6 You could have a control program that is so complex that it cannot be processed within 300 ms With CPU 103 and higher you can use OB31 see section 9 3 to lengthen retrigger the sca...

Страница 149: ...time 3 x operating system run time delay time of the input modules Maximum processing time of the internal timers tTm tTm number of processed timers x 32 µs number of processed timers for CPU 100 16 number of processed timers for CPU 102 32 number of processed timers for CPU 103 128 tTm 103 µs for CPU 103 version 8MA03 tRm tG 1 tTm a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 150: ...MA02 and higher You determine the intervals at which you want the operating system to process OB13 It is also possible to change the call up intervals during cyclic program processing Cyclical program processing continues if OB13 is not programmed Setting the call up interval You can set the call up interval in DB1 using the TFB block ID You can set the times from 10 ms to 655 530 ms use 10 ms inc...

Страница 151: ... indicated in ISTACK by the NNN error message Writing to the interrupt PIQ Data to the external I Os can be written to the interrupt PIQ by means of transfer operations T PY 0 to 127 or T PW 0 to 126 The normal PIQ is written to simultaneously After OB13 has finished the data that has been transferred to the interrupt PIQ is output to the peripheral I Os in an interrupt output data cycle before no...

Страница 152: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Compress Valid blocks Invalid a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 153: ...igned to process binary signal states only 0 and 1 Therefore the programmable controller represents all numbers internally as 16 bit binary numbers or as bit patterns Four bits can be combined into a tetrad BCD to shorten the binary code representation The value of these tetrads can be displayed in hexadecimal representation Example 16 bit binary coded number and shortened hexadecimal representati...

Страница 154: ... 1 1 0 0 0 1 1 BCD No Decimal format a a a a a a a a a a a a a a a a a a a a a a a a a 0 a a a a a a a a a a a a a a a a a a a a a a a a a 9 a a a a a a a a a a a a a a a a a a a a a a a a a 3 a a a a a a a a a a a a a a a a a a a a a a a a a 1 Table 7 6 Comparison of Number Formats Decimal BCD Hexadecimal 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 0 1 2 3 4 5 ...

Страница 155: ...0 0 1 1 0 0 0 0 0 0 0 1 1 1 1 1 0 0 1 1 0 0 0 0 0 1 0 0 1 0 0 1 1 0 0 1 0 0 0 0 0 0 0 1 1 1 1 1 0 0 1 1 LC C 1 L C 1 Incorrect Method If you use the LCC1 statement the current count will be loaded in BCD The F comparison operation results in a not equal to condition since the comparison uses different formats Correct Method The formats are identical if the LC1 statement is input a a a a a a a a a ...

Страница 156: ...EWA 4NEB 812 6120 02b ...

Страница 157: ...tal Logic Operations 8 44 8 2 5 Shift Operations 8 48 8 2 6 Conversion Operations 8 50 8 2 7 Decrement Increment for CPU 103 and Higher 8 52 8 2 8 Disable Enable Interrupt for CPU 103 Version 8MA02 and Higher 8 53 8 2 9 DO Operation for CPU 103 and Higher 8 54 8 2 10 Jump Operations 8 56 8 2 11 Substitution Operations for CPU 103 and Higher 8 58 8 3 System Operations for CPU 103 and Higher 8 64 8 ...

Страница 158: ... of Digital Logic Operations 8 44 8 15 Overview of Shift Operations 8 48 8 16 Overview of Conversion Operations 8 50 8 17 Decrement Increment Operations 8 52 8 18 Disable Enable Interrupt Operations 8 53 8 19 Overview of the DO Operation 8 54 8 20 Overview of Jump Operations 8 56 8 21 Overview of Binary Logic Operations 8 58 8 22 Overview of Set Reset Operations 8 59 8 23 Overview of Load and Tran...

Страница 159: ...tement list STL control system flowchart CSF or ladder diagram LAD methods of representation Supplementary Operations include complex functions such as substitution statements test functions and shift and conversion operations They can be input and output in STL form only System Operations access the operating system directly Only an experienced programmer should use them System operations can be ...

Страница 160: ...n the processor through logic AND1 Scan operand for 1 and combine with RLO through logic OR The result is 1 when the operand in question has signal state 1 Otherwise the scan results in 0 Combine this result with the RLO in the processor through logic OR1 Scan operand for 0 and combine with RLO through logic AND The result is 1 when the operand in question has signal state 0 Otherwise the scan res...

Страница 161: ... The number of scans and the sequence of the logic statements are at random OR Operation The OR operation scans to see if one of two or more conditions has been satisfied LAD a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Q 1 0 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a I 0 1 I 0 2 a a a a a a a a a a a a a a a a a a a a...

Страница 162: ...a a a a a a a a a a a a a a a a a a a a a a a I 0 0 LAD Circuit Diagram STL CSF A I 0 0 A I 0 1 O A I 0 2 A I 0 3 Q 1 0 Example Output Q 1 0 is 1 when at least one AND condition has been satisfied Output Q 1 0 is 0 when neither of the two AND conditions has been satisfied I 0 2 I 0 0 Q 1 0 I 0 1 I 0 3 1 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 163: ...1 0 is 1 when one of the following conditions has been satisfied Input I 0 0 is 1 Input I 0 1 and either input I 0 2 or I 0 3 is 1 Output Q 1 0 is 0 when none of the AND conditions has been satisfied Q 1 0 I 0 1 1 1 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a I 0 0 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 164: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a I 0 2 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a I 0 3 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Q 1 0 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a I 0 1 a a a...

Страница 165: ...ation Meaning Set The first time the program is scanned with RLO 1 signal state 1 is assigned to the addressed operand An RLO change does not affect this status Parameter CPU 100 CPU 102 CPU 103 0 0 to 127 7 0 0 to 127 7 0 0 to 127 7 0 0 to 127 7 0 0 to 127 7 0 0 to 127 7 0 0 to 127 7 0 0 to 127 7 0 0 to 255 7 Operand S R Reset The first time the program is scanned with RLO 1 signal state 0 is ass...

Страница 166: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 167: ...tains signal state 0 If both inputs have a 1 signal state the flip flop is set set dominant The signal state of the flag is scanned and transferred to output Q 1 0 STL F 1 7 R S Q LAD CSF a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a I 0 0 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a I 0 1 ...

Страница 168: ... 2 ACCU 1 Low byte High byte Low byte High byte 15 8 7 0 15 8 7 0 You can load and transfer permissible operands in bytes or words For exchange in bytes infor mation is stored right justified i e in the low byte The remaining bits are set to zero You can use various operations to process the information in the two accumulators Load and transfer operations are executed independently of condition co...

Страница 169: ...ode regardless of the RLO Parameter CPU 100 CPU 102 CPU 103 0 to 127 0 to 127 0 to 127 0 to 126 0 to 126 0 to 126 0 to 127 0 to 127 0 to 127 0 to 126 0 to 126 0 to 126 0 to 127 0 to 127 0 to 255 0 to 126 0 to 126 0 to 254 0 to 255 0 to 255 0 to 255 0 to 255 0 to 255 0 to 255 0 to 255 0 to 255 0 to 255 0 to 15 0 to 31 0 to 127 0 to 15 0 to 31 0 to 127 0 to 127 0 to 126 random bit random bit random ...

Страница 170: ...yte c L IB8 L IB7 Information from the PII Lost information 0 IB7 ACCU 2 ACCU 1 Byte b Byte d IB7 Byte d Byte c Byte a Byte b IB7 0 Byte b Byte a 0 IB8 IB Transfer Operation During transfer information from ACCU 1 is copied into the addressed memory area e g into the PIQ This transfer does not affect the contents of ACCU 1 Example Figure 8 3 shows how byte a the low byte in ACCU 1 is transferred t...

Страница 171: ...imer The programmer automatically stores the corresponding load and transfer operation in the control program Thus the contents of the memory lo cation addressed with T 10 are loaded into ACCU 1 Afterwards the contents of the accumulator are transferred to the process image addressed with QW62 In this example you can see timer T 10 at QW62 in binary code Outputs BI and DE are digital outputs The t...

Страница 172: ...e Then a transfer operation transfers the accumulator contents to the process image memory location addressed by QW50 A coding operation is possible only indirectly for the graphic representation forms LAD and CSF by assigning an address to output DE of a timer or counter location However this operation can be entered with a separate statement with STL I0 0 QW50 T 10 1 TV BI DE R Q a a a a a a a a...

Страница 173: ...mer is started on the leading edge of the RLO When the RLO is 0 the timer is set to 0 Scans result in signal state 1 when the timer has run out and the RLO is still pending at the input Stored On Delay Timer The timer is started on the leading edge of the RLO When the RLO is 0 the timer is not affected Scans result in signal state 1 when the timer has run out The signal state becomes 0 when the ti...

Страница 174: ...ou can load a timer with any of the following data types KT constant time value or DW data word IW input word QW output word FW flag word These data types must be in BCD code Loading a Constant Time Value The following example shows how you can load a time value of 40 s L KT 40 2 Operation Operand Coded time base 0 to 3 Time 0 to 999 Key for Time Base Base 0 1 2 3 Factor 0 01 s 0 1 s 1 s 10 s 8 16...

Страница 175: ... base possible Loading a Time as an Input Output Flag or Data Word Load Statement L DW 2 The time 638 s is stored in data word DW2 in BCD code Bits 14 and 15 are insignificant for the time value 11 0 15 1 0 1 0 Bit Time base Three digit time value in BCD code DW2 0 1 1 1 0 0 0 1 0 0 Key for Time Base Base 0 0 0 1 1 0 1 1 Factor 0 01 s 0 1 s 1 s 10 s You can also use the control program to write to...

Страница 176: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a Three digit time value in BCD code indicates bit positions occupied by 0 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 177: ...e statement Q 1 0 output Q 1 0 remains set The change is not considered until the next program scanning cycle KT 100 0 is equal to 1 s Program Signal from timer 17 L KT 100 0 SP T 17 A T 17 Q 1 0 n number of program scanning cycles tp program scan time 0 1 The following rules apply to timers Except for Reset timer all timer operations are started only when there is an edge change The RLO alternate...

Страница 178: ... a a a a a a a a a a a a a a a a a a a a a Q 1 0 KT 500 0 1 TV BI DE R Q T 1 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 179: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a T 2 Time relay with pulse shaper a a a a a a a a a a a...

Страница 180: ...NOP 0 A T 3 Q 1 0 Timing Diagram I 0 0 KT 900 0 Q 1 0 T 0 TV BI DE R Q T 3 1 0 1 0 9 I 0 0 Q 1 0 Time in s Signal states 9 I 0 0 Q 1 0 T 3 KT 900 0 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Q 1 0 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a I 0 0 T 0 TV BI DE R Q T 3 8 22 EWA 4NEB 812 6...

Страница 181: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a I 0 1 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a I 0 1 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a H 1 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a H 1 a a a a a a a a a a a a a a a a a a a a a a ...

Страница 182: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Q 1 0 LAD Circuit Diagram STL CSF A I 0 0 L FW 14 SF T 5 NOP 0 NOP 0 NOP 0 A T 5 Q 1 0 Timing Diagram I 0 0 FW14 Q 1 0 0 T TV BI DE R Q T 5 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a I 0 0 FW14 0 T TV BI DE R Q T 5 t t I 0 0 Q 1 0 1 0 1 0 Signal states Time in s I 0 0 Q 1 0 8 24 EW...

Страница 183: ...eset Counter The counter is set to zero as long as the RLO is 1 Count Down The count is decremented by 1 on the leading edge of the RLO When the RLO is 0 the count is not affected ID C CD CU Count Up The count is incremented by 1 on the leading edge of the RLO When the RLO is 0 the count is not affected Loading a Count Counter operations call internal counters When a counter is set the word in ACC...

Страница 184: ...ag or Data Word Load statement L DW 3 The count 410 is stored in data word DW3 in BCD code Bits 12 to 15 are insignificant for the count 11 0 15 0 1 0 0 0 0 0 1 0 0 0 0 Bit Three digit count in BCD code DW3 Scanning the Counter Use Boolean logic operations to scan the counter status e g A Cx As long as the count is not zero the scan result is signal state 1 8 26 EWA 4NEB 812 6120 02b ...

Страница 185: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Binary count Three digit count in BCD code indicates bit positions occupied by 0 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 186: ... a a a a a a a a a a a a 7 a a a a a a a a a a a a a a a a 0 a a a a a a a a a a a a a a a a 0 S C 1 I 0 0 I 0 1 C 1 Q 1 0 a a a a a a a a a a a a a a a a 1 a a a a a a a a a a a a a a a a 1 Circuit Diagram Timing Diagram 0 S CI R Binary 16 bits Q 1 0 I 0 0 KC 7 Count I 0 1 CQ I I I I a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 187: ... 0 NOP 0 A I 0 1 R C 1 NOP 0 NOP 0 A C 1 Q 1 0 Circuit Diagram Timing Diagram a a a a a a a a a a a a a a a a 1 a a a a a a a a a a a a 1 a a a a a a a a a a a a a a a a 1 Time a a a a a a a a a a a a a a a a 0 a a a a a a a a a a a a a a a a a a a a 0 a a a a a a a a a a a a a a a a a a a a 2 a a a a a a a a a a a a a a a a a a a a 0 a a a a a a a a a a a a a a a a 0 I 0 0 I 0 1 C 1 Q 1 0 0 I 0 1...

Страница 188: ... the two accumulators are interpreted as fixed point numbers They are compared to see if the operand in ACCU 2 is greater than or equal to the operand in ACCU 1 F Compare for less than The contents of the two accumulators are interpreted as fixed point numbers They are compared to see if the operand in ACCU 2 is less than the operand in ACCU 1 F Compare for less than or equal to The contents of th...

Страница 189: ...he accumulators as fixed point numbers and manipulate them The result is stored in ACCU 1 Table 8 7 provides an overview of the arithmetic operations An example follows the table Table 8 7 Overview of Arithmetic Operations Operation Meaning Addition The contents of both accumulators are added Operand F F Subtraction The contents of ACCU 1 are subtracted from the contents of ACCU 2 CPU 102 and high...

Страница 190: ...e operations do not affect the RLO The condition codes are set according to the results Explanation STL L C 3 L C 1 F T QW12 The value of counter 3 is loaded into ACCU 1 The value of counter 1 is loaded into ACCU 1 The previous contents of ACCU 1 are shifted to ACCU 2 The contents of the two accumulators are interpreted as 16 bit fixed point numbers and added The result contents of ACCU 1 is trans...

Страница 191: ... along but not affected BE is always the last statement in a block BEU BEC Block end unconditional The current block is terminated regardless of the RLO Program scanning continues in the block in which the call originated The RLO is carried along but not affected Block end conditional When the RLO is 1 the current block is terminated Program scanning continues in the block in which the call origin...

Страница 192: ...function block FB26 STL Explanation Program Sequence PB63 FB26 JU FB26 Conditional Block Call JC One block is called within another block when the previous condition has been satisfied RLO 1 Example A special function has been programmed in FB63 It is called and processed under certain conditions e g in PB10 FB63 STL S F 1 0 A I 0 0 JC FB 63 The JC FB63 statement in program block PB10 calls functi...

Страница 193: ...ta block DB20 STL Explanation Program Sequence PB3 C DB20 C DB10 L DW1 T DW3 DB20 DW1 DB10 DW3 Generating and Deleting a Data Block The G DB x statement does not call a data block Instead it generates a new block If you want to use the data in this data block call it with the C DB statement Before the G DB statement indicate in ACCU 1 the number of data words the block is to have see the example b...

Страница 194: ...data words 0000 in the RAM of the PLC and entered in the block address list The next time the G DB5 operation is processed it has no effect if the contents of ACCU 1 are not 0 Deleting a Data Block STL Explanation Example Delete a data block that is no longer needed L KF 0 G DB 5 The constant fixed point number 0 is loaded into ACCU 1 At the same time the old contents of ACCU 1 are shifted to ACCU...

Страница 195: ... block PB3 and causes program scanning to return to organization block OB1 Explanation Program Sequence BE OB1 PB3 JU PB3 Unconditional Block End BEU The BEU operation causes a return within a block However jump operations can bypass the BEU operation in function blocks see sections 8 2 10 and 8 3 4 Binary logic operations cannot be continued in a higher order block Example Scanning of function bl...

Страница 196: ... PB7 FB20 A I 0 0 BEC JU FB20 8 1 9 Other Operations Table 8 9 lists other basic operations Explanations follow the table Table 8 9 Other Operations Operation Meaning Operand ID STP Stop at the end of program scanning in OB1 Current program scanning is terminated The PIQ is read out Then the PLC goes into the STOP mode NOP 0 No Operation Sixteen bits in the RAM are set to 0 NOP 1 No Operation Sixt...

Страница 197: ... overwrite memory locations Display Generation Operations BLD display generation operations divide program parts into segments within a block NOP operations and display generation operations are significant only for the programmer when representing the STEP 5 program The programmable controller does not execute any operation when these statements are processed 8 2 Supplementary Operations Suppleme...

Страница 198: ...follows the table Table 8 10 Load Operation Operation Meaning Parameter 0 to 255 Operand L Load A word from the system data is loaded into ACCU 1 regardless of the RLO ID RS STL Explanation Example In order to set parameters for SINEC L1 bus operation via the system data the programmer and slave numbers from SD57 should be input into ACCU 1 L RS 57 Load ACCU 1 with the pro grammer and slave number...

Страница 199: ... up or down when the RLO 1 is pending at the Start operation ID T C STL Explanation Example Input I 0 0 starts a timer T 2 as an extended pulse pulse width 50 s This timer sets output Q 1 0 for the duration of the pulse If output Q 1 1 is reset repeatedly the timer should also be restarted repeatedly A I 0 0 L KT 500 1 SE T 2 A T 2 Q 1 0 A Q 1 1 FR T 2 BE Start a timer T 2 as an extended pulse Out...

Страница 200: ... Operand TB TBN Test a bit for signal state 0 A single bit is scanned regardless of the RLO The RLO is affected according to the bit s signal state see Table 8 13 ID T C D RS1 SU RU Set a bit unconditionally The addressed bit is set to 1 regardless of the RLO The RLO is not affected Reset a bit unconditionally The addressed bit is set to 0 regardless of the RLO The RLO is not affected 1 RS applies...

Страница 201: ...es As long as bit 8 of data word DW12 is 1 program scanning jumps to function block FB 6 This is the case for the second fourth sixth etc batch of 100 pieces When data bit 11 of data word DW12 becomes 1 the count is then 800 flag F 5 2 is set conditionally Input I 0 4 loads the count of counter 20 with the constant 0 The count is incremented by 1 with each positive edge change at input I 0 3 If th...

Страница 202: ...d AW Combine bit by bit through logic AND OW XOW Combine bit by bit through logic OR Combine bit by bit through logic EXCLUSIVE OR Processing a Digital Logic Operation A digital logic operation is executed regardless of the RLO It also does not affect the RLO However it sets condition codes according to the result of the arithmetic operation see section 8 4 Note Make sure both operands have the sa...

Страница 203: ... 1 are shifted to ACCU 2 Combine the contents of both accumulators bit by bit through logic AND Transfer the resulting contents from ACCU 1 to output word QW82 Numeric Example ACCU 2 ACCU 1 ACCU 1 1 0 0 1 1 1 0 0 AND Result 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 15 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 1 1 0 0 1 1 1 0 0 KH 00FF IW92 Set the 8 high order bits in input word IW92 to 0 Compare both words bit by bi...

Страница 204: ...rs bit by bit through logic OR Transfer the result contents of ACCU 1 to input word IW36 Numeric Example Set the 8 low order bits in input word IW36 to 1 Compare both words bit by bit If either of the corresponding bits is 1 a 1 is set in the result word OR Result 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 15 0 1 1 1 0 0 1 0 0 1 1 1 1 1 1 1 1 1 1 1 0 0 1 0 0 1 1 0 0 0 1 1 0 KH 00FF ACCU 2 ACCU 1 ACCU 1 IW36 ...

Страница 205: ...ators bit by bit through logic EXCLUSIVE OR Transfer the result contents of ACCU 1 to output word QW86 Numeric Example Check to see if input words IW70 and IW6 are equal The result bit is set to 1 only if corresponding bits in ACCU 1 and ACCU 2 are unequal X OR Result 1 0 0 1 1 0 0 1 1 1 0 0 0 1 1 0 15 0 1 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 0 0 0 1 1 0 1 1 0 1 1 0 1 1 0 0 IW6 ACCU 2 ACCU 1 ACCU 1 IW70 ...

Страница 206: ...et condition codes Consequently the status of the last bit that is shifted out can be scanned with jump functions The shift statement parameter indicates the number of bit positions by which the contents of ACCU 1 are to be shifted to the left SLW or to the right SRW Bit positions vacated during shifting are assigned zeros The contents of the bits that are shifted out of ACCU 1 are lost Following ...

Страница 207: ...0 1 1 1 0 1 0 0 0 0 0 0 0 15 0 0 0 0 0 0 0 0 1 371210 ACCU 1 ACCU 1 46410 DW2 1 1 0 1 0 0 0 0 SLW 3 0 15 Explanation STL L IW 124 SRW 4 T QW 126 Load the value of input word IW124 into ACCU 1 Shift the bit pattern in ACCU 1 four positions to the right Transfer the result contents of ACCU 1 to output word QW126 Numeric Example The value 35210 is stored in IW124 Shift the corresponding bit pattern i...

Страница 208: ...Conversion Operations Execution of these operations does not depend on the RLO nor does it affect the RLO The CSW operation sets the condition codes see section 8 4 CFW 0 15 Explanation STL L DW 12 CFW T QW 20 Load the contents of data word DW12 into ACCU 1 Invert all bits in ACCU 1 Transfer the new contents of ACCU 1 to output word QW20 Numeric Example In a system normally open contacts have been...

Страница 209: ...s of input word IW12 into ACCU 1 Invert all bits and add a 1 Transfer the altered word to data word DW100 Numeric Example Form the negative value of the value in input word IW12 1 0 1 0 0 1 1 0 0 0 1 1 1 0 1 1 15 0 0 1 0 1 1 0 0 1 ACCU 1 ACCU 1 IW12 1 1 0 0 0 1 0 1 EWA 4NEB 812 6120 02b 8 51 ...

Страница 210: ...es The parameter indicates the value by which the contents of ACCU 1 are to be changed The operations refer to decimal values however the result is stored in ACCU 1 in binary form Changes relate only to the low byte in the accumulator Explanation Call data block DB6 Load hexadecimal constant 1010H into ACCU 1 Increment the low byte of ACCU 1 by 16 The result 1020H is located in ACCU 1 Transfer the...

Страница 211: ... Disable interrupt Enable interrupt RA Processing Execution of the disable enable interrupt operations does not depend on the RLO These operations do not affect the RLO or the condition codes After the IA statement is processed no more interrupts are executed The RA statement cancels the effect of IA STL Explanation Example Disable interrupt processing in a specific program section and then enable...

Страница 212: ... flag word or data word This parameter is the one called up in the first statement If you want to index binary operations inputs outputs or flags you input the bit address in the high byte of this word You input the byte address in the low byte In any other instance the high byte must be 0 You can combine the following operations with the DO statement Explanations Operations 1 In combination with ...

Страница 213: ...DW 1 L KB 1 F T DW 1 L KB 100 F JC F 1 Call data block DB202 Load constant number 20 in ACCU 1 Transfer contents from ACCU 1 to data word DW1 Load hex constant 0 in ACCU 1 DO data word DW1 Transfer the contents from ACCU 1 to the data word whose address is stored in data word DW1 Load data word DW1 in ACCU 1 Load constant number 1 in ACCU 1 Data word DW1 is shifted to ACCU 2 ACCU 2 und ACCU 1 are ...

Страница 214: ...e statement is not executed and the RLO is set to 1 Jump if the result is zero The jump is executed only if CC 1 0 and CC 0 0 The RLO is not changed Jump if the result is not zero The jump is executed only if CC 1 CC 0 The RLO is not changed Jump if the result is positive The jump is executed only if CC 1 1 and CC 0 0 The RLO is not changed Jump if the result is negative The jump is executed only ...

Страница 215: ... contents of the accumulator STL Explanation Example If no bit of input word IW1 is set program scanning jumps to the label AN 1 If input word IW1 and output word QW3 do not agree program processing jumps back to the label AN 0 Otherwise input word IW1 and data word DW12 are compared If input word IW1 is greater than or less than data word DW12 program scanning jumps to the DEST label AN0 L IW 1 L...

Страница 216: ...ever these special operations are no different in their effect than operations without substitution A brief description of these operations and examples follows Binary Logic Operations Table 8 21 provides an overview of binary logic operations Table 8 21 Overview of Binary Logic Operations Operation Meaning Operand A AN O ON AND operation Scan a formal operand for 1 AND operation Scan a formal ope...

Страница 217: ...in binary form I Q F BI S RB Set a formal operand binary Reset a formal operand binary Assign The RLO is assigned to a formal operand Example FB30 is assigned parameters in OB1 Call in OB1 Executed Program Program in FB30 JU FB 30 NAME COMBINE ON 1 I 0 0 ON 2 I 0 1 ON 3 I 0 2 VAL1 I 0 3 OFF1 Q 1 0 OFF2 Q 1 1 MOT5 Q 1 2 BE A ON 1 AN ON 2 O ON 3 S MOT 5 OFF 1 A VAL 1 A ON 2 ON ON 3 RB MOT 5 OFF 2 BE...

Страница 218: ...oad the bit pattern of a formal operand Transfer to a formal operand For L Timers and counters T C D KF KH KM KY KS KT KC I Q DW DR DL F PW PY BY W For LD For LW For T Inputs outputs data DW DR DL and flags addressed in binary form Bit pattern Example FB34 is assigned parameters in PB1 A I 0 0 L FW 10 S C 6 A I 0 1 L KC 140 S C 7 A I 0 2 CU C 6 CU C 7 LD C 7 T QW 4 A I 0 3 R C 6 R C 7 L KC 160 LD ...

Страница 219: ...e value stored in the accumulator or set a counter specified as a formal operand using the count specified in the accumulator SSU Start a stored on delay timer specified as a formal operand using the value stored in the accumulator or start the count up of a counter specified as a formal operand Start an off delay timer specified as a formal operand using the value stored in the accumulator or sta...

Страница 220: ... SSU TIM6 A TIM5 O TIM6 OFF6 A I 0 2 RD TIM5 RD TIM6 BE JU FB 32 NAME TIME I 5 I 0 0 I 6 I 0 1 TIM5 T 5 TIM6 T 6 OFF6 Q 1 0 BE Function Block Call Executed Program Example 2 A I 0 0 L KC 017 S C 5 A I 0 1 CU C 5 A I 0 2 CD C 5 A C 5 Q 1 0 A I 0 3 R C 5 BE Program in Function Block FB33 A I 2 L KC 017 SEC CNT5 A I 3 SSU CNT5 A I 4 SFD CNT5 A CNT5 OFF3 A I 0 3 RD CNT5 BE JU FB 33 NAME COUNT I2 I 0 0...

Страница 221: ...ed Operation Meaning Operand Formal operands DB PB SB FB1 B DO Process formal operand The substituted blocks are called unconditionally Data type Parameter type Example C DB 5 L DW 2 C DB 6 T DW 1 T QW 4 JU FB 36 BE Program in Function Block FB35 DO D5 L DW2 DO D6 T DW1 T Q4 DO MOT5 BE STL JU FB 35 NAME DO D5 DB 5 DW2 DW 2 D6 DB 6 DW1 DW 1 Q4 QW 4 MOT5 FB 36 BE Function Block Call Executed Program...

Страница 222: ...bits Table 8 26 provides an overview of the set operations Table 8 26 Overview of Set Operations Operation Meaning Operand SU Set bit unconditionally A specific bit is set to 1 in the system data area RU Reset bit unconditionally A specific bit is set to 0 in the system data area Parameter 0 0 to 255 15 ID RS Processing Set Operations Execution of set operations does not depend on the RLO 8 3 2 Lo...

Страница 223: ...ce area ACCU 2 T Transfer A word is transferred to the system data area Parameter 0 to 255 ID RS Loading and Transferring Register Contents Both accumulators can be addressed as registers Each register is 16 bits wide Since the LIR and TIR operations transmit data by words the registers are addressed in pairs Loading and transferring register contents are independent of the RLO The processor goes ...

Страница 224: ...each field must be specified because a field transfer takes place by decrementing The bytes in the destination field are overwritten during the transfer EE85 Representation Example Transfer a 12 byte data field from address F0A2H to address EE90H EE90 Destination F097 F0A2 Source TNB Explanation STL L KH F0A2 L KH EE90 TNB 12 Load the end address of the source field into ACCU 1 Load the end adress...

Страница 225: ...e operations can lead to changes in the program and to a programmable controller crash 8 3 3 Arithmetic Operations An arithmetic operation changes the contents of ACCU 1 by a specified value The parameter re presents this value as a positive or negative decimal number Table 8 28 shows the essential features of the ADD operation An example follows the table Table 8 28 Overview of the ADD Operation ...

Страница 226: ...g word FW30 8 3 4 Other Operations Table 8 29 provides an overview of the remaining system operations Table 8 29 The TAK and STS Operations Operation Meaning Operand TAK Swap accumulator contents Swap the contents of ACCU 1 and ACCU 2 regardless of the RLO The RLO and the condition codes are not affected STS Stop immediately The PLC goes into the STOP mode regardless of the RLO Processing the STS ...

Страница 227: ... allows you to use the JC conditional jump operation after a comparison operation Table 8 30 Condition Code Settings for Comparison Operations OV CC 0 CC 1 Condition Codes Contents of ACCU 2 as Compared to Contents of ACCU 1 Equal to 0 0 Less than Greater than JZ JN JM JN JP 0 1 1 0 Possible Jump Operations Condition Code Generation for Arithmetic Operations Execution of arithmetic operations sets...

Страница 228: ...ion code see Table 8 33 Code setting depends on the state of the last bit shifted out Table 8 33 Condition Code Settings for Shift Operations OV CC 0 CC 1 Condition Codes Value of the Last Bit Shifted Out 0 0 0 JZ 1 1 0 JN JP Possible Jump Operations Condition Code Generation for Conversion Operations The formation of the two s complement CSW sets all condition codes see Table 8 34 The state of th...

Страница 229: ...e RLO is 1 This sets flags F 64 0 and F 2 0 edge flags In the next processing cycle the AND condition A I 0 0 and AN F 64 0 is not satisfied since flag F 64 0 has already been set Flag 2 0 is reset Therefore flag F 2 0 is 1 for only one program run When input I 0 0 is switched off flag F 64 0 is reset This resetting prepares the way for evaluation of the next leading edge of the signal at input I ...

Страница 230: ... NOP 0 A F 1 1 A Q 1 0 F 2 0 A F 1 1 AN Q 1 0 AN F 2 0 S Q 1 0 A F 2 0 R Q 1 0 NOP 0 Circuit Diagram Timing Diagram Time 1 0 1 0 I 0 0 Q 1 0 Signal states I 0 0 Q 1 0 F 2 0 I 0 0 F 1 0 F 1 1 F 1 1 I 0 0 F 1 0 S R Q F 2 0 Q 1 0 F 1 1 Q 1 0 S R Q F 2 0 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a I 0 0 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 231: ...ulse duty factor 1 1 at output Q 1 0 The period of this pulse train is twice as long as the time value of the self clocking timer Circuit Diagram Timing Diagram T F 2 0 Q 1 0 T Time Signal states 1 0 1 0 G F 2 0 F 3 0 Q 1 0 Q 1 0 F 2 0 Q 1 0 F 2 0 F 3 0 F 2 0 F 3 0 F 2 0 KT 10 1 F 2 0 T 7 T 7 LAD STL CSF F 3 0 F 2 0 F 3 0 Q 1 0 F 2 0 KT 10 1 F 2 0 T 0 TV BI DE R Q S R Q S R Q F 2 0 Q 1 0 F 2 0 Q 1...

Страница 232: ...EWA 4NEB 812 6120 02b ...

Страница 233: ...e Programmable Controller 9 9 9 1 7 Reference Guide for Setting Parameters in DB1 9 10 9 1 8 Defining System Characteristics in DB1 9 11 9 2 Integrated Function Blocks for CPU 102 Version 8MA02 and Higher 9 11 9 2 1 Code Converter B4 FB240 9 12 9 2 2 Code Converter 16 FB241 9 12 9 2 3 Multiplier 16 FB242 9 13 9 2 4 Divider 16 FB243 9 13 9 2 5 Analog Value Conditioning Modules FB250 and FB251 9 14 ...

Страница 234: ...PID Controller 9 16 9 8 Principle of Interval Sampling 9 21 9 9 Process Schematic 9 22 Tables 9 1 Parameter Blocks and Their IDs 9 2 9 2 Call and Parameter Assignments of FB240 9 12 9 3 Call and Parameter Assignments of FB241 9 12 9 4 Call and Parameter Assignments of FB242 9 13 9 5 Call and Parameter Assignments of FB243 9 13 9 6 Legend for the Block Diagram of the PID Controller 9 16 9 7 Descrip...

Страница 235: ...k space or a comma Figure 9 1 DB1 with Default Parameters 0 KS DB1 SL1 SLN 1 SF 12 KS DB2 DW0 EF DB3 DW0 24 KS KBE MB100 KBS MB101 36 KS PGN 1 CLP CF 0 48 KS CLK DB5 DW0 STW 60 KS MW102 STP Y SAV Y 72 KS OHE N SET 4 01 04 92 84 KS 12 10 00 TIS 4 96 KS 01 04 13 00 00 OHS 108 KS 000000 00 00 SDP WD 120 KS 500 TFB OB13 100 132 KS END a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 236: ...ock with at least one filler between the semicolon and the next block ID The structure of the following parameter blocks is described here in detail ERT Error code position SDP System specifications The parameter blocks that are not discussed here are explained in the chapters that describe their functions 9 1 2 Setting the Address for the Parameter Error Code in DB1 For the following reasons we r...

Страница 237: ... 00 00 OHS 108 KS 000000 00 00 SDP WD 120 KS 500 TFB OB13 100 132 KS ERT ERR MW1 END a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 5 Use the following check list to make sure your entries are correct Is the block ID ERT terminated by a ...

Страница 238: ... a a a a a A block ID e g CLP a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 239: ...e filler after the colon of a block ID 3 Enter the parameter name followed by a filler The parameter name comes next Parameter names are names for single parameters within a parameter block Within a block the first four characters of a parameter name must be different from each other After the parameter name you must add at least one filler 4 Enter the argument that is attached to the parameter na...

Страница 240: ...ny characters as you wish if you add an underscore _ after the abbreviated parameter name Example SF becomes SF_SENDMAILBOX At the end of the input you must add at least one filler There is a rule of thumb that will help you check DB1 You should include at least one filler in the following instances After the start ID Before and after the block ID parameter name argument and semicolon 9 1 5 How to...

Страница 241: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 242: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 243: ...ters in DB1 for those internal functions that your programmable controller should work with The programmable controller s operating system accepts these inputs into DB1 only when there is a cold restart You must perform a cold restart anytime you make changes to DB1 You can perform a cold restart by switching from Power OFF to Power ON or from STOP to RUN The programmable controller accepts the pa...

Страница 244: ... clock during STOP SToP Saving the clock time after the last change from RUN to STOP or Power OFF SAVe Enabling the operating hours counter Operation Hour counter Enable Setting the clock time and date Setting the prompting time TImer Set Setting the operating hours counter Operation Hour counter Set Parameter Argument Meaning Block ID SL1 Slave number Location of Send Mailbox Location of Receive ...

Страница 245: ...accepts the changed parameters Figure 9 5 Inputting the System Data Parameter 0 KS DB1 SL1 SLN 1 SF 12 KS DB2 DW0 EF DB3 DW0 24 KS KBE MB100 KBS MB101 36 KS PGN 1 CLP CF 0 48 KS CLK DB5 DW0 STW 60 KS MW102 STP Y SAV Y 72 KS OHE N SET 4 01 04 92 84 KS 12 10 00 TIS 4 96 KS 01 04 13 00 00 OHS 108 KS 000000 00 00 SDP WD 120 KS 700 TFB OB13 100 132 KS END a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 246: ... Sign of the BCD number DUAL Fixed point number KF 16 bits 0 or 1 Q W JU FB240 NAME COD B4 BCD SBCD DUAL 1 for 0 for STL 9 2 2 Code Converter 16 FB241 Use function block FB 241 to convert a fixed point binary number 16 bits to a number in BCD code with additional consideration of the sign An eight bit binary number must be transferred to a 16 bit word before conversion Table 9 3 Call and Parameter...

Страница 247: ...s 16 Bits JU FB242 NAME MUL 16 Z1 Z2 Z3 0 Z32 Z31 9 2 4 Divider 16 FB243 Use function block FB 243 to divide one fixed point binary number 16 bits by another The result quotient and remainder is represented by two fixed point binary numbers 16 bits each The divisor and the result are also scanned for zero An eight bit number must be transferred to a 16 bit word prior to division Table 9 5 Call and...

Страница 248: ...program scan time If program scanning takes longer than the specified scan monitoring time the CPU goes into the STOP mode This can happen when one of the following errors occurs The control program is too long The program enters a continuous loop You can retrigger the scan time monitor at any point in the control program by calling up OB31 Calling up this block restarts the scan time monitor Call...

Страница 249: ...Block DW 1 DW 49 OB251 PID Control Algorithm The continuous action controller is designed for controlled systems such as those present in process engineering for controlling pressure temperature or flow rate The R variable sets the proportional element of the PID controller If proportional action is required most controller designs use the value R 1 The individual Proportional action Integral acti...

Страница 250: ... a a a a STEU Bit 5 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a STEU Bit 2 Manual function a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a STEU Bit 3 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a STEU Bit 4 0 YA dY...

Страница 251: ...ection rate algorithm 4 HANDART 0 1 When GESCHW 0 Following the transfer to Manual mode the specified manipulated variable value YA is adjusted exponentially to the manual value in four sampling steps Additional manual values are then forwarded immediately to the controller output When GESCHW 1 The manual values are forwarded immediately to the controller output The limiting values are in force in...

Страница 252: ...kR dIk dDk With feedforward control D11 5 0 XZ is forwarded to the differentiator D11 1 1 dYk K XWk XWk 1 R TI XWk TD XZk 2XZk 1 XZk 2 dDk 1 Zk Zk 1 K dPWkR dIk dDk dZk P element I element D element k kth element Z element When XWk is applied XWk Wk Xk PWk XWk XWk 1 QWk PWk PWk 1 XWk 2XWk 1 XWk 2 When XZ is applied PZk XZk XZk 1 QZk PZk PZk 1 XZk 2XZk 1 XZk 2 The result is dPWk XWk XWk 1 R dIk TI ...

Страница 253: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 254: ...o 2047 24 Z Disturbance variable 2047 to 2047 29 XZ Derivative time 2047 to 2047 48 YA Output variable 2047 to 2047 All parameters with the exception of the control word STEU must be specified as 16 bit fixed point numbers Caution The PID algorithm uses the data words that are not listed in Table 9 8 as auxiliary flags 9 20 EWA 4NEB 812 6120 02b ...

Страница 255: ...ideration for digital control loops do not select a sampling interval that is too large Experience has shown that a TA sampling interval of approximately 1 10 of the time constant TRK dom produces a control result comparable to the equivalent analog result Dominant system time constant TRK dom determines the step response of the closed control loop TA 1 10 TRK dom In order to ensure the constancy ...

Страница 256: ...e controller for each controlled system Y Temperature sensor Manipulated variable Transducer Actual value Setpoint adjuster Analog input module e g 6ES5 460 OB251 with controller DB call in OB13 Analog output module e g 6ES5 470 W X Annealing furnace Channel1 Channel0 Control byte DR11 IB32 Channel 0 Final control element Fuel gas flow Controlled system S5 100U PID control algorithm Figure 9 9 Pro...

Страница 257: ...STL Description JU FB 10 PROCESS CONTROLLER NAME CONTROLLER 1 THE CONTROLLER S SAMPLING INTERVAL DEPENDS ON THE TIME BASE USED TO CALL OB13 SET IN DB1 THE DECODING TIME OF THE ONBOARD ANALOG INPUTS MUST BE TAKEN INTO ACCOUNT WHEN SELECTING THE SAMPLING INTERVAL BE EWA 4NEB 812 6120 02b 9 23 ...

Страница 258: ...ORE BE TRANSFERRED WITH T DR11 TO PREVENT CORRUPTING DL11 READ ACTUAL VALUE AND SETPOINT A F 12 0 FLAG 0 FOR UNUSED FUNCTIONS R F 12 0 IN FB 250 AN F 12 1 FLAG 1 S F 12 1 JU FB250 READ ACTUAL VALUE NAME RLG AI BG KF 8 MODULE ADDRESS KNKT KY 0 6 CHANNEL NO 0 FIXED POINT BIPOLAR OGR KF 2047 UPPER LIMIT FOR ACTUAL VALUE UGR KF 2047 LOWER LIMIT FOR ACTUAL VALUE EINZ F 12 0 NO SELECTIVE SAMPLING XA DW ...

Страница 259: ... A F 10 0 IN MANUAL MODE THE SETPOINT IS JC WEIT SET TO THE ACTUAL VALUE TO FORCE L DW 22 THE CONTROLLER TO REACT T DW 9 TO A SYSTEM DEVIATION IF ANY WITH A P STEP ON TRANSFER TO AUTOMATIC MODE WEIT JU OB251 CALL CONTROLLER OUTPUT MANIPULATED VALUE JU FB251 NAME RLG AQ XE DW 48 BG KF 8 MODULE ADDRESS KNKT KY 0 1 CHANNEL 0 FIXED POINT BIPOLAR OGR KF 2047 UPPER LIMIT FOR ACTUATING SIGNAL UGR KF 2047...

Страница 260: ...2047 14 KF 02000 UPPER CONT LIMIT BGOG FACTOR 1 15 KH 0000 VALUE RANGE 2047 TO 2047 16 KF 02000 LOWER CONT LIMIT BGUG FACTOR 1 17 KH 0000 VALUE RANGE 2047 TO 2047 18 KH 0000 19 KH 0000 20 KH 0000 21 KH 0000 22 KF 00000 ACTUAL VALUE X FACTOR 1 23 KH 0000 VALUE RANGE 2047 TO 2047 24 KF 00000 DISTURBANCE VARIABLE Z FACTOR 1 25 KH 0000 VALUE RANGE 2047 TO 2047 26 KH 0000 27 KH 0000 28 KH 0000 29 KF 00...

Страница 261: ...10 Interrupt Processing 10 1 Interrupt Processing with OB2 for CPU 103 Version 8MA02 and Higher 10 1 10 2 Calculating Interrupt Reaction Times 10 5 EWA 4NEB 812 6120 02b ...

Страница 262: ...Programmable Controller with Bus Units Having Interrupt Capability 10 1 10 2 Program Interruptions by Process Interrupts 10 2 10 3 Accessing the Process Image Tables from OB2 10 4 Tables 10 1 Additional Reaction Times 10 5 EWA 4NEB 812 6120 02b ...

Страница 263: ... may plug other modules in but these modules will have no interrupt handling capability The programmable controller is in the Power ON state and in the RUN operating mode Interrupt processing is not disabled by an IA operation in your program See section 8 2 8 OB2 has been programmed Figure 10 1 Possible Configuration of the Programmable Controller with Bus Units Having Interrupt Capability 8 DI 4...

Страница 264: ...ata packet consisting of four data bits and a check bit Figure 10 2 Program Interruptions by Process Interrupts INTERRUPT BE A I 0 2 S Q 14 0 BE OB2 L PY2 Interrupt PII Interrupt PIQ Cyclic or time controlled program processing Interrupt driven program processing Use the IA command to disable interrupt processing Use the RA command to enable interrupt processing The default setting is RA see secti...

Страница 265: ...errupt PII the normal PII is not written to simultaneously Writing to the Interrupt PIQ Data from time controlled or interrupt driven programs to I O modules are written to the interrupt PIQ and simultaneously to the normal PIQ After OB2 is finished the data that has been transferred to the interrupt PIQ is output to the peripheral I Os in an interrupt output data cycle before normal program proce...

Страница 266: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a L PYX L PY1 L PW0 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 267: ...o integrated FBs were used No parameters for the integral clock are set No programmer OP functions are present OB13 has not been programmed No SINEC L1 is connected The additional reaction times are variable They are listed in Table 10 1 Table 10 1 Additional Reaction Times Interrupt Reaction Times Additional Running Functions of the Programmable Controller Integrated FBs Parameters set for clock ...

Страница 268: ...EWA 4NEB 812 6120 02b ...

Страница 269: ...re and Four Wire Transducers 11 4 11 2 5 Connection of Resistance Thermometers 11 6 11 3 Start Up of Analog Input Modules 11 7 11 4 Analog Value Representation of Analog Input Modules 11 11 11 5 Analog Output Modules 11 19 11 5 1 Connection of Loads to Analog Output Modules 11 19 11 5 2 Analog Value Representation of Analog Output Modules 11 20 11 6 Analog Value Conversion Function Blocks FB250 an...

Страница 270: ...cers 6ES5 464 8ME11 11 5 11 7 Wiring Method for PT 100 6ES5 464 8MF11 8MF21 11 6 11 8 Wiring Possibilities for Input Modules 6ES5 464 8MF11 11 6 11 9 Load Connection via a Four Wire Circuit 6ES5 470 8MA11 6ES5 470 8MD11 11 19 11 10 Load Connection via a Two Wire Circuit 6ES5 470 8MB11 6ES5 470 8MC11 11 20 11 11 Scaling Schematic for FB250 11 22 11 12 Schematic for Display of Tank Make Up Quantity ...

Страница 271: ...ut Module 464 8MA21 4x 50 mV with Linearization and with Temperature Compensation Bipolar Thermoelement Type K Nickel Chromium Nickel Aluminium according to IEC 584 11 14 11 11 Analog Input Module 464 8MA21 4x 50 mV with Linearization and with Temperature Compensation Bipolar Thermoelement Type J Iron Copper Nickel Konstantan according to IEC 584 11 15 11 12 Analog Input Module 464 8MA21 4x 50 mV ...

Страница 272: ...EWA 4NEB 812 6120 02b ...

Страница 273: ... Observe the following rules to connect current and voltage sensors to analog input modules When you have multi channel operations assign the channels in ascending order This shortens the data cycle Use terminals 1 and 2 for the connection of a compensating box 464 8MA11 or for the supply of two wire transducers 464 8ME11 Terminals 1 and 2 cannot be used with the remaining analog input modules Sho...

Страница 274: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Reference junction With non floating sensors e g non isolat...

Страница 275: ...log Input Module 466 8MC11 for voltages from 0 to 10 V Figure 11 3 shows the two wire connection of voltage sensors Figure 11 3 Two Wire Connection of Voltage Sensors 6ES5 464 8MB11 464 8MC11 466 8MC11 a a a a a a a a a a a a 1 a a a a a a a a a a a a 3 a a a a a a a a a a a a a a a a a a a a 10 a a a a a a a a a a a a a a a a 7 a a a a a a a a a a a a 9 a a a a a a a a a 2 a a a a a a a a a a a a...

Страница 276: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 11 2 4 Connection of Two Wire and Four Wire Transducers Use the 24 V inputs 1 and 2 of analog input module 464 8ME11 to supply the two wire transducers The two wire transducer converts the supplied voltage to a current of 4 to 20 mA For wiring connections see Figure 11 5 Figure 11 5 Connection of Two Wire Transduc...

Страница 277: ...a a a a a 5 a a a a a a a a a a a a U Four wire transducer a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Four wire transducers require their own power supply Connect the pole of the four wire transducer to the corresponding pole of the terminal block a connection technique that is the opposite of the two wire transducer Connect negative terminals of the four wire ...

Страница 278: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 279: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Function Powe...

Страница 280: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 1 channel channel 0 a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 281: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a without linearization Temperature compensation Characteristic linearization of thermocouples 8 7 6 5 4 3 2 1 8 7 6 5 4 3 2 1 8 7 6 5 4 3 2 1 8 7 6 5 4 3 2 1 8 7 6 5 4 3 2 1 8 7 6 5 4 3 2 1 8 7 6 5 4 3 2 1 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 282: ...aracteristic linearization for the PT 100 8 7 6 5 4 3 2 1 8 7 6 5 4 3 2 1 8 7 6 5 4 3 2 1 8 7 6 5 4 3 2 1 8 7 6 5 4 3 2 1 8 7 6 5 4 3 2 1 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 283: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 284: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 285: ... 0 1 0 0 0 0 0 1400 345 13 700 1292 0 0 1 0 1 0 1 1 1 1 0 0 0 0 0 0 1000 280 90 500 932 0 0 0 1 1 1 1 1 0 1 0 0 0 0 0 0 600 212 02 300 572 0 0 0 1 0 0 1 0 1 1 0 0 0 0 0 0 300 157 31 150 302 0 0 0 0 1 0 0 1 0 1 1 0 0 0 0 0 200 138 50 100 212 0 0 0 0 0 1 1 0 0 1 0 0 0 0 0 0 Nominal range 2 100 39 1 34 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 100 00 0 32 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 40 92 16 20 4 1 1 1 1...

Страница 286: ...0 0 1 Overrange 1369 54 773 1369 2496 0 0 1 0 1 0 1 0 1 1 0 0 1 0 0 0 1000 41 269 1000 1832 0 0 0 1 1 1 1 1 0 1 0 0 0 0 0 0 500 20 640 500 932 0 0 0 0 1 1 1 1 1 0 1 0 0 0 0 0 150 6 137 150 302 0 0 0 0 0 1 0 0 1 0 1 1 0 0 0 0 100 4 095 100 212 0 0 0 0 0 0 1 1 0 0 1 0 0 0 0 0 Nominal range 1 0 039 1 34 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 32 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 039 1 30 1 1 1 1 1 1 ...

Страница 287: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Units Thermal Voltage in mV Temperature C F High Byte Low Byte Range 1485 0 0 1 0 1 1 1 0 0 1 1 0 1 0 0 1 Overflow 1201 1201...

Страница 288: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Units Thermal Voltage in mV Temperature C F High Byte Low Byte Range 1361 0 0 1 0 1 0 1 0 1 0 0 0 1 0 0 1 Overflow 901 901 1654 0 0 0 1 1 1 0 0 0 0 1 0 1 0 0 1 Overrange 900 53 14 900 1652 0 0 0 1 1 1 0 0 0 0 1 0 0 0 0 0 500 27 85 500 932 0 0 0 0 1 1 1 1 1 0 1 0 0 0 0 0 250 13 75 250 482 0 0 0 0 0 1 1 1 1 1 0 1 0 0 0 0 100 5 37...

Страница 289: ...el 2 in IB74 4th analog value channel 3 in IB75 Function block FB72 pictured below reads in the analog values and pre processes them for function block FB250 analog value reading NAME READ 466 READ IN ALL CHANNELS 0005 OF AI 466 0006 L IW 72 READ ALL FOUR CHANNELS 0007 T FW 72 AND REARRANGE 0008 L IW 74 0009 T FW 74 000A 000B L FY 72 PROCESS EACH ANALOG VALUE 000C SLW 6 AND REWRITE THEM IN 000D T ...

Страница 290: ...464 however without an overflow bit FB73 Explanation NAME READ AI 000A L IB 67 Read in channel 3 000C SLW 6 000E T IW 70 0010 0012 L IB 66 Read in channel 2 0014 SLW 6 0016 T IW 68 0018 001A L IB 65 Read in channel 1 001C SLW 6 001E T IW 66 0020 0022 L IB 64 Read in channel 0 0024 SLW 6 0026 T IW 64 0028 002A 002C JU FB 250 002E NAME RLG AI 0030 BG KF 0 Module on slot 0 0032 KNKT KY 0 4 Channel No...

Страница 291: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 292: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a 6 10 a a a a a a a a a a a a a a a a a a a a a a a a a QI a a a a a a a a a a a a a a a a a a a a a a a a a RL a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a MANA a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Terminals 11 5 2 ...

Страница 293: ...x 1025 10 0098 20 0195 1 0 1 1 1 1 1 1 1 1 1 1 x x x x 1280 12 5 25 0 1 0 1 1 0 0 0 0 0 0 0 0 x x x x Overrange 2x 10 V 6ES5 470 8MA12 2x 20 mA 6ES5 470 8MB12 Table 11 16 Output Voltages and Currents for Analog Output Modules Unipolar a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 294: ...mber D KF KNKT Channel number Channel type D KY 0 to 7 KY x y x 0 to 3 y 3 to 6 3 Absolute value representation 4 to 20 mA 4 Unipolar represen tation 5 Bipolar absolute value 6 Bipolar fixed point number OGR Upper limit of the output value D KF UGR Lower limit of the output value D KF EINZ Single scan I BI XA Output value Q W FB Error bit Q BI BU Range violation Q BI 32767 to 32767 32767 to 32767 ...

Страница 295: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 1 5 DQ DQ AQ AI PS CPU The analog output of the SONAR BERO delivers a constant current in the range 4 to 20 mA proportional to the gap between sensor and liquid This curren...

Страница 296: ...nt number FB F0 0 1 if wire break BU F0 1 1 if tank too full JU FB 241 Conversion of fixed point number into BCD number The BCD number is stored in flag bytes 11 to 13 Output is via two 8 channel digital output modules in slots 2 and 3 The BCD tetrads 5 and 6 stored in flag word 11 need not be output since the number has only three digits STL Explanation L FW12 Read tetrads 0 to 3 of the BCD numbe...

Страница 297: ...limit value setting Q BI 1 if UGR OGR invalid channel or slot or invalid channel type BU Input value exceeds UGR or OGR Q BI 1 if XE lies outside limits UGR OGR XE assumes the limit value JU FB 251 NAME RLG AQ XE BG KNKT OGR UGR FEH BU XE Analog value to be output I W Input value two s complement in the range UGR to OGR OGR Upper limit of the output value D KF 32767 to 32767 Example Display of Tan...

Страница 298: ... of the analog output module For this reason the UGR parameter must be assigned the value 30 0 Figure 11 15 Transformation of the Analog Value to the Nominal Range Tank contents 30 0 m3 0 0 m3 30 0 m3 20 mA 0 mA 20 mA STL Explanation JU FB251 Unconditional call up FB251 NAME RLG AQ XE FW20 Tank contents BG 1 Slot 1 KNKT 0 1 Channel 0 channel type 1 OGR 300 High limit 30 0 m3 UGR 300 Low limit 30 0...

Страница 299: ... 3 2 Setting the Prompt Time in DB1 12 6 12 3 3 Setting the Operating Hours Counter in DB1 12 7 12 3 4 Entering the Clock Time Correction Factor in DB1 12 7 12 4 Structure of the Clock Data Area 12 8 12 5 Structure of the Status Word and How to Scan it 12 12 12 6 Setting Parameters for the Clock Data Area and the Status Word in the System Data Area 12 15 12 7 Programming the Integral Real Time Clo...

Страница 300: ...erring Settings to the Operating Hours Counter 12 31 Tables 12 1 Reading the Current Clock Time and Current Date 12 3 12 2 DB1 Parameters for the Integral Real Time Clock 12 4 12 3 Clock Data in the Clock Data Area 12 9 12 4 Range Definitions for Clock Data 12 10 12 5 Significance of Bits 0 1 2 and 3 of the Status Word 12 13 12 6 Significance of Bits 4 and 5 of the Status Word 12 13 12 7 Significa...

Страница 301: ...the user program see section 12 7 The hardware clock requires a clock data area and a status word in order to function The location of both the clock data area and the status word must be stored in system data 8 to 10 Operating Principle of the Clock Data exchange between the integral real time clock and the control program always goes through the clock data area The clock stores current values fo...

Страница 302: ... continues to run internally with the current values The clock time is updated one second after the next cycle starts 12 2 1 Defaults The following values are preset in the parameter block when you output the default DB1 Figure 12 1 DB1 with Default Parameters for Integral Real Time Clock 36 KS PGN 01 CLP CF 0 48 KS CLK DB5 DWO STW 60 KS MW102 STP Y SAV Y 72 KS OHE N SET 4 01 04 92 84 KS 12 00 00 ...

Страница 303: ...3 for information about storing the current clock time and current date 5 Switch the programmable controller from STOP to RUN The clock accepts the values present in DB1 6 Enter DB5 and DW0 to DW3 on the programmer by using the FORCE VAR function 7 Press the ENTER key twice The clock runs using the current values Table 12 1 Reading the Current Clock Time and Current Date Signal States Operand Expl...

Страница 304: ...255 yy 0 to 99 year y 0 to 255 hh 00 to 23 hours z 0 to 254 mn 00 to 59 minutes j J yes ss 00 to 59 seconds y Y yes hhhhhh 0 to 999999 hours n N no Entering the correction factor Correction Factor Location of the clock data CLocK Data Location of the status word STatus Word Updating the clock during STOP SToP Saving the clock time after the last change from RUN to STOP or Power OFF SAVe Enabling t...

Страница 305: ...rea See Table 12 3 After the SET parameter enter the weekday the date and the clock time you want the clock to use when it begins running Be certain to include the blank spaces The clock runs in the 24 hour time mode since you do not enter either AM or PM Explanation 36 KS PGN 01 CLP CF 0 48 KS CLK DB5 DW0 STW 60 KS MW102 STP Y SAV Y 72 KS OHE N SET 2 09 11 92 84 KS 15 30 00 TIS 4 a a a a a a a a ...

Страница 306: ... the Prompting Time Explanation 36 KS PGN 01 CLP CF 0 48 KS CLK DB5 DW0 STW 60 KS MW102 STP Y SAV Y 84 KS 12 00 00 TIS 5 96 KS 17 12 08 00 00 PM OHS a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 307: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 308: ...rea DB1 and the control program store the settings for prompt times and operating hours counters in the same data area The control program can only read from or write to the clock data area The control program can never access the clock directly Figure 12 6 illustrates the relationship between DB1 or the control program the clock data area and the integral real time clock Figure 12 6 How DB1 or th...

Страница 309: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Settings for clock time date a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 310: ...pting time then the program sets the relevant error bit Leap year settings are only relevant when the clock is programmed in the user program If DB1 is used the leap year settings are carried out automatically by the system The clock settings you enter must be within the range defined in Table 12 4 Table 12 4 Range Definitions for Clock Data 0 to 59 0 to 59 In the 24 hour mode 0 to 23 In the 12 ho...

Страница 311: ...etentive flag area then the following two events occur All the settings are lost after Power OFF and cold restart The time the last switch from RUN to STOP occurred is lost Remember that you can decide where to locate the clock data area The word numbers listed in Table 12 3 are relative If your clock data area is located in a data block and does not begin with data word DW0 but DWX then you must ...

Страница 312: ... set or reset these bits using the S or R operations in the control program If you use an operator panel such as the OP 396 to monitor the program it is an advantage to have the programmable controller update the clock time the current date even in the STOP mode The operating system resets the transfer settings bits bits 2 10 and 14 in the status word under the following conditions The settings ha...

Страница 313: ...ords 18 to 21 contain the time at which the last RUN to STOP switch occurred or the time at which the last Power OFF occurred if bit 4 is also set 0 The clock updates only words 0 to 3 current time date in the clock data area You can set the clock by using the FORCE VAR programmer function Words 18 to 21 are not used 0 RUN 4 1 0 The clock continually updates the clock data area Words 0 to 17 5 1 W...

Страница 314: ...bers 6 7 11 and 15 You can not use these bits Scanning the Status Word In a data block you can use the P data word number bit number operation to scan the individual bits of a data word In the flag area you can scan the individual bits if you enter the byte address and the bit number Example The status word is stored in DW13 You are checking to see if the set prompt time has been reached The P D 1...

Страница 315: ... Q F DB number DB2 to DBFFH Byte address DB word number DW0 to DWFFH Start address for the clock data Relevant only for operand area D 9 Operand area for the status word ASCII characters I Q F D EA14 EA15 Start address for the status word Operand area D Operand areas I Q F DB number DB2 to DBFFH Byte address DB word number DW0 to DWFFH Start address for the status word Relevant only for operand ar...

Страница 316: ... programmer function when the programmable controller is in the RUN mode Use the FORCE VAR programmer function when the programmable controller is in the STOP mode and status word bit 4 1 The following example uses the first method Proceed as follows 1 Set the programmable controller to Power OFF 2 Set the operating mode switch to STOP 3 Set the programmable controller to Power ON 4 Perform an ove...

Страница 317: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 318: ...B 22 JU FB 1 NAME CLOCK BE The function block is called up once when the programmable controller is switched on Table 12 13 DB75 Program STL Explanation DB 75 0 KH 0000 1 KH 0000 2 KH 0000 3 KH 0000 4 KH 0000 5 KH 0000 6 KH 0000 7 KH 0000 Define the number of data words Data words 0 to 7 are used in the example See Table 12 3 Define the numerical representation Hex is used in the examples 12 18 EW...

Страница 319: ...o clock reading current clock data DW 4 DW 5 DW 6 DW 7 KH 0002 KH 0212 KH 9210 KH 3000 Monday December 2 1992 10 30 o clock writing new settings FW 12 KM 00000000 00000100 If you set bit 2 in the status word to 1 the new settings are transferred to the clock 3 Begin status processing by pressing the ENTER key twice Bit 2 in the status word is reset The clock runs with the new settings Note Besides...

Страница 320: ... used Eliminate the errors The clock runs with the new settings Incorrect settings The clock continues running with the old values Write the settings into the clock data area Wait approximately two seconds entering a wait program If you do not want a value for example the minutes in the settings to be transferred enter the value for relevant byte as either 255D or FFH When you set the clock the ol...

Страница 321: ...ransfer these settings to flag bytes FY120 to FY127 Values that you do not want to change must be preset with FFH You can define the clock mode with input I 1 0 1 12 hour mode Input I 0 1 is the AM PM bit that you use for setting the 12 hour mode The clock data area is in DB2 beginning with DW0 and the status word is FW10 OB1 STL Explanation SETTING THE TIME AND DATE FIRST TRANSFER TIME AND DATE V...

Страница 322: ...DE STATUS WORD BIT 1 AN F 20 0 FLAG IS RESET IF SETTINGS ALREADY JC M001 READ INTO CLOCK DATA AREA R F 20 0 C DB 2 CLOCK DATA AREA L WDAY STORE VALUE FOR WEEKDAY T DR 4 L DAY STORE VALUE FOR DAY T DR 5 L MON STORE VALUE FOR MONTH T DR 5 L YEAR STORE VALUE FOR YEAR T DL 6 L HOUR STORE VALUE FOR HOUR ON AMPM IF 12 HOUR MODE IS SET AND ON MODE AM PM BIT 1 AFTERNOON THE JC MORN RELEVANT BIT IN THE CLO...

Страница 323: ...a positive edge at input I 0 5 Flag F 13 1 indicates which mode the clock is operating in Flag F 13 0 is the AM PM bit in the 12 hour mode The clock data area is in DB2 beginning with DW0 and the status word is FW10 Explanation OB1 STL READING TIME AND DATE A I 0 5 TIME AND DATE ARE AN F 0 1 STORED IN FY30 TO FY36 IN CASE OF A F 0 0 POSITIVE EDGE AT I 32 5 A I 32 5 EXTERNAL EVENT F 0 1 A F 0 0 EDG...

Страница 324: ... Q D B T C Q BI BY W D BI DES MIN I Q D B T C Q BI BY W D BY DES SEC I Q D B T C Q BI BY W D BY DES MODE I Q D B T C Q BI BY W D BI C DB 2 L DR 0 WEEKDAY T WDAY L DL 1 DAY T DAY L DR 1 MONTH T MON L DL 2 YEAR T YEAR L DR 2 HOUR L KH 007F ERASE AM PM BIT AW ONLY RELEVANT IN 12 HOUR MODE T HOUR TB D 2 7 DISPLAY AM PM BIT AMPM ONLY RELEVANT IN 12 HOUR MODE L DL 3 MINUTE T MIN L DR 3 SECOND T SEC A F ...

Страница 325: ...area or use only part of it This has no impact on anything else 12 7 2 Programming the Prompt Function Transferring Settings to the Clock You can store the settings in the clock data area by using transfer operations see Table 12 3 The AM PM flag bit number 7 is only significant in 12 hour mode Bit 7 1 means PM Bit 7 0 means AM You must transfer the clock data in BCD code TIP The KC data format lo...

Страница 326: ...ect Prompt time function is turned off Write the settings into the clock data area Set transfer bit 14 in the control program Wait about two seconds entering wait program The lower part of the flow chart has only a diagnostic function There is nothing you must perform Possible errors Clock is not available Clock system data is incorrect or not available Clock data area is too small Clock is defect...

Страница 327: ...FFH You set the clock mode with input I 1 0 Use input I 0 1 to specify the the AM PM bit for 12 hour mode If the preset prompt time has been reached set flag F 13 2 If errors are made while entering the prompt time the error bit flag F 12 2 is set The clock data is stored in DB2 beginning with data word DW0 and the status word is flag word FW10 OB1 STL Explanation SETTING AND EVALUATING THE PROMPT...

Страница 328: ... I BI BY W D BY DES ERR I Q D B T C Q BI BY W D BI DES ALRM I Q D B T C Q BI BY W D BI DES MODE I Q D B T C I BI BY W D BI A MODE 24 HOUR MODE 0 12 HOUR 1 F 11 1 SET CLOCK MODE A F 10 5 DISPLAY PROMPT TIME REACHED S ALRM BIT 13 IN STATUS WORD R F 10 5 RESET BIT AFTER EVALUATION AN F 20 1 FLAG IS RESET IF SETTINGS HAVE ALREADY JC M001 BEEN READ INTO THE CLOCK DATA AREA R F 20 1 C DB 2 CLOCK DATA AR...

Страница 329: ...MINUTES T DL 11 L SEC STORE VALUE FOR SECONDS T DR 11 AN F 10 6 TRANSFER SETTINGS S F 10 6 BIT 14 IN STATUS WORD FW10 L KT 020 1 START MONITORING TIME SE T 11 M001 A T 11 BEC IF MONITORING TIME NOT YET BEC ELAPSED AN F 10 6 HAVE SETTINGS BEEN TRANSFERRED JC M002 IF YES JUMP TO M002 S ERR IF ERROR SET ERROR BIT BEU M002 AN F 10 4 ERROR WHEN ENTERING SETTINGS RB ERR IF NO RESET ERROR BIT BEC BEC IF ...

Страница 330: ... with a certain start value e g after exchanging the CPU The clock data must be transferred in BCD code TIP The KC data format loads a BCD constant into ACCU 1 and is therefore especially suitable for entering the settings If you do not want a value for example minutes to be transferred entering the relevant byte as 255D or FFH The current value for this variable is then retained After you have tr...

Страница 331: ...es no Settings incorrect The operating hours counter continues to run with old values Write the settings into the clock data area Set transfer bit 10 in the control program Wait about two seconds entering a wait program The lower part of the flow chart has only a diagnostic function There is nothing you must perform Possible errors Clock is not available Clock system data is incorrect or not avail...

Страница 332: ...FH Errors are displayed in flag F 12 3 The clock data area is in data block DB2 beginning with data word DW0 and the status word is flag word FW10 OB1 STL Explanation SETTING THE OPERATING HOURS COUNTER LOAD VALUES INTO FY136 TO FY140 A I 0 7 TRIGGER TRANSFER OF SETTINGS FOR S F 20 2 OPERATING HOURS COUNTER BY SETTING F 20 2 JU FB 12 NAME SET OPER HOURS COUNTER SETTING THE OPERATING HOURS COUNTER ...

Страница 333: ...LUE FOR SECONDS T DR 15 L MIN STORE VALUE FOR MINUTES T DL 16 L HOUR0 STORE VALUE FOR HOURS T DR 16 L HOUR2 STORE VALUE FOR HOURS X 100 T DL 17 L HOUR4 STORE VALUE FOR HOURS X 1000 T DR 17 AN F 10 2 TRANSFER SETTINGS S F 10 2 BIT 10 IN STATUS WORD FW 10 S F 10 1 ENABLE OPERATING HOURS COUNTER IF NOT ALREADY ENABLED L KT 020 1 START MONITORING TIME SE T 12 M001 A T 12 BEC IF MONITORING TIME NOT YET...

Страница 334: ...the machine off not programmed in the example The clock data area is in DB2 beginning with flag word FW0 and the status word is flag word FW10 OB1 STL Explanation JU FB 14 EVALUATE OPERATING HOURS COUNTER NAME BETR LES BE FB14 STL Explanation NAME BETR LES READING THE OPERATING HOURS COUNTER C DB 2 DB IN WHICH THE CLOCK DATA IS LOCATED A F 12 4 IF AUXILIARY FLAG 12 4 IS SET OFF BEC THE MACHINE IS ...

Страница 335: ...that the clock runs 12 seconds slow in a four day period That would be 90 seconds in 30 days The correction value is 90 seconds month Note Use the data KF format to enter the correction value You then do not have to convert the value to other numbering systems STL Explanation FB10 L KF 90 T RS 12 BE LOAD THE 90 SECONDS CORRECTION VALUE INTO ACCU 1 AND STORE IT IN SYSTEM DATA WORD 12 Note The corre...

Страница 336: ...EWA 4NEB 812 6120 02b ...

Страница 337: ...rammable Controller for Exchanging Data 13 1 13 2 1 How to Program in a Function Block for CPU 102 and Higher 13 2 13 2 2 Setting Parameters in DB1 for CPU 103 and Higher 13 5 13 3 Coordinating Data Exchange in the Control Program 13 7 13 3 1 Sending Data 13 8 13 3 2 Receiving Data 13 9 13 3 3 Programming the Messages in a Function Block 13 11 EWA 4NEB 812 6120 02b ...

Страница 338: ...tructure of the Coordination Byte Send KBS 13 8 13 6 Structure of the Receive Mailbox 13 9 13 7 Structure of the Coordination Byte Receive KBE 13 10 13 8 Organization of Program Execution 13 11 13 9 Programming Message Processing in FB2 13 12 Tables 13 1 SINEC L1 Parameter Block 13 2 13 2 Setting Parameters in the Coordination Byte 13 3 13 3 Setting Parameters for the SINEC L1 Interface 13 6 EWA 4...

Страница 339: ...he signal level converter that connects the programmable controller to the L1 bus cable The procedure is as follows 1 Connect the L1 bus cable to bus terminal BT 777 Figure 13 1 Connection of the Bus Cable 0B 1B 2B 3B 4B 0B 1B 2B 3B 4B 0B 1B 2B 3B 4B 0A 1A 2A 3A 4A 0A 1A 2A 3A 4A 0A 1A 2A 3A 4A 2 Insert the connector of the bus terminal cable into the PG OP SINEC L1 port 13 2 Setting Parameters in...

Страница 340: ...ave number The data or flag areas reserved by the send and receive mailboxes The location of the coordination bytes You program in the function block by calling up one of the two restart organization blocks OB21 or OB22 You store the corresponding parameters in the system data area of the programmable controller by using the TNB block transfer statement The SINEC L1 parameter block begins at syste...

Страница 341: ... 64 bytes are received the information is not written beyond the end of the receive mailbox There is no overflow message The end of the receive mailbox is flag byte 127 in the flag area or the last present data word in the data block Example Setting parameters in the S5 100U as slave 1 in function block 1 Definitions Receive coordination byte KBE Flag byte FY100 Send coordination byte KBS Flag byt...

Страница 342: ... byte 69 Load flag byte 101 and store it in flag byte 70 Load Data word identifier and store it in flag byte 72 Store DB number 2 and DW number 0 in flag bytes 73 and 74 Load Data word identifier and store it in flag byte 75 Store DB number 3 and DW 0 in flag bytes 76 and 77 Transfer flag area FY64 to 67 to the system data area Load upper source address Load upper destination address Transfer a bl...

Страница 343: ...e block ID SL1 for the PG OP SINEC L1 port 3 Overwrite the comment character with a space SL1 SLN 1 PGN 1 Beginning of the L1 parameter block for PG OP SINEC L1 port Last parameter 4 Edit the default parameters according to your requirements Do not change the syntax Example The S5 100U participates in the SINEC L1 network as a slave with the slave number 2 Send Mailbox SF in DB2 beginning with dat...

Страница 344: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a The KBE KBS is in the high order byte of the given data word Default DB1 Block SINEC L1 to PG OP SINEC L1 Port Explanation Modifications Necessary for the Example Valid Parameters f...

Страница 345: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Control program for data exchange a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 346: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 347: ... of the Receive Mailbox Figure 13 6 Structure of the Receive Mailbox DW1 DW3 DW2 Flag Byte 1 Flag Byte 2 Flag Byte 3 DL DR 2nd data byte Length of net data in bytes Source slave number Data net data Length of the net data Source slave number 4th data byte 1st data byte 3rd data byte Example Receive Mailbox in the flag area beginning with flag byte 1 Example Receive Mailbox in a data block beginnin...

Страница 348: ...g Data 1 Check bit 7 of the KBE to see if it is possible to read the data from the Receive Mailbox Bit 7 must be set to 0 so that the Receive Mailbox can be read 2 In addition you can scan through the KBE for the following errors and operating conditions At least one slave has failed The bus is in RUN STOP mode The received data pack comes as an express transmission Special Features If you have re...

Страница 349: ...ve 1 receives three bytes from Master 0 The information is stored in the process output image table QB0 QB1 QB2 Slave 1 sends three bytes IB0 IB1 IB2 to the master Parameters are set in FB1 as shown in Figure 13 2 Programming the individual blocks Figure 13 8 Organization of Program Execution OB22 JU FB1 BE OB1 JU FB2 BE OB22 is processed once only following power up It calls FB1 which assigns the...

Страница 350: ...of the source master 0 is in byte 2 of the receive mailbox Skip receive mailbox evaluation if source No 0 Transfer receive mailbox to the PIQ Set KBE Bit 7 1 i e permit PLC access Program access is not permitted again until the PLC has reset this bit Check whether access to the send mailbox is permitted KBS Bit 7 0 Access permitted KBS Bit 7 1 Access not permitted Skip send mailbox evaluation if a...

Страница 351: ... Units 14 7 14 4 Bus Units 14 10 14 5 Interface Modules 14 14 14 6 Digital Modules 14 16 14 6 1 Digital Input Modules 14 16 14 6 2 Digital Output Modules 14 26 14 6 3 Digital Input Output Modules 14 36 14 7 Analog Modules 14 38 14 7 1 Analog Input Modules 14 38 14 7 2 Analog Output Modules 14 56 EWA 4NEB 812 6120 02b ...

Страница 352: ...EWA 4NEB 812 6120 02b ...

Страница 353: ...Electrical Equipment Designed for Use between Certain Voltage Limits Low Voltage Directive The EC declarations of conformity are held at the disposal of the competent authorities at the address below Siemens Aktiengesellschaft Bereich Automatisierungstechnik AUT E 14 Postfach 1963 D 92209 Amberg Federal Republic of Germany Area of Application SIMATIC products have been designed for use in industri...

Страница 354: ...of machines general requirements for the electrical equipment of machines applies for the electrical equipment of machines The following table is intended to help you with the declaration of conformity and shows which criteria apply to SIMATIC in accordance with EN 60204 1 June 1993 EN 60204 1 Topic criterion Remarks Para 4 General requirements Requirements are fulfilled if the devices are assembl...

Страница 355: ...V 24 V 1 kV for V 24 V 2 kV Communications interface 1 kV Emitted interference to VDE 0871 Limit value class A Degree of protection to IEC 529 Type IP 20 Class to IEC 536 Insulation rating to VDE 0160 between electrically 05 1988 independent circuits and with circuits connected to a central grounding point to VDE 0160 between all circuits 05 1988 and a central grounding point standard mounting rai...

Страница 356: ...a a a a a a a a a a a a a a a a a a a a a a SIMATIC S5 100U PS 930 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 2 4 7 nF a a a a a a a a a a a a a a a a a a a a a a a a a a a L1 a a a a a a a a a a a a a a a N a a a a a a a a a a a a a a a M a a a a a a a a a a a a a a a a a a a a L a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a F 3A Technical Sp...

Страница 357: ... a a a a a a a a a a a a a a a L1 a a a a a a a a a a a a a a a N a a a a a a a a a a a a a a a M a a a a a a a a a a a a a a a a a a a a L a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 1 6 A Technical specifications Input voltage rated value 115 230 V AC permiss range 92 to 132 V 187 to 264 V Line frequency rated value 50 60 Hz permiss range 47 to 63 Hz Input current at 115 230 V ra...

Страница 358: ... a a a a FAULT a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a DC 24V DC 9V 2 5A 6ES5 935 8ME11 a a a a a a a a a a a a a a a a L a a a a a a a a a a a a a a a a a a DC 9V a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 359: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 360: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 361: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 362: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 363: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 364: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 365: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 366: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a MADE IN GERMANY a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 1 nF ...

Страница 367: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 368: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 369: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a DIGITAL INPUT 8 x 24 V DC 6ES5 421 8MA12 1 2 3 4 5 6 a a a a a a a a a 4 a a a a a a a a a 1 a a a a a a a a a 2 a a a a a a a a a 3 a a a a a a a a a 4 a a a a a a a a a 5 a...

Страница 370: ...a X 7 a a a a a a a a a a a a a a a a X 5 a a a a a a a a a a a a a a a a X 4 a a a a a a a a a a a a a a a a 4 a a a a a a a a a a a a a a a a 5 a a a a a a a a a a a a a a a a 3 a a a a a a a a a a a a a a a a 2 a a a a a a a a a a a a a a a a a a a a 8 a a a a a a a a a a a a a a a a 9 a a a a a a a a a a a a a a a a 7 a a a a a a a a a a a a a a a a 6 a a a a a a a a a a a a a a a a 1 a a a a ...

Страница 371: ... a a a a a a a 8 a a a a a a a a a a a a a a a 9 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 9 V GND Data a a a a a a a a a a a a a a a M a a a a a a a a a a a a a a a a a a a a X 0 a a a a a a a a a a a a a a a a a a a a 10 a a a a a a a a a a a a a a a a a a a a X 1 a a a a a a a a a a a a a a a a a a a a X 2 a a a a a a a a a a a a a a a a a...

Страница 372: ...a a a a a a a a a a a a a a 8 a a a a a a a a a a a a a a a 9 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 9 V GND Data a a a a a a a a a a a a a a a N a a a a a a a a a a a a a a a a a a a a X 0 a a a a a a a a a a a a a a a 10 a a a a a a a a a a a a a a a a a a a a X 1 a a a a a a a a a a a a a a a a a a a a X 2 a a a a a a a a a a a a a a a ...

Страница 373: ... a a a a a a a a a 8 a a a a a a a a a a a a a a a 9 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 9 V GND Data a a a a a a a a a a N a a a a a a a a a a a a a a a a a a a a X 0 a a a a a a a a a a a a a a a 10 a a a a a a a a a a a a a a a a a a a a X 1 a a a a a a a a a a a a a a a a a a a a X 2 a a a a a a a a a a a a a a a a a a a a a a a a X...

Страница 374: ...a a a a a a a a a a a a a a a a a a a a X 4 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a X 7 a a a a a a a a a a a a a a a a a a a a a a a a X 6 a a a a a a a a a a a a a a a 1 a a a a a a a a a a a a a a a 2 a a a a a a a a a a a a a a a 3 a a a a a a a a a a a a a a a 4 a a a a a a a a a a 5 a a a a a a a a a a 6 a a a a a a a a a a a a a a a 7 a a a a a a a a a a a a a a a 8 a a ...

Страница 375: ...9 V GND Data a a a a a a a a a a a a a a a N a a a a a a a a a a a a a a a 10 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a X 1 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a X 0 a a a a a a a a a a a a a a a a a a a a a a a a X 3 a a a a a a a a a a a a a a a a a a a a a a a a X 2 a a a a a a a a a a a a a a a a a a a a a a a a X 5 a a a a a a a a a a a a a a a a a a a ...

Страница 376: ... a a a a a a a a a a a a a a a a a a a a 10 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a X 1 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a X 0 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a X 3 a a a a a a a a a a a a a a a a a a a a a a a a a a a a X 2 a a a a a a a a a a a a a a a a a a a a a a a a a a a a X 5 a a a a a a a ...

Страница 377: ...GND Data a a a a a a a a a a a a a a a a a a a a 10 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a X 1 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a X 0 a a a a a a a a a a a a a a a a a a a a a a a a a a a a X 3 a a a a a a a a a a a a a a a a a a a a a a a a a a a a X 2 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a X 5 a a a ...

Страница 378: ...a a a a a a a a X 0 a a a a a a a a a a a a a a a 10 a a a a a a a a a a a a a a a a a a a a X 1 a a a a a a a a a a a a a a a a a a a a X 2 a a a a a a a a a a a a a a a a a a a a X 3 a a a a a a a a a a a a a a a a a a a a L a a a a a a a a a a a a a a a a M Technical specifications Number of outputs 4 Galvanic isolation no in groups of 4 Load voltage L rated value 24 V DC permissible range 20 t...

Страница 379: ...a a a a a 6 a a a a a a a a a a a a a a a 7 a a a a a a a a a a a a a a a 8 a a a a a a a a a a a a a a a 9 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 9 V GND Data a a a a a a a a a a a a a a a 10 a a a a a a a a a a a a a a a a a a a a L a a a a a a a a a a a a a a a a M Technical specifications Number of outputs 4 Galvanic isolation no in gr...

Страница 380: ... a a a a a a a a a a a a a a a X 2 a a a a a a a a a a a a a a a a a a a a a a a a a X 5 a a a a a a a a a a a a a a a a a a a a X 4 a a a a a a a a a a a a a a a a a a a a X 7 a a a a a a a a a a a a a a a a a a a a X 6 a a a a a a a a a M a a a a a a a a a a a a a a a a a a L a a a a a a a a a a a a C Technical specifications Number of outputs 8 Galvanic isolation no in groups of 8 Load voltage ...

Страница 381: ... GND Data a a a a a a a a a a a a a a a a a a a a a a a a X 0 a a a a a a a a a a a a a a a 10 a a a a a a a a a a a a a a a a a a a a X 1 a a a a a a a a a a a a a a a a a a a a X 2 a a a a a a a a a a a a a a a a a a a a X 3 a a a a a a a a a a a a M a a a a a a a a a a a a a a a a a a a a L Technical specifications Number of outputs 4 Galvanic isolation yes optocoupler in groups of 4 Load volta...

Страница 382: ... a a a a a a a a a a a a a a a a a 9 V GND Data a a a a a a a a a a a a a a a a a a a a X 0 a a a a a a a a a a a a a a a 10 a a a a a a a a a a a a a a a a a a a a X 1 a a a a a a a a a a a a a a a a a a a a X 2 a a a a a a a a a a a a a a a a a a a a X 3 a a a a a a a a a a a a a a a a N a a a a a a a a a a a a a a a a L1 a a a a a a a a a Technical specifications Number of outputs 4 Galvanic is...

Страница 383: ... a a a a a a a a a a a a X 1 a a a a a a a a a a a a a a a a a a a a X 0 a a a a a a a a a a a a a a a a a a a a X 3 a a a a a a a a a a a a a a a a a a a a X 2 a a a a a a a a a a a a a a a a a a a a X 5 a a a a a a a a a a a a a a a a a a a a X 4 a a a a a a a a a a a a a a a a a a a a a a a a a X 7 a a a a a a a a a a a a a a a a a a a a X 6 a a a a a a a a a M a a a a a a a a a a a a L Technic...

Страница 384: ...a a a a a 9 V GND Data a a a a a a a a a a a a a a a 10 a a a a a a a a a N a a a a a a a a a a a a L1 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a X 1 a a a a a a a a a a a a a a a a a a a a a a a a a X 0 a a a a a a a a a a a a a a a a a a a a X 3 a a a a a a a a a a a a a a a a a a a a a a a a a X 5 a a a a a a a a a a a a a a a a a a a a X 4 a a a a a a a a a a a a...

Страница 385: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 386: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 387: ... a a a a a a a a a a X 0 a a a a a a a a a a a a a a a a a a a a a a a a a X 2 a a a a a a a a a a a a a a a a a a a a a a a a a X 3 a a a a a a a a a a a a a a a a a a a a a a a a a X 1 a a a a a a a a a a a a a a a 4 a a a a a a a a a a a a 1 a a a a a a a a a a a a 3 a a a a a a a a a a a a 7 a a a a a a a a a a 8 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 388: ... a a a a a a a a a a a a a a a 6 a a a a a a a a a a a a a a a a a a a a 7 a a a a a a a a a a a a a a a a 5 a a a a a a a a a a a a a a a a 4 a a a a a a a a a a a a a a a a a a a a L n 1 a a a a a a a a a a a a a a a a 0 a a a a a a a a a a a a a a a a a a a a 0 5A a a a a a a a a a a a a a a a a 7 a a a a a a a a a a a a a a a a a a a a 4 a a a a a a a a a a a a a a a a a a a a a a a a 5 a a a ...

Страница 389: ... of the outputs 6 A Driving of a digital input possible Paralleling of outputs possible in pairs maximum current 0 8 IN Current consumption from 9 V CPU typ 10 mA from L without load typ 100 mA Lamp load max 5 W Input side Number of inputs 16 Galvanic isolation no in groups of 16 Input voltage L rated value 24 V DC for 0 signal 0 to 5 V for 1 signal 13 to 30 V Input current for 1 signal typ 4 5 mA...

Страница 390: ...Ch 1 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Ch 2 a a a a a a a a a a a a a a a a a a a a a a a a a Ch 3 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Terminal box a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 391: ...t approx 230 g 8 oz Technical specifications Input ranges rated values 50 V Number of inputs 1 2 or 4 selectable Galvanic isolation yes inputs to grounding point not between inputs Input resistance 10 M Connection method two wire of sensors connection Digital representation 12 bits sign of input signal 2048 units rated value Measured value two s complement representation left justified Measuring p...

Страница 392: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a broken wire a a a a a a a a a a a a a a a Ch 0 a a a a a a a a a a a a a a a Ch 2 a a a a a a a a a a a a a a a Ch 3 a a a a a a a a a a a a a a a Ch 1 a a a a a a a a a a a a a a a a a a a a 4 5 a a a a a a a a a a a a a a a a a a a a 6 7 a a a a a a a a a a a a a a a a a a a a 8 9 a a a a a a a a a a a a a a a 10 a a a a a a a a a ...

Страница 393: ...ulation group 1 x B tested with 500 V AC Current consumption from 9 V CPU typ 100 mA Power loss of the module typ 0 7 W Weight approx 230 g 8 oz Technical specifications Input range rated values 50 mV Number of inputs 1 2 or 4 selectable Galvanic isolation yes inputs to grounding point not between inputs Input resistance 10 M Connection method two wire of sensors connection Digital representation ...

Страница 394: ... a a a a a a a a a a Ch 1 a a a a a a a a a a a a a a a a a a a a 4 5 a a a a a a a a a a a a a a a a 6 7 a a a a a a a a a a a a a a a a 8 9 a a a a a a a a a a a a a a a 10 a a a a a a a a a a a a a a a 2 a a a a a a a a a a a a a a a 5 a a a a a a a a a a a a a a a 6 a a a a a a a a a a a a a a a 9 a a a a a a a a a a a a a a a 10 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 395: ...ight approx 230 g 8 oz Technical specifications Input ranges rated values 1 V Number of inputs 1 2 or 4 selectable Galvanic isolation yes inputs to grounding point not between inputs Input resistance 10 M Connection method two wire of sensors connection Digital representation 12 bits sign of input signal 2048 units rated value Measured value two s complement representation left justified Measuring...

Страница 396: ... a a a a a a a a Ch 1 a a a a a a a a a a a a a a a a 4 5 a a a a a a a a a a a a a a a a 6 7 a a a a a a a a a a a a a a a a 8 9 a a a a a a a a a a a a 10 a a a a a a a a a a 2 a a a a a a a a a a 5 a a a a a a a a a a a a a a a 6 a a a a a a a a a a 9 a a a a a a a a a a a a a a a a a a a a 10 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 9 V ...

Страница 397: ...0 7 W Weight approx 230 g 8 oz Technical specifications Input ranges rated values 10 V Number of inputs 1 2 or 4 selectable Galvanic isolation yes inputs to grounding point not between inputs Input resistance 50 k Connection method two wire of sensors connection Digital representation 12 bits sign of input signal 2048 units rated value Measured value two s complement representation left justified ...

Страница 398: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 25 a a a a a a a a a a a a a a a Ch 0 a a a a a a a a a a a a a a a Ch 1 a a a a a a a a a a a a a a a a a a Ch 2 a a a a a a a a a a a a a a a Ch 3 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 399: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 400: ...a 9 V GND Data a a a a a a a a a a a a a a a 4 a a a a a a a a a a a a a a a 1 a a a a a a a a a a a a a a a 3 a a a a a a a a a a a a a a a 7 a a a a a a a a a a 8 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 31 2 a a a a a a a a a a ...

Страница 401: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 402: ... 6 a a a a a a a a a 6 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a broken wire a a a a a a a a a a a a a a a a a a a a a 4 3 2 1 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a operating mode a a a a a a a a a a a a a a a Ch 0 a a a a a a a a a a a a a a a M a a a a a a a a a a a a a a a IC a a a a a a a a a a a a a a a Ch 1 a a a...

Страница 403: ... 0 9 W Weight approx 230 g 8 oz Technical specifications Input range rated values resistance sensor PT 100 0 to 200 max 400 voltage sources 500 mV Number of inputs 1 or 2 selectable Galvanic isolation yes inputs to grounding point not between inputs Input resistance 10 M Connection method of sensors two or four wire connection Digital representation of input signal 12 bits sign 2048 units rated va...

Страница 404: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a broken wire a a a a a a a a a a a a a a a a a a a a a a a a a a 8 7 6 5 4 3 2 1 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a operating mode a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 405: ...Current consumption from 9 V CPU typ 100 mA Power loss of the module typ 0 9 W Weight approx 230 g 8 oz Technical specifications Input range rated values resistance sensor PT 100 0 to 200 max 400 voltage source 500 mV Number of inputs 1 or 2 selectable Galvanic isolation yes inputs to grounding point not between inputs Input resistance 10 M Connection method of sensors two or four wire connection ...

Страница 406: ... a a a a a a a a a a a a 10 a a a a a a a a a a 7 a a a a a a a a a a a a a a a 2 a a a a a a a a a a a a a a a 5 a a a a a a a a a a a a a a a 6 a a a a a a a a a a a a a a a 9 a a a a a a a a a a a a a a a 10 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 9 V GND Data a a a a a a a a a a 4 a a a a a a a a a a 1 a a a a a a a a a a ...

Страница 407: ... 0 0 0 0 0 0 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 408: ...8 a a a a a a a a a a a a a a a a a a Ch 1 a a a a a a a a a a a a S a a a a a a a a a a a a a a a a a a a a a MANA a a a a a a a a a a S a a a a a a a a a a a a QV a a a a a a a a a R a a a a a a a a a a a a a a a a a a a a a a a a a a a R 3 3k a a a a a a a a a a a a a a a a a a a a S a a a a a a a a a a a a a a a a a a a a MA a a a a a a a a a a a a a a a a a a a a S a a a a a a a a a a a a a a...

Страница 409: ...a a a a a a a a a a QI a a a a a a a a a R a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a R 300 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a MANA a a a a a a a a a a a a a a a L a a a a a a a a a M a a a a a a a a a a a a a a a a a a a a 0V a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 15V a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 410: ...a a a a a a a a a a MANA a a a a a a a a a a a a QI a a a a a a a a a R a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a R 300 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a MANA a a a a a a a a a a a a a a a L a a a a a a a a a M a a a a a a a a a a a a a a a a a a a a a a a a a 0V a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 15V a a a a ...

Страница 411: ... a a a a a a a a a a a a a a a a a Ch 1 a a a a a a a a S a a a a a a a a a a a a a a a a a a a a a MANA a a a a a a a a a a a a a a a S a a a a a a a a a a a a a a a QV a a a a a a a a a R a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a R 3 3k a a a a a a a a a a a a a a a a a a a a a a a a a MA a a a a a a a a a a a a a a a a a a a a S a a a a a a a a a a a a a a a a a a a a QV a a a...

Страница 412: ...EWA 4NEB 812 6120 02b ...

Страница 413: ...4 Functional Description of the Position Decoder 15 29 15 6 5 Entering New Setpoints for the Counter and Position Decoder 15 38 15 6 6 Addressing 15 39 15 7 Closed Loop Control Module IP 262 15 41 15 8 IP 263 Positioning Module 15 45 15 9 IP 264 Electronic Cam Controller Module 15 49 15 10 IP 265 High Speed Sub Control 15 52 15 11 Positioning Module IP 266 15 55 15 12 Stepper Motor Control Module ...

Страница 414: ...it 0 1 during a Reversal of Direction before Reaching the Reference Pulse in a Positive Direction 15 33 15 19b No Synchronization during a Reversal of Direction before Reaching the Reference Pulse in a Positive Direction 15 33 15 20 Schematic of a Reference Point Approach Operation 15 33 15 21 Enabling the Outputs Reaching the Setpoints Resetting the Outputs 15 34 15 22 Approaching a Setpoint in U...

Страница 415: ...a a a a 5 a a a a a a a a a a a a a a a 6 a a a a a a a a a a a a a a a 9 a a a a a a a a a a a a a a a 10 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 9 V GND Data a a a a a a a a a a 4 a a a a a a a a a a a a a a a 1 a a a a a a a a a a a a a a a 3 a a a a a a a a a a a a a a a 7 a a a a a a a a a a 8 a a a a a a ...

Страница 416: ...tor is switched off if scanned a 0 signal results The response threshold of the comparator is set by a selector on the front panel The selector has scale divisions to simplify adjustment Installation The comparator module is mounted on a bus unit like any other input or output module see chapter 3 Wiring See schematic diagram Unused inputs can be left open Addressing The comparator module is addre...

Страница 417: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 418: ... a a a a a a a a a a a a a a a 7 a a a a a a a a a a 8 a a a a a a a a a a a a a a a a a a 0 3 s a a a a a a a a a a a a a a a a a a 0 3 s a a a a a a a a a a a a a a a a a a 300 s a a a a a a a a a a a a a a a a a a 300 s a a a a a a a a a a a a a a a X 0 a a a a a a a a a a a a a a a X 1 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 419: ...ange x 3 s Scale value 7 Set time 7 x 3 s 21 s Installation The counter is inserted into a bus unit like any other input or output module see chapter 3 Wiring No wiring is required Addressing A timer module is addressed like a two channel digital module channel 0 or 1 The timer module is addressed like a digital output module for starting resetting or interrupting the pulse The signal status is sc...

Страница 420: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 421: ... V GND Data a a a a a a a a a a a a a a a 4 a a a a a a a a a a 1 a a a a a a a a a a 3 a a a a a a a a a a 7 a a a a a a a a a a a a a a a 8 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a OUT a a a a a a a a a a a a a a a a a a a a a a a a IN a a a a a a a a a 0 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 422: ...ady been wired and connected to the power supply Addressing A simulator module is addressed like an 8 channel digital module channels 0 to 7 Figure 15 3 Scanning the Simulator Module as a Digital Input Scan A I 0 0 Channel 0 examples O Q 1 1 Channel 1 Channel number Slot address Typical Application The CPU is in the RUN mode the green LED is lit but the programmable controller is mal functioning Y...

Страница 423: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a BUS SIGNAL DISPLAY 6ES5 330 8MA11 1 2 3 4 5 6 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a U1 8V a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a D...

Страница 424: ...I O modules During normal operation both LEDs must flash programmable controller in RUN mode The flashing frequency provides information on the speed of the serial bus If both LEDs show a steady light in the RUN mode the bus unit that the diagnostic module is plugged into is defective DATA DATA N The alternate lighting up of the DATA and DATA N LEDs indicates data flow on the I O bus If these two ...

Страница 425: ... The coding element on the bus unit does not have to be reset Note The module can be plugged in and removed regardless of the operating status of the programmable controller Wiring No wiring is required Existing wiring does not have to be removed Addressing There is no addressing since the module cannot be addressed by the programmable controller EWA 4NEB 812 6120 02b 15 11 ...

Страница 426: ...a a a a a a a a a a a a a a a Ch 0 a a a a a a a a a a a a a a a Ch 1 F a a a a a a a a a a a a a a a Q0 a a a a a a a a a a a a a a a a a a a a Q1 a a a a a a a a a a a a a a a Ch 0 a a a a a a a a a a a a a a a Ch 1 a a a a a a a a a a a a a a a a a a a a a a a a 5V 24 V a a a a a a a a a a a a a a a 2 a a a a a a a a a a a a a a a 5 a a a a a a a a a a a a a a a 6 a a a a a a a a a a a a a a a ...

Страница 427: ...alue 5 V 24 V DC for 0 signal 0 to 0 8 33 to 5 V for 1 signal 3 to 5 V 13 to 33 V Input current for 1 signal typ 1 5 8 5 mA Inherent delay typ 180 µs Input frequency max 500 Hz Connection of 2 wire BERO proximity switches 24 V DC possible quiescent current 1 5 mA Length of cable unshielded max 50 m 165 ft Number of Outputs 2 Galvanic isolation yes Supply voltage L for load rated value 24 V DC perm...

Страница 428: ...5 V DC or 24 V DC using rocker switches on the front panel a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 429: ... same way as a digital input module Figure 15 5 Scanning the Counter Module 500 Hz Channel number Slot address Counter enable S Q x 0 Channel 0 Set to start value S Q x 1 Channel 1 Counter reset R Q x 0 R Q x 1 Scan A I x 0 1 Counter at zero A I x 1 Timing Diagram Counting pulses 1 0 1 0 1 0 6 0 Enable Output Q Time S Q x 0 R Q x 0 Figure 15 6 Timing Diagram Setting and Resetting an Output of the ...

Страница 430: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a S Q 2 0 A I 2 0 Q 4 0 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 431: ...a a a a a a a 5 a a a a a a a a a a a a 8 a a a a a a a a a 6 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 432: ... internal 9 V 70 mA Power consumption of the module typ 1 9 W total output current IA 1 1 V Weight approx 250 g 9 oz Technical Specifications Operating mode switch selectable position decoder PD counter C Sensor inputs 1 sensor 5 V differential input or 1 sensor 24 V DC Digital inputs 2 reference and enabling Digital outputs 2 setpoints reached 1 and 2 Galvanic isolation no Counting range Operatin...

Страница 433: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 434: ...OR outputs cannot be connected to the module The shield connection of the sensors must be connected to the metallic front connector cover Figure 15 8 Pin Assignment of the 15 Pin Sub D Female Connector Pin Assignment 5 V Supply voltage 5 V Sensor line Ground Rectangular wave signal A N 5 V Rectangular wave signal A 5 V Supply voltage 24 V Rectangular wave signal B 5 V Rectangular wave signal B N 5...

Страница 435: ... V Pulse sensor Va Shield M a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 0V a a a a a a a a a a a a a a a a a a a a a a a a a 5V Figure 15 9 Connecting a Counting Pulse Sensor for 5 V Differential Signal to RS 422 Connecting a Counting Pulse Sensor for 24 V DC Figure 15 10 Connecting a Counting Pulse Sensor for 24 V DC 0V Shell of subminiature D connector 24 V Pulse sensor DC A Modu...

Страница 436: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a 0V a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 5V a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Va1 Figure 15 11 Connecting a 5 V Position Sensor to RS 422 Connecting a 24 V DC Position Sensor Figure 15 12 Connecting a 24 V DC Position Sensor 24 V Position sensor Electronic light source Shield Shell of...

Страница 437: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Va2 B B N B a a a a a a a a a a a a a a a a a a a a...

Страница 438: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 2 a a a a a a a a a a a a 2 a a a a a a a a 1 a a a a a a a a a a a a 3 a a a a a a a a a a a a 5 a a a a a a a a 7 a a a a a a a a a a a a 9 a a a a a a a a a a a a 1 a a a a a a a a 3 a a a a a a a a a a a a 5 a a a a a a a a a a a a 7 a a a a a a a a 9 a a a a a a a a...

Страница 439: ...ammable Controller to the Counter Module Setpoint 1 High byte Low byte Byte 0 Byte 1 Byte 2 Byte 3 Setpoint 2 High byte Low byte Transfer from the Counter Module PII to the Programmable Controller The counter module transfers the diagnostic byte and the current counter status In the control program this data can be read in by means of load operations and then evaluated Table 15 2 Sending Data from...

Страница 440: ... 15 Diagnostic Byte If the sync bit is not set a reference point approach must be implemented before operation can continue in the Position Decoding mode Bit No 7 6 5 4 3 2 1 0 Position resolution single double quadruple not possible Mode Position decoding Counter Counter overflow No counter overflow Setpoint 2 reached Setpoint 2 not reached Setpoint 1 reached Setpoint 1 not reached Sync bit set S...

Страница 441: ...hese setpoints must be between 0 and 65 535 The transfer of the setpoints via the module depends on whether the setpoint 1 setpoint 2 reached bit is set in the diagnostic byte S1 and S2 If the bit is not set which means the existing setpoint has not been reached or has not been ex ceeded the new setpoint is transferred immediately and is immediately valid If the bit is set which means the existing...

Страница 442: ...celled the counter is disabled The actual value remains constant You can read the current count in the STEP 5 program The actual value is displayed as an unsigned whole number and must be between 0 and 65 535 Note If no setpoint is preselected the respective value 0 is assigned The corresponding output is enabled with the positive edge of the enable input Example Setpoints S1 2 and S2 4 are entere...

Страница 443: ...sitive edge at the enable input An overall reset of the programmable controller STOP to RUN mode Note After a cold restart of the programmable controller the outputs are disabled These outputs can be enabled via a positive edge to the enable input 15 6 4 Functional Description of the Position Decoder In the operation mode position decoder the module works as an up down counter and counts the pulse...

Страница 444: ... The 16 bit up down counter permits a resolution of 65 536 units between 32 768 and 32 767 The traversing range depends on the resolution of the position encoders Pulse evaluation The counting pulses which are offset by 90 degrees can be subjected to single double or quadruple evaluation The necessary setting is made on the operating mode switch see section 15 6 The accuracy of the traversing path...

Страница 445: ...2767 The acceptance of the setpoints by the module depends on whether the setpoint 1 setpoint 2 reached bit has been set in the diagnostic byte If the bit is not set which means the existing setpoint is not reached or not exceeded the new setpoint is immediately accepted and is immediately valid If the bit is set which means the existing setpoint is reached or exceeded the new setpoint is not vali...

Страница 446: ...ference Signal Range a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Reference pulse of the sensor a a a a a a a a a a a a a a a a a a a a a a a...

Страница 447: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Positive direction of traverse a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Sync bit a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 448: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a SYNC bit in diagnostic byte Counter status Counting pulses Enable input Output Q0 ...

Страница 449: ...on of a rising actual value Reaching the setpoint in the direction of a falling actual value Reaching the setpoint in the direction of a rising actual value then a reversal of direction and a reapproaching of the setpoint in the opposite direction Example 1 Approaching a Setpoint in Up Count Direction Figure 15 22 Approaching a Setpoint in Up Count Direction Output diagnostic bit setpoint reached ...

Страница 450: ...ve Reversal of Direction a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Direction of traverse Enable input Output diagnostic bit setpoint reached Change of direction 1000 2000 3000 4000 5...

Страница 451: ...lock must be set to 0 in order to switch off active outputs After an overflow a new reference point approach operation has to be executed for synchronization of the actual value detection After reaching the synchronization bit 3 in the diagnostic byte is again set to 0 and the outputs along with the active enable input can be turned on Note During an overflow active outputs are not switched off an...

Страница 452: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Output Q 0 Diag bit S 1 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 453: ...lot Addressing Table 15 6 Slot Addressing 0 1 2 3 4 5 6 7 Slot Address PII PIQ 64 to 71 72 to 79 80 to 87 88 to 95 96 to 103 112 to 119 120 to 127 104 to 111 Meaning of the Bytes of a Slot Address Example Slot 1 Table 15 7 Meaning of the Address Bytes of a Slot Address Example Slot 1 Byte Number 0 1 4 to 7 2 3 Byte Address 72 73 74 75 76 to 79 Irrelevant Low byte High byte Meaning in PIQ High byte...

Страница 454: ...s set a branch is made to FB20 If the bit is not set program scanning is continued with the statement following the block call Example 2 Transferring the setpoints stored in flag words 0 and 2 to the counter module inserted into slot 7 The module has only to accept the setpoints when the old setpoints have been reached or exceeded STL Description AN I 121 1 JC L001 L FW 0 T QW 120 L001 AN I 121 2 ...

Страница 455: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a CLOSED LOOP CONTROLLER 6ES5 262 8MA12 1 2 3...

Страница 456: ... for 24 V without load approx 180 mA external for 24 V without load with PG 605 OP 393 approx 340 mA Ambient temperature 0 to 55 C 32 to 131 F Technical Specifications Controller Total cycle time equals scan time 100 to 200 ms Resolution of the open loop controller 5 ms at 50 Hz 4 2 ms at 60 Hz Analog Inputs Number of inputs 4 suited for current thermo couple or resist ance thermometer voltage wit...

Страница 457: ...n the following items are available A selector switch for each channel for current and voltage thermocouples or PT 100 A status LED for RUN a continuously lit green light transducer malfunction blinking light and module malfunction off The module is well suited to take over control loop tasks in the area of industrial processing technology for example temperature control pressure and flow control ...

Страница 458: ...means that the module can continue to work alone in the event the master CPU e g S5 135U with R64 fails It uses the last setpoint received from the CPU or the predefined back up setpoint Two operating modes are possible DDC Operation Direct Digital Control The control is executed entirely from the CPU The IP only outputs the manipulated variable If the CPU fails the module can continue to control ...

Страница 459: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 460: ...emental absolute SSI interface Maximum traversing range with incremental encoders 224 increments with absolute encoders 8192 increments per revolution 2048 revolutions Signal voltages Differential inputs 5 V to RS 422 Asymmetrical inputs 24 V only incremental encoders Supply votlage for encoders 5 V 300 mA short circuit proof 24 V 300 mA no overload Input frequency and cable length Symmetrical enc...

Страница 461: ...e Zero speed control The syntax for the data block which has to be created for this purpose is simple and is described in the manual Positioning The only thing that remains to be done is to specify the desired target and then the module is ready for the positioning procedure The IP 263 then carries out positioning automatically When the target has been reached it sends a message to the IM 318 B in...

Страница 462: ...rence point travel the digital input of the module senses the speed reducing cam reference point switch In the Length measurement operating mode the module senses encoder pulses as long as this input has a 1 signal Installation As other I O modules the IP 263 is mounted on the bus unit see chapter 3 Addressing The IP 263 is addressed like a 4 channel analog module 15 48 EWA 4NEB 812 6120 02b ...

Страница 463: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Cam Controller Module IP 264 6ES5 264 8MA12 1 2 3 4 5 6 a a a a a a a a a 6...

Страница 464: ...ed by 90 1 zero pulse 24 V initiator BERO 1 pulse train SSI Absolute value Input currents to RS 422 5 V typ 5 mA 24 V Digital Inputs Input voltage range 3 V to 30 V Galvanic isolation no 0 signal 3 V to 5 V 1 signal 13 V to 30 V Permissible zero signal current at 0 signal 1 1 mA Input current at 24 V typ 5 mA Other If the digital inputs are used they must always be connected to a defined potential...

Страница 465: ...th time cams Dead Time Compensation Through the speed dependent dynamic shift each individual cam compensates the dead time of the actuator connected e g pneumatic valve at a scanning rate of 60 µs This enables the utmost accuracies to be achieved even at changing drive speeds Direct Process Connection In order to be able to pass on the short response time of the IP 264 directly to the process a d...

Страница 466: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a HIGH SPEED SUB CONTROL a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a O U T P u T a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a I N P u T a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 467: ...desired mixture of I Os can be configured Connector for 24 V load voltage 2 pin Permissible cross sections of cables Flexible cable H07V K with end sleeve 0 5 to 1 5 mm2 Solid cable H07V U 0 5 to 2 5 mm2 Technical Specifications Current consumption from 9 V CPU 175 mA Signal status display only for 24 V inputs and 24 V outputs green LEDs Operating status display STOP red LED RUN green LED Memory s...

Страница 468: ...resentation The following can be used Either a user programmed user program or a fixed programmed standard program from SIEMENS The COM 265 is available for user programming of the IP 265 Besides it being programmable the IP 265 can also be used to implement the special counter function with a fixed program standard program For this purpose SIEMENS AG offers a memory submodule for the IP 265 with ...

Страница 469: ...ge range 20 V to 30 V Galvanic isolation no Max output current at 1 signal 100 mA Short circuit protector short circuit proof output Cable length shielded max 100 m 330 ft Supply Voltage Logic voltage from 24 V ext supply produced with switched mode power supply 4 7 V to 5 5 V Current consumption from 24 V supply without out puts and 24 V sensor typ 180 mA a a a a a a a a a a a a a a a a a a a a a...

Страница 470: ...ircular Axis and Linear Axis Circular Axis Linear Axis Table a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Beginning e...

Страница 471: ... a a a a s a a a a a a a a a a t a a a a a a a a a a a a a a a t a a a a a a a a a a a a a a a a a a a a a a a a S a a a a a a a a a a a a a a a a a a a a S t a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 472: ...he actual value position remaining traversing distance or following error as well as a status byte error byte the current operation mode and special data from the traversing program Installation 1 Plug the IP 266 into a bus unit like any other I O module see chapter 3 2 Insert the IP 266 only into slots 0 to 7 3 Connect the external switches to the digital inputs of the IP 266 via the terminal blo...

Страница 473: ... a a a a a a a a a a a a a a a a a a a a a a a a STEPPER MOTOR MODUL IP 267 6ES5 267 8MA11 1 2 3 4 5 6 a a a a a a 6 a a a a a a a a a a a a a a a 9 a a a a a a a a a a a a a a a 10 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 9 V GND Data a a a a a a a a a a a a a a a 3 a a a a a a a a a a a a a a a 4 a a a a a a a a a a a a a a a 5 a a a a a a...

Страница 474: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 475: ... the traversing zone The reference point approach operation is also possible without this switch Status LEDs provide you with the following information The IP 267 is configured RDY Pulse outputs during a positioning operation ACT Interruption of the positioning operation ABT There are four operating modes STOP START FORWARDS START BACKWARDS NEUTRAL Installation 1 Plug the IP 267 into a bus unit li...

Страница 476: ...a a a a a a a 9 V GND Data a a a a a a a a a a a a a a a 4 a a a a a a a a a a a a a a a 1 a a a a a a a a a a 3 a a a a a a a a a a a a a a a 7 a a a a a a a a a a a a a a a 8 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a V 24 a a a a a a a a a a a a a a a TTY a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a module a a a a a a a a a a a a a a a a a a a...

Страница 477: ... process disturbances The output of messages on the printer does not extend the response time of the programmable controller The following messages and texts can be output Message texts which you have configured on a memory submodule in data blocks DB 2 to 63 Time of day and date which are provided by the module s own clock Values for variables which are transmitted to the CP 521 SI via the I O bu...

Страница 478: ...assive TTY interface or a 24 V voltage interface are available programmable Parameterizing matching of the I O interface and configuring of the message texts are supported by the DB editor of programmers The parameters of the I O interface are stored either on a memory submodule in DB1 or are directly transmitted in the user program The CP 521 SI can be programmed and operated wihtout the COM soft...

Страница 479: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a 9 V GND Data a a a a a a a a a a a a 4 a a a a a a a a a a a a a a a 1 a a a a a a a a a a 3 a a a a a a a a a a a a a a a 7 a a a a a a a a a a a a 8 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a module a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 480: ...acked up RAM or on a plug in memory submodule Connect programmers or PC terminals to the CP 521 via a serial interface You can choose by setting parameters between a passive TTY current loop interface or a RS 232 C V 24 interface to connect a programmer or terminal Connect a printer to the unidirectional V 24 interface of the module to print listings or messages Change parameter settings for the p...

Страница 481: ...ndix B Dimension Drawings Appendix C Active and Passive Faults in Automation Equipment Guidelines for Handling Electrostatic Sensitive Devices Appendix D Information for Ordering Accessories Appendix E Reference Materials Appendix F Siemens Addresses Worldwide EWA 4NEB 812 6120 02b ...

Страница 482: ...EWA 4NEB 812 6120 02b ...

Страница 483: ...A 1 Operations List A 1 A 1 1 Basic Operations A 1 A 1 2 Supplementary Operations A 8 A 1 3 System Operations for CPU 102 and Higher A 13 A 1 4 Evaluation of CC 1 and CC 0 A 14 A 2 Machine Code Listing A 15 A 3 List of Abbreviations A 18 EWA 4NEB 812 6120 02b ...

Страница 484: ...EWA 4NEB 812 6120 02b ...

Страница 485: ...ne with RLO through logic OR O N Combine AND operations through logic OR A N Boolean Logic Operations I Q N Y N T N Y N C N Y N F N Y N I Q N Y N T N Z N F N I Q N T N C N F N I Q N T N C N F N 1 Combine expressions enclosed in parentheses through logic AND 6 nesting levels O N Combine expressions enclosed in parentheses through logic OR 6 nesting levels Set Reset Operations S Set operand to 1 I Q...

Страница 486: ...63 17 17 1 6 1 6 63 14 1 6 CPU 103 MA02 MA03 Execution Time in µs CPU 100 CPU 102 L FW N N N Load a flag word into ACCU 1 byte n ACCU 1 bits 8 15 byte n 1 ACCU 1 bits 0 7 71 17 1 6 0 8 PW N Permissible in OB2 and OB13 Load an input byte of the digital analog inputs from the interrupt PII into ACCU 1 92 L 69 L PY Permissible in OB2 and OB13 Load an input byte of the digital analog inputs from the i...

Страница 487: ...d a constant count in BCD into ACCU 1 Load a time or count in binary code into ACCU 1 Load times or counts in BCD into ACCU 1 N N N N N N N N N N N N T C T C N N N N N N N N N IB Transfer the contents of ACCU 1 to an input byte into the PII N N N T QB Transfer the contents of ACCU 1 to an output byte into the PIQ N N N T Transfer the contents of ACCU 1 to an input word into the PII ACCU 1 bits 8 1...

Страница 488: ... updating of the PIQ PW N Oper ation STL Permissible Operands RLO 1 2 3 Function Timer Operations SP Start a timer stored in ACCU 1 as a signal contracting pulse Y N Y T 67 64 11 1 6 53 31 75 57 33 78 55 5 1 6 59 36 81 125 74 147 SS Start a stored on delay timer stored in ACCU 1 Y N Y T SD Start an on delay timer stored in ACCU 1 Y N Y T SE Start a timer stored in ACCU 1 as extended pulse signal c...

Страница 489: ...the RLO is 1 CC 1 CC 0 are affected N Y N N Y N Counter Operations cont 55 26 1 6 58 23 1 6 79 24 1 6 82 27 1 6 69 12 96 118 67 141 F Compare two fixed point numbers for greater than If ACCU 2 ACCU 1 the RLO is 1 CC 1 CC 0 are affected N Y N F Compare two fixed point numbers for greater than or equal to If ACCU 2 ACCU 1 the RLO is 1 CC 1 CC 0 are affected F Compare two fixed point numbers for less...

Страница 490: ... end conditional N N Y Y Y 125 49 185 147 49 187 185 130 53 190 152 53 196 194 70 28 79 233 88 36 119 90 38 121 NOP 0 Block end unconditional BEU cannot be used in organization blocks No Operations NOP 1 No operation all bits set Stop Operations STP Stop scanning is still comple ted before a stop Error ID STS is set in the ISTACK N N N N N N N N N BEU N N Y 88 36 119 35 0 1 6 35 0 1 6 35 1 53 Disp...

Страница 491: ...BLD 132 Display generation operation for the programmer switch to control system flowchart CSF BLD 133 Display generation operation for the programmer switch to ladder diagram LAD BLD 255 Display generation operation for the programmer terminate a segment N N N N N N N N N 35 0 1 6 35 0 1 6 35 0 1 6 CPU 103 MA02 MA03 Execution Time in µs CPU 100 CPU 102 0 8 0 8 0 8 EWA 4NEB 812 6120 02b A 7 ...

Страница 492: ... Combine contents of ACCU 2 and ACCU 1 through logic EXCLUSIVE OR word oper ation Result is stored in ACCU 1 CC 1 CC 0 are affected N N N 51 19 1 6 0 8 OW Combine contents of ACCU 2 and ACCU 1 through logic OR word operation Result is stored in ACCU 1 CC 1 CC 0 are affected N N N 53 19 1 6 0 8 AW Combine contents of ACCU 2 and ACCU 1 through logic AND word operation Result is stored in ACCU 1 CC 1...

Страница 493: ...e BI TBN Test a bit of a data word for 0 Bit Operations cont Oper ation STL Permissible Operands RLO 1 Function 2 3 D RS T C D T C D Formal operand I Q F Formal operand T C Formal operand I Q F N Y N N Y N N N Y N N Y N N Y N N Y Y N Y Y N Y Y N Y N N Y Reset a formal operand when RLO 1 Data type BI FR Enable a timer counter for cold restart If RLO 1 FR T restarts the timer FR C sets decrements or...

Страница 494: ...U 1 Data type D Parameter type KC KF KH KM KS KT KY Load a word from the system data area into ACCU 1 Transfer the contents of ACCU 1 to the formal operand Data type BY W Additional actual operands DR DL DW Load the value of the formal operand into ACCU 1 Data type BY W Additional actual operands DL DR DW Formal op T C Y N Y 194 145 145 145 145 Permissible Operands SEC Start an on delay timer form...

Страница 495: ... symbolic address If the RLO is 0 it is set to 1 Symbolic address max 4 characters Y1 Y Y JZ Jump if the result is zero The jump is made only if CC 1 0 and CC 0 0 The RLO is not changed JN Jump if the result is not zero The jump is made only if CC 1 CC 0 The RLO is not changed JP Jump if the sign of the result is The jump is made only if CC 1 1 and CC 0 0 The RLO is not changed Symbolic address ma...

Страница 496: ... the low byte bits 0 to 7 of ACCU 1 by the value n n 0 to 255 N N N N N N N N N I DO N Increment the low byte bits 0 to 7 of ACCU 1 by the value n n 0 to 255 Process a block Only C DB JU OB J U PB JU FB JU SB can be substituted Actual operands C DB JU OB JU PB JU FB JU SB Formal operand N N N Y N DO DW DO FW Process data word The next operation is combined with the parameter specified in the data ...

Страница 497: ...ansfer a field byte by byte number of bytes 0 to 255 Load and Transfer Operations TNB Parameter n 0 to 255 LIR TIR Load the contents of a memory word addressed by ACCU 1 indirectly into the register 0 ACCU 1 2 ACCU 2 Transfer the register contents 0 ACCU 1 2 ACCU 2 indirectly into the memory word addressed by ACCU 1 N N N N N N N N N T RS Transfer a word to the system data area N N N 167 167 105 8...

Страница 498: ...ump Operation JUR Jump at random within a function block jump distance 32768 to 32767 N N N 131 58 104 CPU 103 MA02 MA03 Execution Time in µs CPU 100 CPU 102 68 35 3 35 3 35 82 STS TAK Stop operation Program pro cessing is interrupted imme diately after this operation Swap the contents of ACCU 1 and ACCU 2 N N N N N N 74 57 Other Operations A 1 4 Evaluation of CC 1 and CC 0 CC 1 Arithmetic Operati...

Страница 499: ... 1 0 0 0 1 2 3 4 5 6 7 9 C D 8 8 F 0n 0a 0a 0d 0i 0c 0c 0n 0d 0f 4 5 F 0n 0a 0a 0d 0i 0c 0c 0n 0d 0f Machine Code Oper ation SEC C F F F F F F L T SD JM SD AN L L T SS JU SSU ON L L L L L L L L T SP Oper and DB DL DL T KB DR DR T KC KT KF KS KY KH KM DW DW T B0 B1 B3 B2 R 0e 0e 0e 0e 0e 0e 0e L 0e 0e 0e 0e 0e 0e 0e R 0e 0e 0e 0e 0e 0e 0e L 0e 0e 0e 0e 0e 0e 0e R 0c 0c 0f 0 0 0 0 0 0 0g 0g 0d 0i 0c...

Страница 500: ... 1 1 1 2 2 2 2 4 4 4 4 5 5 5 5 R C D 1 2 3 5 5 6 9 C D E 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 L 5 5 6 6 6 6 6 6 6 6 6 6 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 4 4 4 5 5 5 5 5 5 5 5 5 5 C D E 0 1 2 2 3 3 4 5 8 9 0o 0f 0g 0e 0 0a 8a 0a 8a 0o 0f 0 0 0o 0f 0g 0e 0 0a 0a 0a 0a 0o 0f 0 0 0e 0e 0e 0e LC JC DO ADD XOW L L T T CD JC ADD F C OB FW BF IW QW IW QW C PB KF Machine Code Oper ation JN SI RB R JU...

Страница 501: ... address h number of shifts b bit address i relative jump address c parameter address k register address d timer number l block length in bytes e constant m jump displacement 16 bits f block number n value g word address o counter number R 0a 0a 0f 0c 5 0 0a 0a 0o 0f 0 0a 0a 0a 0a 0a 0a 0a 0o 0o 0 0 0o 0o L 0 R 0 L 0f R 0f L 0a 0a 0f 0c 0 0 0a 0a 0o 0f 0 0a 0a 0a 0a 0a 0a 0a 0o 0o 0 0 0o 0o R 2 3 ...

Страница 502: ...EP 5 control system flowchart method of representation D Data 1 bit 0 0 to 255 15 DB Data block 2 to 63 2 to 63 2 to 255 DL Data word left hand byte 0 to 255 0 to 255 0 to 255 DR Data word right hand byte 0 to 255 0 to 255 0 to 255 DW Data word 0 to 255 0 to 255 0 to 255 EF DB1 parameter SINEC L1 position of receive mailbox F Flag retentive non retentive 0 0 to 63 7 64 0 to 127 7 0 0 to 63 7 64 0 ...

Страница 503: ...0 to 999 3 0 0 to 999 3 KY Constant 2 bytes 0 to 255 each byte 0 to 255 each byte 0 to 255 each byte LAD STEP 5 Ladder Diagram NT DB1 parameter number of timers being processed OB Organization block for special applications 1 3 13 21 22 31 34 251 0 to 63 0 to 63 0 to 255 OB13 DB1 parameter interval ms within which OB13 is called and processed OHE DB1 parameter enable operating hours counter OHS DB...

Страница 504: ...ystem operations for bit test and set operations system operations 0 to 255 0 0 to 255 15 SAC STEP address counter SAV DB1 parameter Clock time after last switch from STOP RUN or save from last Power OFF SB Sequence block 0 to 255 SDP DB1 block ID for system data parameters SET DB1 parameter Set clock date SF DB1 parameter SINEC L1 position of send mailbox SL1 DB1 block ID for SINEC L1 SLN DB1 par...

Страница 505: ...B Dimension Drawings EWA 4NEB 812 6120 02b ...

Страница 506: ...wing of the 2 m 6 6 ft Standard Mounting Rail B 2 B 6 Dimension Drawing of the S5 100U CPU B 3 B 7 Dimension Drawing of the Bus Unit Crimp Snap in Connections with I O Module B 4 B 8 Dimension Drawing of the Bus Unit SIGUT Screw type Terminals with I O Module B 5 B 9 Dimension Drawing of the IM 315 Interface Module B 6 B 10 Dimension Drawing of the IM 316 Interface Module 6ES5 316 8MA12 B 7 B 11 D...

Страница 507: ... a a a a a a a a a a De burred oblong hole a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 2 5 0 1 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a R 1 2 0 05 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 508: ... 2 0 2 530 20 9 15 0 6 25 1 0 20 x 25 500 0 8 x 1 0 19 7 18 0 7 Figure B 4 Dimension Drawing of the 830 mm 32 7 in Standard Mounting Rail 830 32 7 15 0 6 25 1 0 32 x 25 800 1 26 x 1 0 31 5 18 0 7 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 5 2 0 2 Figure B 5 Dimension Drawing of the 2 m 6 6 ft Standard Mounting Rail 2000 mm 6 6 ft B 2 EWA 4NEB 812 6120...

Страница 509: ...S5 100U Dimension Drawings Figure B 6 Dimension Drawing of the S5 100U CPU 91 5 3 6 81 3 2 63 5 2 5 35 1 4 127 5 120 4 1 40 1 6 10 8 0 4 135 5 3 EWA 4NEB 812 6120 02b B 3 ...

Страница 510: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Страница 511: ... Dimension Drawing of the Bus Unit SIGUT Screw type Terminals with I O Module 81 3 2 135 5 3 85 3 4 127 5 162 6 4 with screw type terminals 6ES5 700 8MA11 91 5 3 6 45 75 1 7 Standard mounting rail EN 50022 35 x 15 EWA 4NEB 812 6120 02b B 5 ...

Страница 512: ...Dimension Drawings S5 100U Figure B 9 Dimension Drawing of the IM 315 Interface Module 135 5 3 135 5 3 45 4 1 8 35 1 4 26 1 min 210 8 3 max 570 22 4 13 5 0 5 81 3 2 B 6 EWA 4NEB 812 6120 02b ...

Страница 513: ...S5 100U Dimension Drawings Figure B 10 Dimension Drawing of the IM 316 Interface Module 6ES5 316 8MA12 13 5 0 5 81 3 2 min 210 8 3 max 10000 39 4 26 1 35 1 4 135 5 3 45 4 1 8 EWA 4NEB 812 6120 02b B 7 ...

Страница 514: ...imension Drawings S5 100U Figure B 11 Dimension Drawing of the PS 930 and PS 931 Power Supply Modules 81 3 2 127 5 120 4 7 135 5 3 Standard mounting rail EN 50022 35 15 45 4 1 8 B 8 EWA 4NEB 812 6120 02b ...

Страница 515: ...C Active and Passive Faults in Automation Equipment EWA 4NEB 812 6120 02b ...

Страница 516: ...EWA 4NEB 812 6120 02b ...

Страница 517: ...tial property damage i e where a dangerous fault can occur additional external measures additional external measures must be taken or equipment provided to ensure or force safe operating conditions even in the event of a fault e g by means of independent limit monitors mechanical interlocks etc Procedures for Maintenance and Repair If you are carrying out measurement or testing work on an active u...

Страница 518: ... Devices are commonly referred to by the abbreviation ESD Electrostatic sensitive devices are labelled with the following symbol Caution Electrostatic sensitive devices are subject to voltages that are far below the voltage values that can still be perceived by human beings These voltages are present if you touch a component module without previously being electrostatically discharged In most case...

Страница 519: ...scharges An electrostatic discharge is perceptible from 3500 V audible from 4500 V visible from 5000 V A fraction of those voltages is capable of destroying or damaging electronic devices Carefully note ad apply the protective measures described below to protect and prolong the life of your modules and components General protective measures against electrostatic discharge damage Keep plastics away...

Страница 520: ...nic devices should first discharge their bodies by touching grounded metallic parts e g bare metal parts of switchgear cabinets water pipes etc Protect the modules against contact with chargeable and highly insulating materials such as plastic foils insulating table tops or clothes made of plastic fibres Place electrostatic sensitive devices only on conductive surfaces Tables with ESD surfaces Con...

Страница 521: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Страница 522: ...EWA 4NEB 812 6120 02b ...

Страница 523: ...D Information for Ordering Accessories EWA 4NEB 812 6120 02b ...

Страница 524: ...EWA 4NEB 812 6120 02b ...

Страница 525: ...ower supply 6EW1 115 230 V AC 24 V DC 4 A 6EW1 380 1AB 115 230 V AC 24 V DC 10 A 6EW1 380 4AB01 Bus Units Bus unit with SIGUT screw type terminals 6ES5 700 8MA11 Bus unit with crimp snap in terminals 6ES5 700 8MA22 Interrupt bus unit with SIGUT screw type terminals 6ES5 700 8MB11 Interrupt bus unit with crimp snap in terminals 6ES5 700 8MB21 Accessories Extracting tool for crimp snap in connection...

Страница 526: ...6ES5 998 0UB53 Accessories for the CPUs Back up battery lithium AA 3 4 V 850 mAh 6ES5 980 0MB11 Memory submodule EPROM 4096 statements 6ES5 375 1LA15 Memory submodule EPROM 8192 statements 6ES5 375 1LA21 Memory submodule EPROM 16384 statements 6ES5 375 1LA41 Memory submodule EEPROM 1024 statements 6ES5 375 0LC11 Memory submodule EEPROM 2048 statements 6ES5 375 0LC21 Memory submodule EEPROM 4096 st...

Страница 527: ...5SD41 Digital Input Modules 8 x 5 to 24 V DC isolated 6ES5 433 8MA11 4 x 24 V DC 6ES5 420 8MA11 8 x 24 V DC 6ES5 421 8MA12 16 x 24 V DC 6ES5 422 8MA11 8 x 24 V DC isolated 6ES5 431 8MA11 4 x 24 to 60 V DC isolated 6ES5 430 8MB11 4 x 115 V AC isolated 6ES5 430 8MC11 8 x 115 V AC isolated 6ES5 431 8MC11 4 x 230 V AC isolated 6ES5 430 8MD11 8 x 230 V AC isolated 6ES5 431 8MD11 Digital Output Modules ...

Страница 528: ...put Modules 2 x 10 V isolated 6ES5 470 8MA12 2 x 20 mA isolated 6ES5 470 8MB12 2 x 4 to 20 mA isolated 6ES5 470 8MC12 2 x 1 to 5 V isolated 6ES5 470 8MD12 Function Modules IP 262 Closed loop control module with 3 analog outputs 6ES5 262 8MA12 with 8 binary outputs 6ES5 262 8MB12 IP 263 Positioning module 6ES5 263 8MA13 IP 264 Electronic cam controller module 6ES5 264 8MA12 IP 265 High Speed Sub Co...

Страница 529: ...ctions Program Package with description in German English and French for the S5 DOS operating system 6ES5 848 8AA01 for the MS DOS S5 DOS MT operating system 6ES5 848 7AA01 Floating Point Arithmetic Program Package with description in German English and French for the S5 DOS operating system 6ES5 845 8GP01 for the MS DOS S5 DOS MT operating system 6ES5 845 7GP01 GRAPH 5 Program Package with descri...

Страница 530: ...EWA 4NEB 812 6120 02b ...

Страница 531: ...E Reference Materials EWA 4NEB 812 6120 02b ...

Страница 532: ...EWA 4NEB 812 6120 02b ...

Страница 533: ...5U Programmable Controllers Hans Berger Siemens AG Berlin and Munich 1989 2nd Edition Order No ISBN 3 8009 1530 8 Programmable Controllers Basic Concepts Siemens AG 1992 Order No A19100 L531 F914 X 7600 Programming Primer for the SIMATIC S5 90 95U Practical Exercises with the PG 710 Programmer Siemens AG Berlin and Munich 1992 Order No A19100 L531 F550 X 7600 EWA 4NEB 812 6120 02b E 1 ...

Страница 534: ...EWA 4NEB 812 6120 02b ...

Страница 535: ...F Siemens Addresses Worldwide EWA 4NEB 812 6120 02b ...

Страница 536: ...EWA 4NEB 812 6120 02b ...

Страница 537: ...zig Mannheim Munich Nuremberg Saarbrücken Stuttgart Finland Siemens Osakeyhtiö Helsinki France Siemens S A Paris Saint Denis Lyon Caluire et Cuire Marseilles Metz Seclin Lille Strasbourg Great Britain Siemens Ltd London Sunbury on Thames Birmingham Bristol Clevedon Congleton Edinburgh Glasgow Leeds Liverpool Newcastle Greece Siemens A E Athens Thessaloniki Hungary SICONTACT GmbH Budapest Iceland S...

Страница 538: ...zambique Siemens Resident Engineer Maputo Romania Siemens birou de consulta ii tehnice Bukarest Spain Siemens S A Madrid Sweden Siemens AB Stockholm Eskilstuna Göteborg Jönköping Luleå Malmö Sundsvall Switzerland Siemens Albis AG Zürich Bern Siemens Albis S A Lausanne Renens Turkey ETMA Istanbul Adana Ankara Bursa Izmir Samsun USSR Siemens AG Agency Moscow Yugoslavia General Export OOUR Zastupstvo...

Страница 539: ...a Porto Alegre Recife Rio de Janeiro Salvador de Bahía Vitoria Canada Siemens Electric Ltd Montreal Québec Toronto Ontario Chile INGELSAC Santiago de Chile Colombia Siemens S A Bogotá Baranquilla Cali Medellín Costa Rica Siemens S A San José Ecuador Siemens S A Quito OTESA Guayaquil Quito El Salvador Siemens S A San Salvador Guatemala Siemens S A Ciudad de Guatemala Honduras Representaciones Elect...

Страница 540: ...t Arabia Lebanon Ets F A Kettaneh S A Beirut Malaysia Siemens AG Malaysian Branch Kuala Lumpur Oman Waleed Associates Muscat or Siemens Resident Engineers Dubai Pakistan Siemens Pakistan Engineering Co Ltd Karachi Islamabad Lahore Peshawer Quetta Rawalpindi People s Republic of China Siemens Represen tative Office Beijing Guangzhou Shanghai Philippine Islands Maschinen Technik Inc MATEC Manila Qat...

Страница 541: ... continued Yemen Arab Republic Tihama Tractors Engineering Co o Ltd Sanaa or Siemens Resident Engineer Sanaa Australia Australia Siemens Ltd Melbourne Brisbane Perth Sydney New Zealand Siemens Liaison Office Auckland EWA 4NEB 812 6120 02b F 5 ...

Страница 542: ...EWA 4NEB 812 6120 02b ...

Страница 543: ...Index EWA 4NEB 812 6120 02b ...

Страница 544: ...EWA 4NEB 812 6120 02b ...

Страница 545: ...CD 7 31 7 32 Binary divider 8 71 Binary scaler 8 71 Bit pattern 11 11 Bit test operation 8 42 Block call operations 8 33 end symbol 9 4 header 7 8 ID 9 1 9 5 9 10 length 7 7 parameters 7 14 programming 7 8 structure 7 6 7 8 type 7 5 Boolean logic operation 8 2 Broken wire 11 7 BSTACK 5 11 Bus cable 13 1 Bus terminal 13 1 Bus unit installing 2 2 3 3 C CE marking 14 1 Central Processing Unit CPU 2 1...

Страница 546: ... 13 5 Derivative action time 9 19 9 21 Design modular 1 2 Diagnostic module 15 9 Digital input module 3 13 Digital input output module 3 18 6 4 address assignment 6 7 Digital logic operation 8 44 Display generation operation 8 39 Divider 16 9 13 DO operation 8 54 E Electromagnetic interference 3 22 Electronic cam controller module 15 49 Enable operation 8 41 Equipotential bonding 3 31 Error addres...

Страница 547: ...ng rail standard 2 2 Multiplier 16 9 16 N Nesting depth 7 6 NO operation 8 38 Normal mode 7 19 Number format 7 31 O OB2 10 1 10 4 OB13 7 28 OB21 7 24 OB22 7 24 On delay 8 22 8 23 stored 8 23 timer 15 6 Operand 7 1 areas 7 3 ID 7 1 Operating hours counter 12 7 12 30 Operating mode changing 4 2 display 4 1 panel 4 2 start up 4 2 switch 4 1 Operating system 2 7 Operation 7 1 8 1 basic 8 1 Boolean log...

Страница 548: ... connection of 15 21 Pulse timer 8 20 extended 8 21 R Reaction time interrupt 10 5 Real time clock integral 12 1 reading 12 21 setting 12 5 12 21 Receive Mailbox EF 13 2 Reference point approach 15 31 pulse 15 32 signal 15 32 variable 9 21 Reference potential 11 1 Register contents loading and transfering 8 65 Removing the S5 100U 3 1 3 2 Response time 7 27 Retentive characteristics 2 5 Retriggeri...

Страница 549: ...eters 5 14 System data area 12 15 System data word 13 2 System characteristics defining in DB1 9 11 T Terminal block 3 10 Temperature compensation 11 3 11 8 Test function STATUS 4 8 Test mode 7 19 Thermocouples 11 2 Time 8 17 base 8 16 8 17 loading 8 14 8 17 Time constant dominant 9 21 Timer 8 15 8 24 module 15 4 operation 8 15 reset 8 15 starting 8 15 8 19 Transfer 8 12 operation 8 10 8 11 8 64 T...

Страница 550: ...EWA 4NEB 812 6120 02b ...

Страница 551: ...ur Title Company Name Street City Zip Code Country Please check any industry that applies to you Automotive Electrical Machinery Chemical Food Instrument and Control Nonelectrical Machinery Pharmaceutical Plastic Pulp and Paper Textiles Transportation Other Petrochemical Phone EWA 4NEB 812 6120 02b ...

Страница 552: ...of Your Manual Order No of Your Manual Edition Please give each of the following questions your own personal mark within the range from 1 very good to 5 poor 1 Do the contents meet your requirements 2 Is the information you need easy to find 3 Is the text easy to understand 4 Does the level of technical detail meet your requirements 5 Please rate the quality of the graphics tables Additional comme...

Отзывы: