Siemens 880 Manuál s instrukcemi

Procházejte online nebo si stáhněte Manuál s instrukcemi pro Generátory energie Siemens 880. Siemens 880 Instruction manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 129
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků

Shrnutí obsahu

Strany 1 - PLC 135 WB/WB2/WD

Planning Guide 12.93 EditionManufacturer DocumentationSINUMERIK 840CSINUMERIK 880/880 GA2PLC 135 WB/WB2/WD

Strany 2 - SINUMERIK

11.92 1 Introductory Remarks1.3.1 Program structure• Function blocks (FBs and FXs)The FBs are used to program frequently recurring complex functions

Strany 3 - documentation

9 STEP 5 Operation Set with Programming Examples 11.929.3.12 Processing operations9.3.12 Processing operationsOperation DescriptionDO= Process forma

Strany 4 - Preliminary Remarks

11.92 9 STEP 5 Operation Set with Programming Examples9.3.12 Processing operations• If Q 4.1 is to be set, the value KH0184 (pointer + KH0000) must

Strany 5 - Contents

9 STEP 5 Operation Set with Programming Examples 12.939.3.13 Operations for page memory processing9.3.13 Operations for page memory processing 1)Ope

Strany 6

12.93 9 STEP 5 Operation Set with Programming Examples9.3.14 Other operations9.3.14 Other operationsOperation DescriptionADD BF -128 to Add byte co

Strany 7

9 STEP 5 Operation Set with Programming Examples 12.939.3.14 Other operationsIf you want to calculate back within a block, you must use the instruct

Strany 8 - 1 Introductory Remarks

12.93 9 STEP 5 Operation Set with Programming Examples9.3.14 Other operationsThe following applies when defaulting the offset address:LIR, TIR, TBW:

Strany 9 - 1.3.1 Program structure

11.92 10 Rules of Compatibility between the LAD, CSF and STL Methods of Representation10.1 General10 Rules of Compatibility between the LAD, CSFand

Strany 10 - 1.3.2 Program organization

10 Rules of Compatibility between the LAD, CSF and STL Methods of Representation 11.9210.2 Rules of compatibility for graphic program input (LAD, CS

Strany 11 - 1.3.3 Program processing

11.92 10 Rules of Compatibility between the LAD, CSF and STL Methods of Representation10.2 Rules of compatibility for graphic program input (LAD, CS

Strany 12

10 Rules of Compatibility between the LAD, CSF and STL Methods of Representation 11.9210.2 Rules of compatibility for graphic program input (LAD, CS

Strany 13 - 1 Introductory Remarks 12.93

1 Introductory Remarks 11.921.3.2 Program organizationOrganization, program, function and sequence blocks can invoke other program, function andsequ

Strany 14 - 2 Program Blocks

11.92 10 Rules of Compatibility between the LAD, CSF and STL Methods of Representation10.3 Rules of compatibility for program input in a statement l

Strany 15 - 2.2 Calling program blocks

10 Rules of Compatibility between the LAD, CSF and STL Methods of Representation 11.9210.3 Rules of compatibility for program input in a statement l

Strany 16 - 3 Data Blocks

11.92 10 Rules of Compatibility between the LAD, CSF and STL Methods of Representation10.3 Rules of compatibility for program input in a statement l

Strany 17 - 3.2 Calling data blocks

10 Rules of Compatibility between the LAD, CSF and STL Methods of Representation 11.9210.3 Rules of compatibility for program input in a statement l

Strany 18

11.92 10 Rules of Compatibility between the LAD, CSF and STL Methods of Representation10.3 Rules of compatibility for program input in a statement l

Strany 19 - 3 Data Blocks 11.92

10 Rules of Compatibility between the LAD, CSF and STL Methods of Representation 11.9210.3 Rules of compatibility for program input in a statement l

Strany 20 - 4 Function Blocks

11.92 10 Rules of Compatibility between the LAD, CSF and STL Methods of Representation10.3 Rules of compatibility for program input in a statement l

Strany 21 - 4.2.2 Block body

10 Rules of Compatibility between the LAD, CSF and STL Methods of Representation 11.9210.3 Rules of compatibility for program input in a statement l

Strany 22 - 4.3.2 Parameter list

11.92 10 Rules of Compatibility between the LAD, CSF and STL Methods of Representation10.3 Rules of compatibility for program input in a statement l

Strany 23 - 4.4.1 Library number

10 Rules of Compatibility between the LAD, CSF and STL Methods of Representation 11.9210.3 Rules of compatibility for program input in a statement l

Strany 24 - 4.4.4 Block parameter types

11.92 1 Introductory Remarks1.3.3 Program processingFig. 1.4 Types of interrupt processingOB 2 OB 3Process interrupt processingOB 4Aperiodic trigger

Strany 25

11.92 10 Rules of Compatibility between the LAD, CSF and STL Methods of Representation10.3 Rules of compatibility for program input in a statement l

Strany 26

10 Rules of Compatibility between the LAD, CSF and STL Methods of Representation 11.9210.3 Rules of compatibility for program input in a statement l

Strany 27 - 5 Organization Blocks

12.93 11 Hardware11.1 General notes on the PLC 135 WB/WB211 Hardware11.1 General notes on the PLC 135 WB/WB2The interface controller consists of one

Strany 28 - 5.2 Overview

11 Hardware 12.9311.1.1 Operating the PLC 135 WB/WB2 using the mode switch11.1.1 Operating the PLC 135 WB/WB2 using the mode switchOn the front pane

Strany 29 - 5.3 Points of interruption

12.93 11 Hardware11.1.1 Operating the PLC 135 WB/WB2 using the mode switchRUN STOP O. RESET tv >10 sec. STOP tv>2 sec. O. RESET STOP RUNWi

Strany 30 - 5.3.2 Response time

11 Hardware 12.9311.2 General notes on the PLC 135 WD11.2 General notes on the PLC 135 WDThe PLC 135 WD module is used with SINUMERIK 840C, SW 3 and

Strany 31 - (LIM/SIM)

12.93 11 Hardware11.2.1 Operating the PLC 135 WD11.2.1 Operating the PLC 135 WDThe PLC 135 WD no longer has a start-up switch. The functions WARM RE

Strany 32

12.93 12 Programming and Test Functions with the Programmer12.1 Requirement12 Programming and Test Functions with theProgrammer12.1 RequirementTo be

Strany 33 - 1) SINUMERIK 880 only

12 Programming and Test Functions with the Programmer 12.9312.3 START PLC12.3 START PLCThe following restart modes can be selected via the programme

Strany 34 - PLC 1 PLC 2

12.93 12 Programming and Test Functions with the Programmer12.4 Block handling using the programmer12.4 Block handling using the programmerOVERALL R

Strany 35

1 Introductory Remarks 12.931.4 Differences between the PLC 135 WB2 and the PLC 135 WD1.4 Differences between the PLC 135 WB2 and the PLC 135 WDThe

Strany 36

11.92 2 Program Blocks2.1 Programming program blocks2 Program Blocks2.1 Programming program blocksThe information presented in this Section applies

Strany 37

2 Program Blocks 12.932.2 Calling program blocks2.2 Calling program blocksBlock calls are used to release the blocks for execution (Fig. 2.2). These

Strany 38

11.92 3 Data Blocks3.1 Programming data blocks3 Data Blocks3.1 Programming data blocksThe data required by the user program is stored in data blocks

Strany 39 - 11.92 5 Organization Blocks

3 Data Blocks 11.923.2 Calling data blocks3.2 Calling data blocksData blocks can be called unconditionally only. Once called, a data block remains i

Strany 40 - 5 Organization Blocks 12.93

12.93 3 Data Blocks3.2 Calling data blocksWhen a program block in which a data block is addressed calls another program block that ad-dresses anothe

Strany 41

3 Data Blocks 11.923.3 Processing data words greater than data word 2553.3 Processing data words greater than data word 255The size of data blocks w

Strany 42

SINUMERIK 840CSINUMERIK 880/880 GA2PLC 135 WB/WB2/WDPlanning GuideManufacturer Documentation12.93 EditionApplies to:Control Software versionSINUMERIK

Strany 43

12.93 4 Function Blocks4.1 General remarks4 Function Blocks4.1 General remarksFunction blocks are used to implement frequently recurring or extremel

Strany 44

4 Function Blocks 11.924.2 Structure of function blocks4.2 Structure of function blocksA function block comprises a block header, name and parameter

Strany 45 - V Block type Block number

12.93 4 Function Blocks4.3 Calling and initializing function blocks4.3 Calling and initializing function blocksFunction blocks (FBs, FXs) are presen

Strany 46 - 6 Start-up

4 Function Blocks 11.924.3.2 Parameter listFig. 4.2 Calling a function blockBECallis generated by theprogrammerCallis generated by theprogrammerBEFB

Strany 47 - 6.1 Self-diagnostics program

11.92 4 Function Blocks4.4.3 Formal operand (block parameter name)4.4.3 Formal operand (block parameter name)A formal operand may comprise no more t

Strany 48 - 11.92 6 Start-up

4 Function Blocks 11.924.4.4 Block parameter typesOperations to which parameters are to be assigned (substitution operations) are programmedin the f

Strany 49 - 6.4 Timeout analysis

11.92 4 Function Blocks4.4.5 Block data type and permissible actual operand4.4.5 Block data type and permissible actual operandPermitted actual oper

Strany 50 - 7 Device Error Analysis

11.92 5 Organization Blocks5.1 General remarks5 Organization Blocks5.1 General remarksThe organization blocks form the interface between the system

Strany 51 - 7.1 Interrupt stack

5 Organization Blocks 12.935.1 General remarksAppropriate programming of the organization blocks enables the following:• Cyclic execution(see Sectio

Strany 52

12.93 5 Organization Blocks5.2 OverviewOrganization block OB 1 must always be available. Organization blocks OB 2 to OB 7 are notmandatory. If they

Strany 53

SINUMERIK® documentationPrinting historyBrief details of this edition and previous editions are listed below.The status of each edition is shown by th

Strany 54 - 7.2 Detailed error code

5 Organization Blocks 11.925.3.1 Normal mode5.3.1 Normal modeIn normal mode the cyclically processed program can only be interrupted at the block li

Strany 55

11.92 5 Organization Blocks5.3.3 Special mode5.3.3 Special modeIn special mode the user program can be interrupted after each MC5 instruction (depen

Strany 56 - 8.1 Segment allocation

5 Organization Blocks 11.925.3.4 Semaphore technique within the processing levels of a PLC (LIM/SIM)Example:A user program is processed cyclically,

Strany 57 - 1) SINUMERIK 880, SW 6

11.92 5 Organization Blocks5.3.5 Semaphore technique in multiprocessor mode (SES/SEF)5.3.5 Semaphore technique in multiprocessor mode (SES/SEF) 1)Th

Strany 58 - 8.1 Segment allocation

5 Organization Blocks 11.925.3.5 Semaphore technique in multiprocessor mode (SES/SEF)Command description:The command "Set semaphore" (SES)

Strany 59 - 8.3 Block lists

11.92 5 Organization Blocks5.3.6 Priority assignment for interrupts5.3.6 Priority assignment for interruptsIf several interrupts occur simultaneousl

Strany 60 - 8.3 Block lists

5 Organization Blocks 11.925.4.1 Interface between system program and cyclic programFig. 5.4 Cyclic program scanning5 4 32Operating system PB nOB 1B

Strany 61 - Examples

11.92 5 Organization Blocks5.4.2 Basic program organization5.4.2 Basic program organizationOrganization block OB 1 contains the basic structure of t

Strany 62

5 Organization Blocks 11.925.4.2 Basic program organizationFig. 5.6 Breakdown of the user program based on the plant structurePB ”Y”BEBEBEBEBEBEBEB

Strany 63

11.92 5 Organization Blocks5.5 Programming the interrupt service routine5.5 Programming the interrupt service routineThe PLC 135 WB has interrupt-pr

Strany 64 - 9.2 Basic operations

Preliminary RemarksNotes for the readerThis manual is intended for the manufacturers of machine tools using SINUMERIK 840C, 880or 880 GA2.With every n

Strany 65

5 Organization Blocks 12.935.5.2 Timeout in process interrupt processing5.5.2 Timeout in process interrupt processingTimeout with OB 3If an edge cha

Strany 66

12.93 5 Organization Blocks5.6 Programming aperiodic processing5.6 Programming aperiodic processingWith organization block OB 4, blocks can be trigg

Strany 67 - 9.2.2 Storage operations

5 Organization Blocks 11.925.7.1 Interface between system program and time-controlled processingExample of processing when several alarms occur:Fig.

Strany 68

11.92 5 Organization Blocks5.7.1 Interface between system program and time-controlled processingFig. 5.8 Schematic representation of the blocks in t

Strany 69

5 Organization Blocks 12.935.7.1 Interface between system program and time-controlled processingAfter the request interrupt has been completely proc

Strany 70 - 3) PIQ: Process output image

11.92 5 Organization Blocks5.8 Calling non-existent blocksOpening a non-existent data blockWhen you attempt to open a non-existent (not loaded) bloc

Strany 71

12.93 6 Start-up6.1 Self-diagnostics program6 Start-upStarting up of the PLC 135 WB / WB2 / WD is subordinate to the starting up of the numericalmac

Strany 72

6 Start-up 12.936.1 Self-diagnostics programTable 6.2 LED displays and their meanings for SINUMERIK 840CLEDs for PLC Significance (SINUMERIK 840C)co

Strany 73

11.92 6 Start-up6.2 System initialization program6.2 System initialization programAfter the self-diagnostics program has run, the system initializat

Strany 74

6 Start-up 12.936.3 User data blocks6.3 User data blocksOn each cold restart, certain data blocks are set up and written in ascending order into the

Strany 75

ContentsPage1 Introductory Remarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–11.1 Application . . . . . . . . . . . . .

Strany 76

11.92 7 Device Error Analysis7.1 Interrupt stack7 Device Error AnalysisThe system program can ascertain faulty operation of the central processor, e

Strany 77

7 Device Error Analysis 11.927.1 Interrupt stackBARB Processing check test function activeBARBEND STOP state caused by abortion of processing check

Strany 78

12.93 7 Device Error Analysis7.1 Interrupt stackThe following can be called to screen as the next display:P L C I N F O R M A T I O N I S T A C K

Strany 79

7 Device Error Analysis 12.937.1 Interrupt stackSee Section EVENT FLAGS OF THE PLC 135 WB/WB2/WD for the meaning of the resultcondition codes.KB Inv

Strany 80 - 9.2.5 Comparison operations

12.93 7 Device Error Analysis7.2 Detailed error code7.2 Detailed error codeUsing the programmer's info function, the user can display additiona

Strany 81

7 Device Error Analysis 12.937.2 Detailed error codezob2 = Event counter, processing timeout in OB 2 2)zob3 = Event counter, processing timeout in

Strany 82

12.93 8 Memory Allocation and Organization8.1 Segment allocation8 Memory Allocation and Organization8.1 Segment allocationThe expanded memory area o

Strany 83

8 Memory Allocation and Organization 12.938.1 Segment allocationMemory allocationFig. 8.1 Memory allocation in the PLC 135 WB/WB2 interface control6

Strany 84 - 9.2.6 Block calls

12.93 8 Memory Allocation and Organization8.1 Segment allocationMemory allocationTable 8.2 Memory allocation in the PLC 135 WD interface control5 an

Strany 85

8 Memory Allocation and Organization 11.928.2 Segment switch8.2 Segment switch8.2.1 Changing the segment switchThe following sequence applies to the

Strany 86 - 9.2.7 Code operations

5.3.3 Special mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–55.3.4 Semaphore technique within the proces

Strany 87 - 9.2.8 Arithmetic operations

11.92 8 Memory Allocation and Organization8.3 Block listsThe following should be observed with regard to output of the block lists via the address l

Strany 88 - 9.2.9 Other operations

11.92 9 STEP 5 Operation Set with Programming Examples9.1 General notes9 STEP 5 Operation Set with ProgrammingExamples9.1 General notesThe STEP 5 op

Strany 89 - 9.3.2 Setting operations

9 STEP 5 Operation Set with Programming Examples 11.929.1.1 Numeric representation• Fixed-point double-word: 0 ... +2 147 483 647– 1 ... – 2 147 483

Strany 90

12.93 9 STEP 5 Operation Set with Programming Examples9.1.2 Condition codes of the PLC 135 WB/WB2/WD9.1.2 Condition codes of the PLC 135 WB/WB2/WDTh

Strany 91

9 STEP 5 Operation Set with Programming Examples 11.929.2 Basic operations9.2 Basic operationsBasic operations are programmable in program, sequence

Strany 92

11.92 9 STEP 5 Operation Set with Programming Examples9.2.1 Logic operations, binaryAND operationGiven circuit STEP 5 representationStatement Ladder

Strany 93

9 STEP 5 Operation Set with Programming Examples 11.929.2.1 Logic operations, binaryAND before OR operation 1Given circuit STEP 5 representationSta

Strany 94

12.93 9 STEP 5 Operation Set with Programming Examples9.2.1 Logic operations, binaryOR before AND operationA(O I 1.4O I 1.5)A(O I 2.0O I 2.1)= Q 3.0

Strany 95 - 9.3.8 Shift operations

9 STEP 5 Operation Set with Programming Examples 11.929.2.2 Storage operationsRS flipflop for latching signal outputA I 2.7S Q 3.5A I 1.4R Q 3.5Give

Strany 96 - 9.3.9 Conversion operations

11.92 9 STEP 5 Operation Set with Programming Examples9.2.2 Storage operationsSimulation of a momentary-contact relayA I 1.7AN F 4.0= F 2.0A F 2.0S

Strany 97 - 9.3.11 Jump operations

9.3.2 Setting operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–299.3.3 Timing and counting operations . . . .

Strany 98 - 9.3.11 Jump operations

9 STEP 5 Operation Set with Programming Examples 11.929.2.3 Load and transfer operations9.2.3 Load and transfer operationsOperation Parameter Functi

Strany 99

11.92 9 STEP 5 Operation Set with Programming Examples9.2.3 Load and transfer operationsExample: Load and transfer function(FB0)(FB0) T QB 54IB 5I

Strany 100 - 9.3.12 Processing operations

9 STEP 5 Operation Set with Programming Examples 11.929.2.4 Timing and counting operations9.2.4 Timing and counting operationsIn order to load a tim

Strany 101 - SINUMERIK 840C/880 (PJ)

11.92 9 STEP 5 Operation Set with Programming Examples9.2.4 Timing and counting operationsPulseA I 3.0L KT 10.2SP T 1AT1= Q 4.0Given circuit STEP 5

Strany 102

9 STEP 5 Operation Set with Programming Examples 11.929.2.4 Timing and counting operationsExtended pulseA I 3.1L IW15SE T 2AT2= Q 4.1Given circuit S

Strany 103 - 9.3.14 Other operations

11.92 9 STEP 5 Operation Set with Programming Examples9.2.4 Timing and counting operationsON-delayT 0TWRA I 3.5L KT 9.2SD T 3AT3= Q 4.2Given circu

Strany 104 - 9.3.14 Other operations

9 STEP 5 Operation Set with Programming Examples 11.929.2.4 Timing and counting operationsOFF-delay0 TTWR0 TTWRAN I 3.4L FW13SF T 5A

Strany 105

11.92 9 STEP 5 Operation Set with Programming Examples9.2.4 Timing and counting operationsLatching ON-delayA I 3.3L DW21SS T 4A I 3.2RT4AT4= Q 4.3Gi

Strany 106 - 10.1 General

9 STEP 5 Operation Set with Programming Examples 11.929.2.4 Timing and counting operationsSetting a counterA I 4.1L IW20SC1Given circuit STEP 5 repr

Strany 107

11.92 9 STEP 5 Operation Set with Programming Examples9.2.4 Timing and counting operationsResetting a counterA I 4.2RC1AC1= Q 2.4Given circuit STEP

Strany 108

12.93 1 Introductory Remarks1.1 Application1 Introductory Remarks1.1 ApplicationThe PLC 135 WB/WB2/WD is a powerful interface controller for process

Strany 109 - AND-boxes

9 STEP 5 Operation Set with Programming Examples 11.929.2.4 Timing and counting operationsDown countingA I 4.0CD C 1I4.0Binary16 bitsCQ-RSCIGiven ci

Strany 110

11.92 9 STEP 5 Operation Set with Programming Examples9.2.5 Comparison operationsCompare for equalL IB19L IB20!= F= Q 3.0Given circuit STEP 5 repres

Strany 111

9 STEP 5 Operation Set with Programming Examples 11.929.2.5 Comparison operationsCompare for greaterQ3.2Given circuit STEP 5 representationStatement

Strany 112

11.92 9 STEP 5 Operation Set with Programming Examples9.2.5 Comparison operationsCompare for greater than or equal toL DD10L DD20>=G=Given circui

Strany 113

9 STEP 5 Operation Set with Programming Examples 11.929.2.6 Block calls9.2.6 Block callsOperation Parameter FunctionJUJCPBFBSBOB0 to 2550 to 2550 to

Strany 114

11.92 9 STEP 5 Operation Set with Programming Examples9.2.6 Block callsUnconditional call for a function block...JU FB 72...Given circuit STEP 5 rep

Strany 115

9 STEP 5 Operation Set with Programming Examples 11.929.2.7 Code operations9.2.7 Code operationsThe code operations allow a time or count, which is

Strany 116

11.92 9 STEP 5 Operation Set with Programming Examples9.2.8 Arithmetic operations9.2.8 Arithmetic operationsArithmetic operations can only be repres

Strany 117

9 STEP 5 Operation Set with Programming Examples 11.929.2.9 Other operations9.2.9 Other operationsThe following operations can only be represented i

Strany 118

11.92 9 STEP 5 Operation Set with Programming Examples9.3.1 Logic operations, binary9.3.1 Logic operations, binaryOperation DescriptionA = AND funct

Strany 119 - Fig. 10.20 Connector for CSF

1 Introductory Remarks 12.931.2.2 High-level language programming1.2.2 High-level language programmingThe tasks of the PLC in a complex machine tool

Strany 120

9 STEP 5 Operation Set with Programming Examples 12.939.3.3 Timing and counting operations9.3.3 Timing and counting operationsOperation DescriptionR

Strany 121

11.92 9 STEP 5 Operation Set with Programming Examples9.3.3 Timing and counting operationsExamples:Function block call Program in Programfunction b

Strany 122 - 11 Hardware

9 STEP 5 Operation Set with Programming Examples 11.929.3.4 Enabling operations for timing and counting operations9.3.4 Enabling operations for timi

Strany 123

11.92 9 STEP 5 Operation Set with Programming Examples9.3.5 Bit test operations (FB, FX only)9.3.5 Bit test operations (FB, FX only)Operation Parame

Strany 124

9 STEP 5 Operation Set with Programming Examples 11.929.3.6 Load and transfer operations9.3.6 Load and transfer operationsOperation DescriptionL = L

Strany 125

11.92 9 STEP 5 Operation Set with Programming Examples9.3.7 Logic operations, digital9.3.7 Logic operations, digitalOperation DescriptionAW AND oper

Strany 126 - 12.93 11 Hardware

9 STEP 5 Operation Set with Programming Examples 11.929.3.9 Conversion operations9.3.9 Conversion operationsOperation MeaningCFW One's compleme

Strany 127 - Programmer

11.92 9 STEP 5 Operation Set with Programming Examples9.3.11 Jump operations9.3.11 Jump operationsThe jump destination for unconditional and conditi

Strany 128 - 12.3 START PLC

9 STEP 5 Operation Set with Programming Examples 11.929.3.11 Jump operationsOperation Description JOS = The jump will be executed if "Overflow

Strany 129

11.92 9 STEP 5 Operation Set with Programming Examples9.3.11 Jump operationsExample (arithmetic operations):: L = WERT: L = MESS:+F: JZ = ZERO (Ju

Komentáře k této Příručce

Žádné komentáře