Siemens 880 Instruction Manual

Browse online or download Instruction Manual for Power generators Siemens 880. Siemens 880 Instruction manual User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 129
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews

Summary of Contents

Page 1 - PLC 135 WB/WB2/WD

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

Page 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

Page 3 - documentation

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

Page 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

Page 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

Page 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

Page 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

Page 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:

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 32

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

Page 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

Page 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

Page 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

Page 36

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 42

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

Page 43

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 53

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

Page 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

Page 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

Page 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,

Page 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

Page 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)

Page 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

Page 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

Page 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

Page 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

Page 63

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

Page 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

Page 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

Page 66

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

Page 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.

Page 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

Page 69

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

Page 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

Page 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

Page 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

Page 73

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

Page 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

Page 75

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

Page 76

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

Page 77

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

Page 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

Page 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

Page 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

Page 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

Page 82

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

Page 83

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

Page 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

Page 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

Page 86 - 9.2.7 Code operations

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

Page 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

Page 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

Page 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

Page 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

Page 91

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

Page 92

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

Page 93

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

Page 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

Page 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

Page 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

Page 97 - 9.3.11 Jump operations

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 108

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

Page 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

Page 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

Page 111

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

Page 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

Page 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

Page 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

Page 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

Page 116

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

Page 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

Page 118

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

Page 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

Page 120

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

Page 121

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

Page 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

Page 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

Page 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

Page 125

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

Page 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

Page 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

Page 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

Page 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

Comments to this Manuals

No comments