By: Andri Kuncoro. SIMATIC Overview SIMATIC Controller (PLC) S7-200 S7-300 S7-400

Download By: Andri Kuncoro. SIMATIC Overview SIMATIC Controller (PLC) S7-200 S7-300 S7-400

Post on 22-Dec-2015

229 views

Category:

Documents

10 download

Embed Size (px)

TRANSCRIPT

  • Slide 1
  • By: Andri Kuncoro
  • Slide 2
  • SIMATIC Overview
  • Slide 3
  • SIMATIC Controller (PLC) S7-200 S7-300 S7-400
  • Slide 4
  • S7 300 Features : Modular small controll system Performance graded range of CPU Extensive selection of modules Expandable design with up to 32 modules Backplane bus integrated in the modules Can be networked with MPI, Profibus or Industrial ethernet Central PG/PC connection with access to all modules No slot restrictions Configuration and parameter setting with the help HW Config
  • Slide 5
  • S7 300 MRES= Memory reset function STOP= Stop mode, program not executed RUN= Program execution RUNP= Program execution, read/write access SF= Group error, internal CPU or fault in module BATF= Battery fault DC5V= Internal 5 VDC voltage indicator FRCE= FORCE RUN= Flashes when the CPU is starting up, then steady light in Run mode STOP= Show steady light in Stop mode SF DP= Physical bus fault BUSF= No configuration or incorrect configuration Mode Selector Status Indicator
  • Slide 6
  • Starting with SIMATIC Manager
  • Slide 7
  • SIMATIC Manager menus and toolbars
  • Slide 8
  • Standard Library
  • Slide 9
  • Context-Sensitive Help in S7 F1
  • Slide 10
  • Creating a project
  • Slide 11
  • Insert Station
  • Slide 12
  • Starting Hardware Configuration Editor
  • Slide 13
  • Generating a Hardware setpoint Configuration
  • Slide 14
  • Addressing S7 Modules S R 1234567891011 R0PSCPUIM0481216202428 R1(PS)IM3236404448525660 R2(PS)IM6468727680848892 R3(PS)IM96100104108112116120124
  • Slide 15
  • Module Address Overview
  • Slide 16
  • Variable Addressing 2x
  • Slide 17
  • CPU Properties 2x
  • Slide 18
  • Saving the HW Configuration and Downloading it in the Module
  • Slide 19
  • Inserting S7 Block
  • Slide 20
  • Slide 21
  • Block architecture and Block editor OB: Organization Block FB: Function Block FC: Function SFB: System Function Block SFC: System Function DB: Data Block Maximun Nesting Depth : S7-300: 8 (16 for CPU 318) S7-400:24
  • Slide 22
  • Program Structure
  • Slide 23
  • Binary Operation AND - OPERATION ASSIGNMENT
  • Slide 24
  • Binary Operation OR - OPERATION
  • Slide 25
  • EXCLUSIVE - OR - OPERATION Binary Operation
  • Slide 26
  • RESET DOMINANT SET DOMINANT
  • Slide 27
  • Binary Operation POSITIVE EDGE
  • Slide 28
  • Binary Operation NEGATIVE EDGE
  • Slide 29
  • Binary Operation JUMP UNCONDITIONAL (JU) JUMP CONDITIONAL (JC)
  • Slide 30
  • Digital Operation BIT BYTE WORD For a unit of 8 binary characters, the term BYTE is used. A byte has the size of 8 bits. A word also has the size of 2 bytes or 16 bits. A double-word corresponds to the word length of 32 binary characters. A double-word also has the size of 2 words, 4 bytes, or 32 bits. DOUBLE-WORD
  • Slide 31
  • Beberapa operand di S7 : 1. Operand input(I) BitI 0.0 - ByteIB 0 - WordIW 0 - Double WordID 0 - 2.Operand Output(Q) BitQ 0.0 - ByteQB 0 - WordQW 0 - Double WordQD 0 - 3.Operand Flag(M) BitM 0.0 - ByteMB 0 - WordMW 0 - Double WordMD 0 - 4.Operand Timer(T) T 0 5.Operand Counter(C) C 0 Digital Operation 6. Operand Peripheral(PI) Input BytePIB 0 - Input WordPIW 0 - Output BytePQB 0 - Output WordPQW 0 - 7.Operand Data(D) BitDBX 0.0 - ByteDBB 0 - WordDBW 0 - Double WordDBD 0 -
  • Slide 32
  • PULSE TIMER Digital Operation
  • Slide 33
  • EXTENDED PULSE TIMER Digital Operation
  • Slide 34
  • ON DELAY TIMER Digital Operation
  • Slide 35
  • OFF-DELAY TIMER Digital Operation
  • Slide 36
  • COUNTER OPERATIONS Digital Operation
  • Slide 37
  • COMPARISON FUNCTIONS Digital Operation ==IN1 is equal to IN2 IN1 is not equal to IN2 > IN1 is greater than IN2 =IN1 is greater than or equal to IN2