Table of Contents

Introduction...............................................................................2 PLCs..........................................................................................4 Number.Systems.......................................................................8 Terminology............................................................................. 2 . Basic.Requirements. ............................................................... 8 S7-200.Micro.PLCs..................................................................20 . Programming.a.PLC. ...............................................................33 Discrete.Inputs/Outputs..........................................................4 Analog.Inputs.and.Outputs......................................................48 Timers. ....................................................................................5 . Counters..................................................................................58 High-Speed.Instructions..........................................................6 Specialized.Expansion.Modules..............................................65 Review.Answers......................................................................72 Final.Exam............................................................................... 74 

Introduction

Welcome.to.another.course.in.the.STEP.series,.Siemens. Technical.Education.Program,.designed.to.prepare.our. distributors.to.sell.Siemens.Industry,.Inc..products.more. effectively..This.course.covers.Basics of PLCs.and.related. products.. Upon.completion.of.Basics of PLCs.you.should.be.able.to:

•. •. •. •. •. •. •. •.

Identify.the.major.components.of.a.PLC.and.describe. their.functions Convert.numbers.from.decimal.to.binary,.BCD,.and. hexadecimal Identify.typical.discrete.and.analog.inputs.and.outputs Identify.key.differences.of.the.various.S7-200.models Identify.the.types.of.expansion.modules.available.for. S7-200.PLCs Describe.the.types.or.programming.available.for.S7-200. PLCs Describe.the.operation.of.commonly.used.program. functions.such.as.timers.and.counters Identify.the.proper.manual.to.refer.to.for.programming.or. installation.of.an.S7-200.PLC

This.knowledge.will.help.you.better.understand.customer. applications..In.addition,.you.will.be.better.able.to.describe. products.to.customers.and.determine.important.differences. between.products..You.should.complete.Basics of Electricity before.attempting.Basics of PLCs..An.understanding.of.many. of.the.concepts.covered.in.Basics of Electricity.is.required.for. this.course.. After.you.have.completed.this.course,.if.you.wish.to.determine. how.well.you.have.retained.the.information.covered,.you.can. complete.a.final.exam.online.as.described.later.in.this.course..If. you.pass.the.exam,.you.will.be.given.the.opportunity.to.print.a. certificate.of.completion.

2

Siemens.is.a.trademark.of.Siemens.AG..Product.names. mentioned.may.be.trademarks.or.registered.trademarks.of.their. respective.companies..Specifications.subject.to.change.without. notice.

3

the.given.inputs.to. CPU.and..modules.perform.called.various. Motor Indicator Light SF/DIAG Pump Sensor Pushbutton Basic PLC Operation.provided.input.of.PLCs.signals.is. modules.and. also.. family.and.PLC.these. outputs.to.of.values.which.to.as. meant.Some.or..input.conditions.PLC’s.in.machine..the.stored.by.on.that.to.points.the.programmable logic controller (PLC).include. The.analog. circuitry.on.to.and.types. used.control.or.perform.These.convert.a.represent.automate.discrete..that.central processing unit (CPU)..The.current.to.or.or. applications.sensors.the.depends..based.they.a. make.PLC.supply.emphasis.the.are.or.differ..points.applications.input modules.inputs.on. signals.all.tasks.either.functions.inputs.or.of.range.values.course.control.with.is..widely.these.on.basic.can.of.machine.PLCs.and.elements.into..a.a.information.type.input..used.or.signals.the.of.off.respond.respond.as.commercial.a.of. a.used.PLCs A.hardware. voltage.referred.This.program.and. a.by. and..by.. switches.to. points.While.process.specific. require.. computer.you..signals.basic. and.other.office.they.devices.upon.input.variable.to.from.with.modules.configurations.monitor. tasks.a.type.types.of. vary.process.output modules..or points.programmable controller..in.PLC.a.of.PLCs.name.function..software.logic.analog.the. 4 .computers.S7-200.The.be.decisions.or.the.also.used.Other.is.digital..primary.inputs.the.industrial.programming device.a..commonly.

output.the.a.various.that. variables.be.values.and.to.The. connected.example.motor.signals.control.below.can.evaluates.operator.are.used.basic.used.the.. incorporate.and.convert.entered.executes.inputs.PLC. connected.(sensors).to.output.CPU.PLC’s.Once.The.to. of.process.addition.this.of.these.device.shown.status.analog. simple.starter.values.to.enter.stored.shown..associated.in.to.through.to.(actuator).are. the..a.in.used.motor.programming.outputs.it.the.or.CPU.then.to.CPU.interface.a.modules.simplify..pushbuttons.device.a. Output.are.simple.. In..of.operator.elements..as.the.system.an.sends. The.interface.start.to. signals.is. digital.or.also. Motor Starter Motor Output SF/DIAG PLC Inputs Start Stop Pushbutton Pushbutton 5 .PLC.or..status.change.or.and.example.monitor.inputs.change.programming.the. Input Module Central Processing Unit (CPU) Output Module Programming Device Operator Interface In.devices.outputs. program.stop.may.machine.variables. No.PLC.control..into.to.a.device.CPU.or.other.stored.or.stored.monitoring.the.program.the.program.from.update.

wire.and.of.application.is..also...PLCs.have.designed. PLCs. •. Applications.expansion. required.centrally..capable.many.tasks.and.SIMATIC PLCs.of.size. diagrams.function.be.wires.PLCs.had.and.upon.program.physical. Siemens Modular PLCs.specified.interconnecting.less.required.are. an.make.be. •.are.faster.the.If.in.other.referred.duplicated.and.performed.control.embedded.rewiring.also.then.and.PLCs.changes.PC-based.solutions.. communication.electronic.needs. still.the.machine.the.hard-wiring..expensively.functions. PLCs.extensive.changes..and.users.though..foundation. •..not.products. hard-wired.of.only.to..as.components..to...or.much.the.of. •..are.easier.necessary.our.SIMATIC.which.hard-wire.more.lines.as. Totally Integrated Automation (TIA).are.capable.hard-wired control.installed.faster.to.wiring.complex.reconnected.concept.. controllers..are.end..created. This.correctly...the.but.This.are.override.immediately. A.modifying.conventional.Hard-Wired Control.by.is.of..PLC.devices.and.error.advantages.available.electromechanical.be.were. 6 .components.to. •.to.the. Applications.field. M L1 M 460 VAC L2 M L3 OL OL OL T1 T2 T3 Motor OL 1 CR M 24 VAC Stop 2 Start CR CR Advantages of PLCs.In.modular.as..many.devices.would.errors.tasks.Therefore.change. Some. Smaller. contactors.is.integrated.than.system.wires.additional.Electricians.or.based.replace. applications.to.hard-wired. widely.follows: •.relays.control.as.. makes.task. Easier.of.can.required.had.correcting.the.as.can.be.specific.same.made. controllers.control. Diagnostics.connect.Circuit.by. and.control.performing.vary..builders.and.a.often.documented.intensive.addition.automation.electrical.perform. component..the. Siemens. Because.diagnostics.less.to..the.lists. Prior.available.and.was.

plug-in.category.control....are.controllers.. Microbox.of. SIMATIC.(Instruction.of.Examples.and.category.on. WinAC.products.PLCs.languages.system.includes..Examples.combination.WinAC.for.Chart).an.and.in.deployment.include:...optimized.system.420-T.hardware.control.human.is.Function.reliability.Continuous.with. platform.products.modules..200.(slot..or.S7-Graph.panel.Diagram.engineering.This.system.automation.List.PC. (S7. plug-in.. communications..S7-200.I/O.this.software.tasks.and.with.or..rugged.configuration.in.this. SIMATIC Software.application.product..Sequential.WinAC.Control. programming.programming.available.system. local.Function. 7 . and.adapted.includes.engineering.category.Block.of.installed...multi-functional.operating.. S7-300. SIMATIC PC-based controllers.increased.all. hardware.options.basic.S7-400.the.run.with.Panel.interface.and. machine.Diagram). All.are.as. LOGO!.environment.ET.panel.PLC.standard..for.and.Chart).languages.distributed.STEP 7. a.S7HiGraph.A. Modular SIMATIC controllers.in.477-HMI/RTX.systems.are.input/output..to.each.420-RTX.universal.numerous.include:.systems.Microbox... and.Function.MP .systems.and. tools.of.are.PC-based.Language..intelligence.from..parameterization.requirements..modular.available.system.in.C7..S7-200.(Structured. controller.variety..for.(I/O).software.that.available.a.and.be.optimized.supports.micro.utilize.of.and. for..Ladder.S7-PLCSIM. platforms.modules.card.microbox.and.This.functions.products.PLC). of.and.using.special.SIMATIC.diskless.and..the..meet.and.high-level.for.configuring.and.process.phases.products..Structured.fan-free.. SIMATIC S7-1200 SF/DIAG SIMATIC S7-200 SIMATIC S7-1200 LOGO! SIMATIC S7-400 SIMATIC S7-300 Other SIMATIC Controllers SIMATIC embedded automation products.PC. can.slot. Text.software.tools..can. SIMATIC software.to. and. of...the system.PC.. programming.service.

.2.. characters.base.have..to.following.in.digits.column. based.the.of.2.Understanding.can.how..00.6.is.useful.as.system.in.of.its.the.power..following.weight.. Weights.6..7 .stores.right-hand.digits:. 0.2.are.requires...on. .of.A.binary.base..understand.same. position.the.in.power.are.bit. Base.decimal number system.MSB.most significant bit.the.base.of.a.it.Number Systems Because.on.a.used.binary system.position.numerical.of.individually.4.digits.decimal.system. Binary System.in.they.or.or.computer.placed..8...or.conditions.the.to.All.values.the.recall. column.. of.number.represent.4..in.numerical.has. 2 Powers.used.has.the.to.further..if.position..is.of..0...is.3.the.a.the.left-hand.values.as.0.For.is.associated.a.uses.is.(.to..the....or.is.the.Otherwise.placed.9 0 Powers. 0.to.(..... the.the.and. .PLC.in..to....some..Sometimes.) The.0.binary.(.) The.and.binary number system. first. least significant bit.and..LSB..far. bits..characteristics: Two.. power.with.and.to.off.2. characteristics:.2..5.a.sometimes.higher.a.left. In.number.is.the..Each.information.that.of. Base. system. Decimal System.number.far..0.number.characteristics: Ten.used..the.number.8.of.0).number.2. understanding..these.systems.it. bits.only.represent..The.as.. Weights.base.the.used.referred.order.of.2.The.bits. Most Significant Bit (MSB) Least Significant Bit (LSB) 27 128 0 26 64 0 25 32 0 24 16 1 23 8 1 22 4 0 21 2 0 20 1 0 00011000 in binary = 24 in Decimal 8 .has.example.000.three.be. the..basics. to.referred.referred.is.the...form.in.an.two.the.a.

simple.binary.. values..off..grouped. Bytes.with.each.position.not. for.numbers.. eight.off.equivalent.or.an.to.decimal.bits.switch.switch.up.used.used.make. Positions.are.6.to. Logic 1.and..is.analog.bits.can.to.indicate.as.0.binary.Two. and Words.in.of..is..the.is.to.bytes.is.also.a.called. However.shown.on.The.device..programmable.and.as.or..0.in.data..a.a bit.do.are. While.For.one. of.number.binary.off.value.These.the.varies.a.the.byte.that.the.number.binary.add.signals.0. 27 128 0 26 64 0 25 32 1 24 16 0 23 8 1 22 4 0 21 2 0 20 1 1 Decimal Value = 32 + 8 + 1 = 41 Bits.equal.that.and.decimal.in.capable.generating.a.binary.up.conditions.indicate..(logic. be.number.of..and.process.The.and. values.0..used.where.represent.one..internally.converting.use.adding.value.the..make.PLCs.be.usually. Bit Byte Word Logic 0.are.bytes. Input 1 Off Logic 0 PLC 24 VDC Input 1 On Logic 1 PLC 24 VDC 9 .a.binary.number.that.to.is. word. Each..position.number.on.logic.example. on.with.).correspond.controllers. value.called.to.a.instructions...and.a.sensing.bits. can.a.

through.display. of.used.type.binary.first.type.system. 4096.output.binary.a.represented.bits.binary.a.characters..number.provide.of.decimal.humans.is.need.example.The.display.of.from.hexadecimal. devices.used.common.the.represented. 16.inputs.screen. F Base 16 Weights Powers of base 16 (1.are.character. 256.bits.a.. 4.used. thumbwheel.ten.decimal..Each. some.this.a.used.of.digits.letters.are.. 6.another. inputs.system.six.The.represent.such..controls.is.by.a.to.six.see.for..in.thumbwheel.the. While.to.computer. Hexadecimal Number System 16 digits 0.to. PLC.switch.corresponds. E.result. the.of.binary-coded decimal (BCD).) Hexadecimal Hexadecimal Example Binary Equivalent 3 A 2 F 0 0 1 1 1 0 1 0 0 0 1 0 1 1 1 1 0 1 2 3 4 5 6 7 8 9 A B C D E F Binary 0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 0 .four.digit.as.large..values.in.of.of.or. Decimal 0 1 2 3 4 5 6 7 8 9 0 0 0 0 0 0 0 0 1 1 BCD 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1 0 0 0 0 0 1 0 2 0 5 0000 Hexadecimal.alphabet. 9.Because.decimal..required.The.required.input. device.four-digit. small.input.decimal.exact.binary.hexadecimal.PLCs..0.for. 8.as. outputs.it.and.decimal.digit.four.programming.to.thumbwheel. A.Each.for. 2.to. status.the.As.first.a.allows.four.are.9.device.BCD.hexadecimal. used. 7.necessary.inputs.the. ..referred.space.This. status.BCD..or. 3.means.to.for.remaining.use.values.ten.of. each.it.PLCs. C. 0010 0000 0101 Hexadecimal.characters.each.system. often.in.only.. D. One. 1..that.6. needs.PLCs.be.on. corresponding.devices.a..the.for.system.is.is.values.system.digit.of..digit.binary..values.most.are.because.the.thumbwheel.a.represents.and.PLC. The. 5.in.ten.where. B.output.each.is.only.four-digit.

______ a.is.. ______________ c.types: . The.to.  .in. 4.each.decimal.the.of. number.of. The. .0.Review 1.following.. Binary.___. Identify.PLC.system.number. Convert.the. ______ d. .number..each. 3.. . BCD. . system: b.is.hexadecimal. ____________ ____________ ____________ Hexadecimal.the. _______ 2.following.of.number.a.blocks.the. _______ e. .base.system..basic.binary.the.of.___.base.

..devices.of. some.a.Depending.starter.use.a. are.connected.controller.by.proximity.logic.such.are. pushbutton.output.condition...discrete. 2 ..as.PLC.to.also.sensor..the.sensor.such. electrical.of.discrete.from.power.a.Terminology Developing.that.is.signal. Discrete Input Sensor Input Point Actuators.of.logic.from.examples.often.actuator.one.An..a.to.A.or.output..motor.contacts.connected.terms.and.for.signal.are.are.the.motor.requires.switches.motor. controller.of. an..status.a.relay. and..devices.is.a.condition. input.examples.a.section.is.the.convert.PLC.or.the.devices.a.as.basic.Actuators. switches.is.beginning..provides.physical. electrical.the.signal.input.or.as.. Sensors Sensors.a.output.an.the.a.of.PLC.lamps. inputs.terminology.off.is.are.often.of.pushbutton.0.often..starter.(open.into.outputs.referred..PLC.connected.PLC.input.to...on.the.devices.as.PLC. In.condition.a.limit..one.PLC.is.output.PLC.the.an.an.example.condition. are.output.to. Actuators. commonly.overview.connected.PLCs. internal.relay.the.off. example.sent..and.to.or.contactor.of.toggle.coils. connected. are.terms.of.understanding..connected....Pushbuttons.digital inputs.to..the.that.flowing.physical.Solenoids.PLC.the.motor.an.the.of.or.and.used.power.represented.to..switches.that. the.a.with.to.This.to.a.from.closed)..discrete.PLC.that..the.often.on.convert.input.Sensors.In.either.to. Discrete Output PLC Central Processing Unit (CPU) Output Point Actuator Pushbutton Motor Starter Motor Discrete Inputs and Outputs.actuator.to.the.either. Discrete inputs and outputs.pushbutton.electrical.learning.PLC.prevents.contacts.is.indicator.condition. on. outputs.and.a.represented.into.PLC.as..discrete.A.indicating. provides.

memory.8 1.signals.4 0.CPU.flowcontrol.an.4 SF/DIAG Q0.other.automatically.the.output.control.0.vary.decisions.a.control.based.in..of.are.other..system.and. Level Transmitter PLC Analog Input Central Processing Unit (CPU) Analog Output 0 Panel Meter 0.on.memory.the. Typical.to..analog. a.2 0.into.. current-to-pneumatic.sends.is.and.shown.air-operated.sends.level.6 0.not..a.in.liquid..PLC.held.or.outputs.the.and.4.to. that. flow. The.is.to.Analog Inputs and Outputs.decisionmaking.tank.analog. 20.transmitter.milliamps.here.This.level.1 Q0.monitors. of.the.5 3 . I0..from.central processor unit (CPU). program.of..the..allows.analog.makes.PLC.microprocessor..PLC’s.0..a.the.storage.of.its.liquid.valves.to.liquid.milliamps.outputs. In.tank. input.unit.are.20.to.variable. variables.in..contains.signal.analog.the.the.volts.storage.monitors. Two.following.signals.out.example.the.0.PLC.0 I0.to.to.meter.an.An.calibrated..and.analog..to.0 CPU.instructions.the.inputs.show.The.signal.continuous.panel.and.1 I0.level.transducers.connected.0 Storage Tank I0.from. Analog inputs and outputs.system.a.tank.that.

block. While.left.neutral..hard-wired.degree.instructions.types.displayed.on. upon.functions.application.Rungs.The.sometimes.and.operand. input.return.represents.omitted.energized.represents.complexity..depends.diagrams.operation.have.rectangular.coil.to.the.that.the.to..item.output..side..and.examples.performed. referred.outputs.network..and.the.shown.output.shown.incorporates. elements. Function block diagrams (FBD).devices.are. control.resemble.on.to.include.still.specific.only.diagram..many.of.inputs.The. shown.symbols.logic.control...an.path.ways.is.logic.A.right.in. 4 .the.the.networks.is. PLCs.a.the.instructions.program.0 I0.on.0 Output Coil Instruction Network 2 I0. with.include.several. operand.rectangle.type.logic.program.be.Ladder. statement.The.on.right.operated.and.of. Ladder logic (LAD). other.line.be..as.line.programming.0 I0.output.one. The.the. vertical..and.is.coil.of.are.list.return.diagrams.4 Q0.side.Ladder..a.of.the.used.functions.top-to-bottom.5 Statement List and Function Block Diagrams.diagrams.but.the.of.The.number. The.circuit..common.which.the.program. power.function.with..consists.. control.ladder.or.diagram.other.are. graphically.PLC.instruction.there.are.is.the. Power Conductor Network 1 I0.on.to.Two.an.the..may.one.vertical.left.conductor.right.that.the.shown.of.the.PLCs..read.programs.a.to.ladder.of.programming.hard-wired.on.operation.accomplish.or.common.line.and.1 Normally Open Contact Instructions Q0.of.left.and..language..instructions.of.are. from. tasks.used. represents.path.Ladder Logic Programming A.logic.are.used.complexity. Statement list (STL).left-to-right.

CPU.0 I0.inputs. referred.FBD.scan.of.of.process.complete.as.the.Next..the.performs.languages.multiple. programming.has.1 Q0.on..diagnostics...which.a.and..and.to.for.preferences.program.the..This.disadvantages.model.5 OR Q0.5 Q0.addition.of.internal.application.are.LAD.I/Os.tasks.is.5 In.the..and.of.. size.advantages. for..for.number.PLCs.its.a.0 LD O = I0.updates. outputs. such..following.run.starts.of.Each.PLC.program.to..is.application. Statement List (STL) Network 1 Function Block Diagram (FBD) Network 1 Ladder Logic (LAD) Network 1 I0...the.the.1 I0.PLC.as.status. programming.PLC.function.CPU.the.depends.type.repeats.0 A I0.the. same.long..with.status.the.part.used.. mode.a.of.of.complexity.4 Q0.0 Network 2 LD I0.required. The.1 I0..Factors.executed.of.as.scan.the.CPU.of.1 Network 2 AND Q0.1 = Q0.CPU.segments.user.used.other.programming.0 I0.type..example..a.0 Network 2 I0.the.the.available.and.the.0 I0.to.and.specific.programming. R e uts np dI a Ex ec u te am og r Pr PLC Scan ate Upd ut pu ts sti no nic Diag mu Com 5 c a ti s & on O .the. PLC Scan.standards.of.required. application.time.in..scan.program.an.STL.program.the.as...repetitive.Then.and.4 I0.as.4 I0. communication.The.is.types. In. reading.Finally.A.perform.types. communication.amount. executed.process. determine.

special.is.A.Changing...PLC.address.be.or.unauthorized.. Erasable Programmable Read Only Memory (EPROM).hardware.security.however. 6 .This.of..are.erased.device. loss.them.cable.data.and.the.if.be.name.designed..binary.or.read.given.unwanted.programs.be.k. changes.is.to.gives.the.hardware.of.normally.UVEPROMs.necessary.When.read. Kilo.only.the..lost.or.erased.but..ROM.level.program.is.RAM.data.written. the.The..event.that.storage.refers...to.not.is.be.is.of.of.from.system.of.light.data..can.memory.all. the.to.the.PLC.result.the.the.of.software. Read Only Memory (ROM).talking.user.Essentially.a..the.the.memory).words.or.number. of.temporary.used.only.a.nonvolatile..or.read.will..memory.computer.the. Hardware.ultraviolet.RAM.functionality.delivered.PLC.depending...into.battery.power.meaning. not.protect.power.means.is.read.programs.(electronically.a.memory. and Firmware Software. Software.of. regardless. to.the.In.data.as.abbreviated.in. 0 is.be.programming.power. Firmware.lost..(location).examples.erasable.software.because.programs.context.and. means.requires.This.direct.. EPROM.required. EPROM.specific.normally.hardware.stored.name.The.information.instructions.only.burned.read.not.used.is.instructions.are.physical.accidental.lost.the.and.. stored.define.in. electronically.bytes. provides.altered.a.be.data.data..of.application. that.from...that. it.a.000.capabilities.to.loss.can..RAM..EEPROM.given.easily... electrical.is.in.is.but.the.024.the.. Random Access Memory (RAM).losing.that. connecting..components.ROM. programmable.ROM.store.Memory Types and Size.is.any.024.addition.can.memory.to.against.allows.or.area.to. as..of.bits. backup.is.its. erasure.refer.so.original..programming.the.in.type. to.as. Hardware.k.in.can.Firmware.the.programmable.basic..units.a.part.only.can.that.were.system.data.an.EPROMs.computer.(ultraviolet.is.language...used. with.a.will.k. erasable. about.PLC.changed.avoid.memory).volatile.(2 =024). includes..that.effort.a..to.of.stored.

S7-200. things..for.available.memory.program.PLC. user.for..model.storage. A..variable.programming.(PC).other.with.of.as.data.user..program.Among.timers.of.program.includes. I0.such.addressable.PLC.programming.instructions.following.outputs..a.The.the.locations.counters.software.the..of.in.data.of.user.space.a.memory.and.outputs.into. CPU.The.illustration. amount..space.etc. repetitively.data.such. of.personal.the.as.memory.the.a.program.executed.stores..then.this.memory.on.used.data..user.counters.program.inputs.program.is.of..scan.as.0 I0.as.that..user.the.that. computer.discrete. User.analog.part. well.shown.1 I0.PLC.and. The.addressable..space.available.as.memory.to.of.PLC.locations.the.1 Q0. inputs..is. the.depends.loaded.for.locations.device.storage.the.0 I0.includes.and.variety.4 Q0.. developed.5 7 .using.are.for.Putting it Together.are. high-speed.

using..personal..is.in.for. a.programming.interface.using. specific.are.Two.S7-200.because. application..shown.used.PLC.ease.version.PLC.this.needed..wide-spread. The.its.is..to..system). which.the.PLC.S7-200..software.of.higher.PLC’s.device.be.versions.Windows-based.of.(Win2000.illustration. RS-485.computer’s.computer.USB. One..this. create.RS-485.a...we.Basic Requirements Throughout.special.a USB/PPI MultiMaster Cable.connects.program.this.a.PLC’s.other.following.to.personal.PLC.connector.use.examples.personal.as.a.needed.personal.runs.The. A.are.the.change.on.purpose.RS-232.STEP 7-Micro/WIN.The.is.cable.interface.items.a.version.available.computer’s.is..an.course.of.cable.called. Programming Device Software STEP 7 .and.the.when.The.and.of. created.connector.S7-200.an.Micro/WIN Programming Device Cable SF/DIAG S7-200 PLC 8 . Windows. connects.used.concepts.XP ...or. for.will.program.called..the. to.computer.programming.RS-232/PPI Multi-Master Cable.operating.

a.a.to..ways.are. Pushbuttons. 8.. An...to.executed.are.hard-wired.program.diagrams.examples.that.called.cable.is.repetitive.connected.the.as.on..into.be.of.a.makes.connected..PLC.EPROM.memory.programming.resemble..referred. displayed.system. to.PLC.an.to.examples.devices.as.to. examples. decisions..________.functions.and.PLC.relay.in.devices.talking.or.computer..to.and.that.and.inputs.Review 2.to.also. common. 2._____.graphically.a.about. computer. 9 .of.words. 5. .used.outputs. The.may.contains.that..a.coils. ____________.that.burned.Multi-Master. Software. 7 . _________. 9..__________.refers.and.in.contacts. A.PLC..is.cable.stored.that. are._____. 3.be.or._____.connect.___________.____. .lamps.a. When.is..language.programming. incorporates. 6..may.indicator.connector.contactor.PLC’s.is. ______.bits.based.bytes.program.of.____.program.symbols.________.or.personal.may.memory.be.RS-232/PPI.k.part.used. 4. Solenoids.and.. ____________.switches.PLC.PLC.USB/PPI-MultiMaster.to.instructions.limit. memory.______.relay.are.. control. process.S7-200.

.programmable. CPU 224XP.and. Power Supply 20.points.in.(CPU).also.programming. 1 x A nalog 10 x R elay.4-28.as.display. 47-63 H z 20.central.control.provides.two.8 V D C 85-264 V A C .types.control. 47-63 H z Input Types 6 x 24 V D C 6 x 24 V D C 8 x 24 V D C 8 x 24 V D C 14 x 24 V D C 14 x 24 V D C 14 x 24 V D C .CPU 226).same.and.(CPU 221.unit.8 V D C 85-264 V A C .controllers. 1 x A nalog 16 x 24D C 16 x R elay Comm Ports 1 1 1 1 1 1 2 2 2 2 2 Model Description 221 D C /D C /D C 221 A C /D C /R elay 222 D C /D C /D C 222 A C /D C /R elay 224 D C /D C /D C 224 A C /D C /R elay 224XP D C /D C /D C 224XP A C /D C /R elay 224XP si D C /D C /D C 226 D C /D C /D C 226 A C /D C /R elay 20 .of.CPU.4-28. 47-63 H z 20.programming.smallest.8 V D C 85-264 V A C .and.other.CPU.(I/O). SF/DIAG S7-200 Models. 47-63 H z 20.8 V D C 20.includes. Each.S7-200.Micro.4-28..are. Outputs.the. 1 x A nalog 10 x 24 V D C (current sinking).a..CPU 224XPsi.switches.housing.sensors. There.S7-200..for.the.8 V D C 85-264 V A C .CPU 224.and.system.CPU 222.motors.outputs.as..4-28..port.S7-200 Micro PLCs The.the.of.the.connecting.Inputs.as. S7.PLC.as. 2 x A nalog 14 x 24 V D C .the. device.output.means. 2 x A nalog 24 x 24 V D C 24 x 24 V D C Output Types 4 x 24 V D C 4 x R elay 6 x 24 V D C 6 x R elay 10 x 24 V D C 10 x R elay 10 x 24 V D C .member.connection.such.to.the.SIMATIC.field.are.and.is. input.for. supply.processing. The. valves.panels.devices.each. 2 x A nalog 14 x 24 V D C . 47-63 H z 20.PLC. monitor.control. Inputs.family.and.devices.S7-200.model.and. other.the.configurations.8 V D C 85-264 V A C ....is..analog...4-28.devices.such.the.points..also.power.such.type.to.4-28.six.

type. Freeport PROFIBUS DP Slave. Freeport PROFIBUS DP Slave.of.CPU.the.of. battery) I/O Digital I/O without Exp. AS-Interface Master.indicates.. Internet.224XPsi.accompanying.covered.term.a..variety. MPI Slave. Modem 16384 Bytes 24576 Bytes 10240 Bytes 64k or 256k Bytes 100 Hours typical 200 Days typical 24 In/16 Out None 7 256 256 256 Yes 6 (30 KHz) 2 (20 KHz) 2 (1ms . source. Modem CPU 226 Feature 64k or 256k Bytes 64k or 256k Bytes Analog I/O without Exp.features. Ethernet.in.and.major. MPI Slave.type.S7-200.table.an.points..includes.a.of.other. The.description. Internet.sinking.the.255ms) 4 Optional Yes 1 (RS-485) PPI.255ms) 4 Optional Yes 1 (RS-485) PPI.family.supply.features.AC/DC/Relay.a.the.its. Modem 12288 Bytes 16384 Bytes 10240 Bytes 64k or 256k Bytes 100 Hours typical 200 Days typical 14 In/10 Out 2 In/1 Out 7 256 256 256 Yes 4 (30 KHz).the.range.contact..as.222. Internet.powered. summary..model.power.same. Freeport PROFIBUS DP Slave. Ethernet.but.has. indicates.first.second..features..third.the.0.are. For.indicates.of. Freeport PROFIBUS DP Slave. Modules None 32-Bit.for. 2 (200 KHz) 2 (20 KHz) 2 (1ms .input.in.outputs.input.provide. Modem 8192 Bytes 12288 Bytes 8192 Bytes 64k or 256k Bytes 100 Hours typical 200 Days typical 14 In/10 Out None 7 256 256 256 Yes 6 (30 KHz) 2 (20 KHz) 2 (1ms .cost-effective..Note.224XP .designing.the.the.DC. CPU 221 CPU 222 CPU 224 CPU 224XP CPU 224XPsi Memory Program (with run mode edit) Program (w/o run mode edit) User Data Optional Memory Cartridges Memory Backup (super cap) Memory Backup (opt.from. MPI Slave.that. Ethernet. CPU.AC.to.which.solution.the. this. Floating-Point Math (+-*/) Yes Enhanced Features High-Speed Counters 4 (30 KHz) Pulse Outputs (DC) Timed Interrupts Edge Interrupts Real-Time Clock Password Protection Communications Number of Ports Protocols Supported Port 0 Optional Communcations 2 (20 KHz) 2 (1ms . MPI Slave.In..the. the.example.many. a.CPU. AS-Interface Master.relay. Modules Max Expansion Modules Instructions Internal Relays Counters TImers 4096 Bytes 4096 Bytes 2048 Bytes 50 Hours typical 200 Days typical 6 In/4 Out None 256 256 256 4096 Bytes 4096 Bytes 2048 Bytes 50 Hours typical 200 Days typical 8 In/6 Out None 2 256 256 256 Yes 4 (30 KHz) 2 (20 KHz) 2 (1ms .type.term.has.points.a.aid.current.255ms) 4 Built-In Yes 1 (RS-485) PPI.model.255ms) 4 Built-In Yes 2 (RS-485) PPI.output.are. automation.output.type.CPUs. MPI Slave.255ms) 4 Built-In Yes 2 (RS-485) PPI.and. Internet. Freeport Not Expandable 2 ..following.. Ethernet. S7-200 Features.is.the.the.term. AS-Interface Master. digital.which.provides. AS-Interface Master.course..The.

the..supply.VDC.RUN.in.power.position.position.mode.user.powered.switch..VDC.Power Sources.is.programming.the. not.in.a.in.in.model.power.CPU.select.and.model.switch.mode.from. program... Adjustment.fault.executing.AC/DC/Relay.the. 22 .For. RUN..240.supply.the.CPU.on.power. operating.S7-200.mode.STOP. either.When.positions.the.or..unless.the.DC/DC/DC.or.the..from.three.with.example.switch. RUN.has.and.in. an.the.S7-200.the.powered.is.the.TERM.STOP.an.is.VAC.24.When...CPU. 20.executing.VAC.has.is.24..the.to.is.from.program. is.the.CPU.a.mode.mode switch.a.is.TERM.CPU.powered.20.a.STOP.is.model.and.occurred.and.position. Depending.CPU.240.device. Each.22.the..the.a.mode.mode.222. DC Voltage Source 24 VDC (Nominal Voltage) AC Voltage Source 120 to 240 VAC (Nominal Voltage) Mode Switch and Analog.the.a.When.a. supply..can.CPU.

the..on.the.adjustment.and..in.224.in. is.in.red.can.STOP.represent.available..is.224XP . user.the.mode.corresponding.increase.STOP indicator.lit.analog.CPU status indicators.yellow.models.and..CPU.lit..adjustment.CPU. senses.to. CPU.current.to.adjustments.RUN.mode.an.yellow.in..system.lit.changed.on.indicate.a.CPU.as.conditions.memory.This.The..green.CPU.input.SF/DIAG Mode Switch 212-1BB23-0XB0 Analog Adjustment An.226.RUN indicator.or.or.allow.CPU...one.mode.222.the.to.program.XPsi..the.analog adjustment.green.have.and.the.diagnostic. CPU Status Indicators.for.I/O status indicators. values.stored.change... The.special.For.inputs. corresponding.the.two.is.decrease.the. 23 .variable.22.is.when.CPU.is.fault.and.indicator. analog..is.the.a.the. CPU Status Indicators IAG SF/D The.is. CPU..System Fault/Diagnostic (SF/DIAG) indicator.is.When.the..CPU.outputs.off.224.the.status.example.display.CPU.of.turns. certain. When.have.analog.

cartridge.memory.is..an.optional..copy. available. clock.to.of.other.(CPU.memory cartridge.can.226..program.. to..portable.PLC.and. 224.built.EEPROM.256k..have.available.the.provides. SF/DIAG 24 .use.on.22.is..that.are.support.one.PLC.real-time..of.200.a.power.224XPsi.Another.and.loss.224XP .like.also.A.real-time clock with battery.back-up battery only.CPU.a.event.available.The.in.data.used.and.S7-200.the. 64k. Two. cartridge.Two.user. retention.are.battery.time..CPU.with.CPU.cartridges.days.to.CPU.up..for.sizes.S7-200.for.Optional Cartridges S7-200.in.the.bytes. provides.The.CPU.CPUs..be.available.a.a.).cartridge.222.from.a.program.storage.

When.the.the.VDC.terminal.When.available.the.input.switch. 25 .input.devices. wired. sensors.an.left.between.on. Output.devices.Inputs and Outputs Input.to..switch.applied.supply.0).a.is.is.the. strip.0.When.testing.and.connected.and. it.of.cover.is.status. Output Devices Local Output Points SF/DIAG SF/DIAG Local Input Points Input Simulator Input Devices A.Input simulators.the.the.connect..as.pushbuttons.to.is.are.the.of.the.method. applied.with..active.L+.such.for.VDC.other.input.the.to.S7-200.if.power.the.testing.inputs.such.terminal. to.program.the.the.not.switches.convenient.closed...to.program..24.with..connected..devices.top.LED.far. switches..24..output.the.is..toggle.under.Switches.relays.of.. cover.strip..switch.bottom.is.to.the.inputs.signal.are..as.use.wired.output.VDC.necessary.are. For.between.the..PLCs. first.The.are.under.is.example..PLC.(0.and.(L+). switches.pre-wired.the.open.wire.toggle.to.a..is.PLC. indicators.

strips.the.RAM.in.of. Field Wiring Optional Fan-out Connector for CPU 221 or CPU 222 Connector Posts CPU 224.to.CPU.when.or.00.224.The.224XP .RAM.stored.terminal.appropriate.for.on..connector.hours.slides.CPU. removable..22.wiring.hours.allows..fan-out.its.maintain a.data. Super Capacitor.do..CPU.or.or...backed..protects.ability. CPU..either.named.on.module.remain. 224.so.CPU. Timers. RAM (Volatile) Executed Program Super Capacitor Current Data Memory Bits.An.CPU. in.224.removing.the.expansion.50.for.their.is.a.of.for. The. CPU 224XP.and.charge..because.optional.a.CPU.connector. A.not.fan-out connector.the.of. .terminals.time.fixed.power.replacing.22.Instead..222.a.222.CPU. and CPU 226 Removeable Terminal Strip CPU.input.and.the.226. output.CPU.226.period.into..field. an..typically..up.long.optional..super capacitor. to.and.are.and.memory.CPU.loss..XPsi.224.224XPsi.XP .event.have..connections. Counters EEPROM (Non-volitle) Program Backup Parameters Optional EEPROM Memory Cartridge (Non-volatile) Program and Parameters 26 . CPU.

S7-200.ribbon.by.connector.ribbon.is..located.A.secure. S7-200.covers.The.DIN. open.be.snaps.closed.are..two.connector.can.be.Expansion Modules.access.clip. Din Rail 27 ..rail.installation.The.inputs.on.installation. ribbon.protects. SF/DIAG Mounting.mounting.in.to.the.and.standard. Side-by-side.connector.and/or. SF/DIAG The.are.ways.the.and.expansion.the.cover.using.completely.PLCs.the. installation.base. Expansion modules.S7-200..using.allow. allows.also.expandable.outputs. to.encloses.with.holes.PLCs.one.mounted.on.can.clip.adding.by.a.base.of.to.a.on.protected.unit.modules.connected.a. unit.panel.the.snaps.behind.DIN.DIN rail...mounted.unit.the.

not.up.CPU.discrete.provide.are..expansion. 6 O utputs C P U 222 EM EM U p to 2 E xpansion M odules 14 Inputs.discrete.come.expansion.S7-200.discrete.and.222.6.4.. 1 A nalog O ut U p to 7 E xpansion M odules 24 Inputs.The.Available Expansion.to.inputs.with.comes.up.to.designed.inputs.CPU.outputs.discrete. 10 O utputs C P U 224 EM EM EM EM EM EM EM U p to 7 E xpansion M odules C P U 224XP C P U 224XP si 14 Inputs..226..However. 4 O utputs C P U 221 N o E xpansion M odules (E M ) 8 Inputs.7.expansion.several.with.available. 6 Inputs. additional. and.discrete.6.the.224XP .4.comes.8.expansion.7.accept.to.and. to. Most.224XPsi.up. current.modules.224.outputs. and.communication.does.comes.outputs.and. modules. 16 O utputs C P U 226 EM EM EM EM EM EM EM U p to 7 E xpansion M odules E xpansion M odules D iscrete Input D iscrete O utput D iscrete C om bination 8 x 24 V D C 4 x 24 V D C 8 x 120/230 V A C 8 x 24 V D C 16 x 24 V D C 8 x 120/230 V A C 4 x R elay 8 x R elay 8 x 24 V D C In/8 x 24 V D C O ut 32 x 24 V D C In/32 x 24 V D C O 8 x 24 V D C In/8 x R elay 32 x 24 V D C In/32 x R elay 2 x RTD 4 x RTD 4 x 24 V D C In/4 x 24 V D C out 16 x 24 V D C In/16 x 24 V D C O ut 4 x 24 V D C In/4 x R elay 16 x 24 V D C In/16 x R elay 4 x A nalog 8 x A nalog 2 x A nalog M odem G S M /G P R S M odem P osition 4 x T herm ocouple 8 x T herm ocouple 4 x A nalog A S -Interface S IW A R E X M S A nalog Input A nalog O utput A nalog C om bination C om m unication M odules O ther M odules 4 x A nalog In/1x A nalog O ut P R O F IB U S -D P E thernet E thernet IT 28 .modules.digital. CPU. outputs.are.with.with.0.sinking.22.options. CPU.expansion.Note:.accepts.24.6.are.and.MS).for. 10 O utputs EM EM EM EM EM EM EM 2 A nalog In.discrete.discrete.224XPsi. CPU.modules...modules.and.expansion.2..accepts. (SIWAREX.and.positioning.weighing. inputs.and.accept..I/O.CPU.support.modules.outputs.to.inputs.and.discrete. CPU.

W.subsequent.on.identified.at.by.3 Q 3.starting.inputs. assignment.labeled.or.and.the.for. points.7 A IW 0 A IW 2 Local I/O 1 A nalog O ut Q 0.1 Q 2.present.these.3 Q 0.3 Q 2..byte).with.off.each.not.example.and.input).address.the.a.and.be.addressing.Q.number. Each.the.CPU.(for.in.0 I1.points.0.(such. Analog.are.increments.device.3 I2.5 I2.1 Q 0. provide. in.bit.4 I3.is.I/O.0 I3. The.available.the.0 Q 1.3 I1.needs.byte..These.output. (for.7 A ddresses show n w ith a black background are not available and cannot be used in the program .This.5 Q 1.each.used.two.which.to.4 Q 0.6 I0.5 Q 3.7 E xpansion I/O 4 D iscrete O ut Q 2.a.the.I/O.not.7 A IW 4 A IW 6 A IW 8 A IW 10 AQW 4 AQW 6 Q 3.1 I3.always.a.1 Q 3. increments. S7-200.bit.3 I3.of.designates. output.5 I1. and.provide.or.5 Q 2.to.word.subsequent.unused.a. these.bits.assigned.6 Q 0.of.3 I0.number.6 Q 1.for.I/O.in.in.7 Q 1.indicators.always.bits.first.lost.0 I0.4 I0.output).(representing.analog.or.input.The.I/O Numbering S7-200.2 Q 0.points.physical.is.and.I/O.3 Q 1.7 AQW 0 AQW 2 Module 0 4 D iscrete In I2.in.start.5 I0.the.is..1 I2.I/O.point.does.6 Q 2.discrete.one..shows.PLC..a.designates.for.the.is..are. CPU 224XP 14 D iscrete In 10 D iscrete O ut 2 A nalog In I0.4).the.0 Q 0.outputs.by.AQ.4 Q 3.input.number.following.1 I0.0 Q 3.associated.reserved.are.I/O.wiring.4 I1.which.as..determine. 29 .discrete.2 I1.1 I1.identifies.of.AI.modules.of.be.7 Module 1 Module 2 Module 3 Module 4 4 A nalog In 1 A nalog O ut A IW 12 A IW 14 A IW 16 A IW 18 AQW 8 A Q W 10 8 D iscrete In 4 A nalog In 1 A nalog O ut 8 D iscrete O ut I3.is.a. and.(one. even-numbered.the.the.point.are.a. memory).for...bytes.1 Q 1. application.I/O.to. address.a.6 I3.physical.digital.points.register.to.If.6 I1.2 Q 1.on.and.eight.not.each.2 I3.alphanumeric.symbols.connected.allocated.turned.2.4 I2.the.to.word. I.cannot.2 I0.4 Q 1.0 Q 2.chain.I/O.by..6-bit.2 I2.is.2 Q 2.sample.byte.analog.5 Q 0.second.status. identifies. these.of.a.4 Q 2.6 I2.If.I/O.5 I3.module.0 I2.words. Image.followed.7 I1.2 Q 3.space.analog.6 Q 3.a.Analog.modules..terminations.for.chain.does.which.to.next.reserved. identify.byte.module.

touch..display.up.displays.variety.a.TD 100C.and.bitmaps.Panel.8.for..200C.TD 200.PLCs.be. variables.variables.The.or.80.2-line.provide.a.graphics.vertically.highcontrast.to.display.up.can.screen.a.of.offers.text..TD 200C.a. SIMATIC PANEL TD 100C TOUCH F1 F2 ESC ENTER TD 100C TD200 F5 F1 F6 F2 F7 F3 F8 F4 SHIFT ESC ENTER TD 200 and TD 200C TP 177micro TD400C DEL INS Simatic OP 73micro Value 49 Tank 3 TAB HELP ESC +/- 0 F1 F2 50 F3 100 F4 ACK SHIFT ENTER F9 F1 F13 F5 F10 F2 F14 F6 F11 F3 F15 F7 F12 F4 F16 F8 SHIFT ESC ENTER OP 73micro TD 400C Text.S7-200.keys.liquid.display.back-lit. vector.operator.variety. with.easy.with.for.with.high-contrast.OP 73micro.80. characters. Touch.a.in.user-defined.integrated.screen.up.for.graphics.graphics.TD.integrated.provides..set. user-configurable.display.the.arrangement.for.messages.the.messages.horizontally.full.in.with.to.TD.for.bars.provides.text. crystal.crystal.6-inch.Display.font.panel.designed.Micro.liquid.a.Panels.panel.to. viewing.up.and.display.provides..a.back-lit.per.needs.3inch.6.keys.with.of.sizes.These.with.on. 30 .4-line.for.4-line.20. Text.to.a...layout.provides. use.provides.line.provides.a. Graphics.SIMATIC Micro Panels Siemens.200.to..fixed.provide. solutions.TD 400C.text.user-configurable.different..mounted.up. function.display.panels.SIMATIC.for.implement. Text.TP 177micro.

Conventions and Features S7-200 Instruction Set Communicating over a Network Hardware Troubleshooting Guide and Software Debugging Tools Open Loop Motion Control with the S7-200 Creating a Program for the Modem Module Using the USS Protocol Library to Control a MicroMaster Drive Using the Modbus Protocol Library Using Recipes Using Data Logs PID Auto-Tune and the PID Tuning Control Panel Appendices Index 3 .SIMATIC S7-200 Programmable Controller System Manual.Technical Info.com/_en/s7-200/index.siemens.Reference Manual. The.the.Siemens.This.the. Contents Product Overview 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 SIMATIC S7-200 Programmable Controller System Manual Getting Started Installing the S7-200 PLC Concepts Programming Concepts.S7-200.can.provides.htm Preface.on.a.site:.PDF.and.from.automation..web.information.complete.http://www.on.be.link.installing. as. programming.the. S7-S00.file.manual.downloaded.PLCs.

installed..a.the.222. ..___..is. _____.has. outputs._____..___.Review 3 .be. b..models. Mode.can. 2.can..and.a.of.___.are.expansion.. The.would.______. 6.Port Status..for..expansion.CPU.fourth.224.modules.and. The... 7 .without.modules.without.DC/DC/DC..of___.___. ._____._____.have.Module Programming.224..a._____.22? ...an.S7-200.not._____.222. 5... modules.maximum.and. A.DC. 32 ..available.six.of. S7-200.___.DC.modules. d. a..labeled.inputs.of..of. 4.can..CPU.and.be.has.mounted..panel.maximum. outputs.inputs. c. Which.Switch Expansion.DC.or.on. expansion. .CPU.DC/DC/DC. A..following.output.CPU.S7-200.a.an.. A.Indicators 3.CPU.expansion.. rail. ______.have.DC.

input/output.not.be.PLC. Siemens.instructions.must.with.can..maintenance.edit.to.S7-200.work.PLCs.SIMATIC. order.the.developed. does.a..operation.instruction.. STEP.instruction. elements.connected.the..a.the.programming.The.be. to.to.allows. is.device.a.set.be.the.programming. S7-200....with.In...3-3.to.to.number.the.have..The.be.the.are.need.be.create.online.from.mode.standard. suppliers.a.user.mode.program.for.software. Electrotechnical.Off-line programming.a..The.instruction.the.to.Programming a PLC STEP 7-Micro/WIN32 .and.consist.stopped.The.instruction.software.by.PLCs.perform.SIMATIC.of.program.PLC.can.started.two.programming.desired.sets.of.adopted.users.STEP.7-Micro/WIN.status.by.connected.preferred.that. STEP 7-Micro/WIN.was. approach.reset.to.International.line. IEC 1131-3.can.7-MicroWIN.monitored.number.PLC.obtain. downloaded..the.set..common.and.off. IEC.3-3.in.of.PLC.Commission.arranged. program.provide.the.often. 33 .was..In..changes.tasks.logical.adoption. or. the.the.by.IEC.to.multiple. of.this.device.3-3.prior.IEC.CPU.the.PLC.the.PLC.programs..The.(IEC).addition.user. or.of.to.set.is. this.be.used.in.run.requires. Online programming.to.programming.who.

STEP.7-Micro/WIN.has.three.editors.for.program.development,. one.for.each.of.the.types.of.programming.available,.ladder.logic. (LAD),.statement.list.(STL),.and.function.block.diagram.(FBD).. The.STL.editor.is.often.preferred.by.experienced.programmers. because.of.the.similarity.of.STL.programs.to.assembly. language.computer.programs..However,.the.STL.editor.can.only. be.used.with.the.SIMATIC.instruction.set..Both.the.LAD.and. FBD.editors.can.be.used.with.either.instruction.set..Throughout. this.course,.although.other.instruction.types.will.occasionally.be. shown,.the.emphasis.will.be.on.SIMATIC.LAD.instructions. Basic Ladder Logic Symbols PLC.ladder.logic.consists.of.a.commonly.used.set.of.symbols. that.represent.instructions..Understanding.these.basic.symbols. is.essential.to.understanding.PLC.operation. One.of.the.most.confusing.aspects.of.PLC.programming.for. first-time.users.is.the.relationship.between.the.device.that. controls.a.status.bit.and.the.programming.function.that.uses. a.status.bit..Two.of.the.most.common.programming.functions. are.the.normally open (NO) contact.and.the.normally closed (NC) contact..Symbolically,.power.flows.through.these. contacts.when.they.are.closed..The.normally.open.contact.(NO). is.closed.when.the.input.or.output.status.bit.controlling.the. contact.is...The.normally.closed.contact.(NC).is.closed.when. the.input.or.output.status.bit.controlling.the.contact.is.0.

Contacts

Coils.

Coils.represent.relays.that.are.energized.when.power.flows. to.them..When.a.coil.is.energized,.it.causes.a.corresponding. output.to.turn.on.by.changing.the.state.of.the.status.bit. controlling.that.output.to...That.same.output.status.bit.may.be. used.to.control.normally.open.and.normally.closed.contacts. elsewhere.in.the.program.

34

Boxes.

Boxes.represent.various.instructions.or.functions.that.are. executed.when.power.flows.to.the.box..Typical.box.functions. include.timers,.counters,.and.math.operations.

Entering Elements.

Control elements.are.entered.in.the.ladder.diagram.by. positioning.the.cursor.and.selecting.the.element.from.a.list.. In.the.following.example.the.cursor.has.been.placed.in.the. position.to.the.right.of.I0.2..A.coil.was.selected.from.a.pulldown.list.and.inserted.in.this.position.
Network 1 I0.0 I0.1 Q0.0

Network 2 I0.2 Cursor

35

AND Operation.

Each.rung.or.network.on.a.ladder.represents.a.logic.operation.. The.following.programming.example.demonstrates.an.AND operation..Two.contact.closures.and.one.output.coil.are.placed. on.network...They.are.assigned.addresses.I0.0,.I0.,.and.Q0.0.. Note.that.in.the.statement.list.a.new.logic.operation.always. begins.with.a.load.instruction.(LD)..In.this.example.I0.0.(input.). and.(A.in.the.statement.list).I0..(input.2).must.be.true.in.order. for.output.Q0.0.(output.).to.be.true..This.same.logic.is.also. shown.in.a.function.block.diagram..

The.following.truth.table.represents.the.state.of.the.output.for. each.combination.of.input.states.
I0.0 0 0 1 1 I0.1 0 1 0 1 Q0.0 0 0 0 1

36

input.the.4).I0. The.are.for.if.the. statement. each..in.an. I0.true. following..table.used.2).the.3 0 1 0 1 Q0 .list).following..example.(input.3)...OR Operation.input.both.state.(O.or.then.output.1 0 1 1 1 37 .of.In.example.input.states. In.either.3.2..this.OR operation.(input. Q0.the.is.true.I0.represents.(output.of.combination.network..output.or.truth.2 0 0 1 1 I0.in..is.

.1 OFF Lamp 38 .open.off.such.done.open.the.output.lamps.As.The.selector.is.downloaded.this. S7-200.open.the.has.is.are..of.operated..be.to.STEP.it.One..output.a.normally.remains. debugged.status.function.and.. controls.is. is.status..has...illustration.I2.logic.and.the.is.in.following.switch. open.As..simulate..logic.a. the.1 OFF Input Status Bit I2.Q3. to.the.1 Logic 0 I2..is. actual.is..been.bit.normally.indication..bit.CPU.from..a.to.the.bit.0.I2.function.I2.loaded.toggle. CPU Program Toggle Switch Input Point I2.0.7.be.The..0.Because.indicator.is.1 Output Status Bit Q3.field.no.program.ladder.resulting.been.device. The.program.with.result.I2.PLC.1 Logic 0 Output Point Q3.and.can..the.monitored.the.for..be.simulator.for.the.written.controls.made.program...is.in.a.switch.1 Q3.the.a.needs.the.can..toggle.logic.switch.observed.simulator. status.the.point.passed.and.bit.long. The..is.elements.the.Q3.the. inputs.tested.and.contact.software.as.RUN.placed..the.as. For.the. SF/DIAG Input Simulator Contact and Coil Status After.status.one.PLC.using.input.is. a.way.running.the.I2.status.bit. Once.in.to.the. power.the.example. Micro/WIN.coil.on.contact.status.position.programming..the.switches..Testing a Program.first.status..Q3.an.

example.Note.1 Logic 0 I2.normally. 39 .the.the.the.causing.a.bit... to.PLC.1 ON Input Status Bit I2.bit.during.startup. program.logic.lamp.not..to.status.no..1 Logic 0 Output Point Q3.1 Q3.1 OFF Lamp CPU Program Toggle Switch Input Point I2..switch.turns.test.and.useful.be.This.logic.is..the.toggle. CPU Program Toggle Switch Input Point I2.I2.tool.and.point.. status.on.functioning.and.another.is.or.bits.program.on. status.toggle..wiring.1 Logic 1 I2.Forcing.a.overrides.open.to.forced.. status..systems.Similarly.troubleshoot..to.Q3.logic.on.one.could.point.bit..1 Q3.in.problems..1 ON Lamp Forcing.them.the.a.input..the. light.and.Q3.I2.Q3.However.to.Q3.1 Logic 1 I2.is. Forcing.on.the.0.close.1 OFF Input Status Bit I2. I2. the. have.input..to. logic.closed.logic.are.When.that.Under.is.turns.be.a.as.turn..are.coil.logic. open.and..a. or.correctly. For. contact.Q3..changes..and.status.illustration.to.either.but.a.1 Logic 1 Output Point Q3.highlighted. CPU Program Toggle Switch Input Point I2.status.turn.or.would.switch.lamp.1 OFF Input Status Bit I2. problems.on.on.system..in.as.. hardware.with.turns.and.1 Q3..I2.on.to.causes.is.to.the..following..output.lamp.closed.also..circumstances.if.a.stay.debug.the.will.When.1 Logic 1 Output Point Q3.long.This..the..a.in..1 Output Status Bit Q3.startup.useful.that.lamp..to.more.toggle.to.1 Output Status Bit Q3.to.hardware.shown.1 ON Lamp Forcing.normal.output.only.bit.causes. of.turn..1 Output Status Bit Q3.forced.switch.maintenance.there.is.goes.the..coil.programs.closes.in.and..turn.the. contact.coil.on.or.the...

conditions.forced.on.off.diagram.ladder. elements.forced. and.in.following.the.table.shows.The..associated.bits.on.with.the... 40 .of.appearance.status.off.

coil. more.button.(auxiliary. starter).this.completes.following.AC..(OL).diagram.closed.practical..be.PLC.pushbutton.line.PLC. The. explain.located.might.first.closes.only.the.start-stop. continues.(M).with.example.momentary.the..basic.energizes.to.complex.a.to.motor.In.Stop.slightly.open... While.in.motor.current.When.a.normally.in.the.hardwired.three-phase.Start..button.normally.overload.the. for.control. a.previously.Ma.Stop.coil.flow..control.remains.of..application.a.motor. Frame-EG Type/Tipo NEG 100 Amp O N l O F F O 100 Circuit Breaker Contactor M Overload Relay OL L1 M L2 M L3 OL OL T1 T2 T3 Motor Stop Pushbutton Start Pushbutton M Starter Coil Ma Auxiliary Contact (Holding Circuit) OL Momentarily.application.starter.contact.to.the.Start.M.the.connected.is..energized.flow.This.and.starter.pushbutton.normally.released.and.current.AC.approach.closed.and.relay..lamp.Ma.pushbutton.the.momentary.open..the. (M).motor.contact.how.pressing..Start.consider. a.through. the.a.Discrete Inputs/Outputs Motor Starter Example.and.more.and.wired.M.an.is.contacts. pushbutton.is.useful.is.a. and. Before.series..operation.the.a..closed.examining. 4 .normally.path. and.associated..motor.application.illustrates..normally.discussed.the..contacts.

closed.is.bit..0.this.because.PLC. are.input.overload.is.2 I0.logic.. This.PLC.the.Q0.I0.the.first.a.).motor.(OL). Stop.however.a.example.of.2..of.(NC).a.normally.are.is.wired. interrupted.a.the.connected.output.contacts.In.not.been.unless.control.logic.. Network.status..pushbutton.bit.motor.path.the.0).sealing.in.normally.turn.the...until.2).the.coil. used..closed.0.0.line.Stop.Start. normally.pressed.and.the.opening.has.is.(part.a.also.also.contacts.closed. starter).the.The.closed.overload. PLC Motor Control.is.as.pushbutton.1 I0..and.motor.button.1 OL I0.Stop.I0.contacts..network.0 I0.pressed.relay.0 Initially. because..the.input.programmed.bit.open.and.the. Normally.0 Q0.for. the.contact.open. programmed.output.pressed.on.0 Stop (NC) I0.normally..application.(I0.accomplished.normally.status.control.Stop.relay.normally.overload.status.a.Ma.associated.motor.button. (NC).(I0.closed...logic.is.stops.flow.normally.to. energizing.open.wired. When..closed.into. normally.is.simple.open.be..M..to.run.the. SF/DIAG Start (NO) Input Points CPU Program Network 1 Output Point Q0.is.will.(OL).inputs.Q0..a. pushbutton..can.following.to..I0.contacts. with.Start.second. is.the.the.open.a.to.because...0 I0.These. 42 .is.With.input.relay.to.2 Motor Starter Motor Q0.the.on.closed.current.contacts.contact..ladder.the.logic.is.third.(I0.0.motor.are.Pushbutton.required.

is.and.even. When. Start (NO) Input Points CPU Program Network 1 Output Point Q0.receives.contact.Start.now...The.Q0.opens.0 I0.are.0 Stop (NC) I0.released.0 I0..starter.The.turns.pushbutton.0 The..2 Motor Starter Motor is Running Motor Q0.output..causes.scan.solved.on.1 I0.0 43 .0.output.0.2 Motor Starts Motor Starter Motor Q0.0 I0.0 Q0.stay.0 Q0.the.Q0.I0.the.a.CPU. Start (NO) Input Points CPU Program Network 1 Output Point Q0.Start.the.2 I0.2 I0. .status.On.will.0.I0.. the.off.for.2 Motor Stops Motor Starter Motor Q0.from.pushbutton.and.coil.0 I0.0 Stop (NC) I0.2 I0.Q0.and.0 I0.will.logic..Stop.now.three.the.pushbutton.CPU. when.Program Operation.Q0.a.I0.the.output..All.0.close. motor.off.is.a.This.0 Q0.1 OL I0.the.I0.0 Stop (NC) I0. Start (NO) Input Points CPU Program Network 1 Output Point Q0.is.the.open.pressed.1 I0.1 I0.a. Q0..contact..to.0 I0.logic.0.1 OL I0.is.1 OL I0..input.if.sends.pressed. close..0 When.motor..contact.0.is.de-energizes.0.the.motor.logic...the.is.input.next.turns.bit.to.. inputs..output.energized.contact.starts.normally.

can.output.ladder.on.closed. Output.At.Normally.on.now.Network.is.2.When.is.contact. same.output.and.Adding Run and Stop.0.Network.Q0.for.the.and.and..is.indicator lights.closed..0 Q0.is.0. to.time..the.2 Q0. and.2 Motor Starter Motor is Stopped Motor Q0.on.starts.the.includes. STOP.is.now.1 RUN Indicator STOP Indicator Network 3 Q0.on.0.off.Q0.indicator.indicator. Start (NO) Input Points CPU Program Network 1 Output Points Q0.on.light.the.a.indicator.1 Q0.Q0.Q0.In. The.and.1 OL I0.0.is.contact.RUN.output.open.Q0.2.the.1 RUN Indicator STOP Indicator Network 3 Q0.Q0.0 Q0.coil.1 OL I0.and. contact.3.0.a.0 Network 2 Q0.is.2 I0..indicator.. open.. light.STOP.open. indicator.to.run.0 Q0.0 Q0.is.is.off.Q0.normally. Q0.0 Q0. Network.the.2 Motor Starter Motor is Running Motor Q0.the.the.2 Q0.Network.application.Q0.open.for.Start.conditions..PLC.2 I0.to.Q0.0 I0.include.2 When.0 Stop (NC) I0.is. off..is.0 I0.on.normally.connected..indicator.Network.normally.Q0.the.RUN.logic.2.the..connected.open.0.contact.time.motor.contact.At.normally.application. Start (NO) Input Points CPU Program Network 1 Output Points Q0.2.connected.coil.0 Q0.and.connected.1 Q0.closed..Q0.RUN.stop.2.0.0 I0. Indicator Lights.example.this.3.0 Network 2 Q0.connected.button.the.contact.this.the.be.on. The.0 Stop (NC) I0.expanded.to.closed..to.output.2.is.1 I0.pressed.light.on..easily.0. same.to.normally.closed.Q0.2 44 .1 I0.output.STOP.0 I0.

open.expanded.1 I0.0 LS1 Network 2 Q0.connected.I0. variety.For.by.the.LS. open.3 Contact Open.0 Q0..The.and.limit.motor.2 45 .could..2 RUN Indicator STOP Indicator Q0.3 Network 3 Q0.open.to.1 I0.from.0 Stop (NC) I0.its.or.0 Q0.also.application.. Start (NO) Input Points CPU Program Network 1 Output Points Q0.application.2 I0..motor. normally.I0.open. to. Start (NO) Input Points CPU Program Network 1 Output Points Q0..limit.limit.equipment.when.contact.is.0 LS1 Network 2 Q0.for.open.motor.the.access.with.closed.3 Motor Starter Motor is Stopped Motor With I0.1 Q0.0 I0.the.prevents. The.0 Q0.Start.. switch.contact.1 I0..0 Q0. to.is.I0.switch.stop.1 OL I0.and.a.program.switch.started.the.in.door.LS.0 Q0.prevent.this.1 OL I0.also.the.2 When.switch.is.is.If.the.limit.3.normally.0 I0. Motor will not Start Q0.is.a..could.The.and.pushbutton.used.3.normally.2 I0.to.is.associated.2 Access Door Closed I0. In.allows.of.be.2 Access Door Open I0.1 Q0.limit.an.is.This.access.adding. in.controls.can.0 I0. Motor can be Started Q0.limit.pressed.or..from.example.closed.3 Network 3 Q0.This.open.Adding a Limit Switch.functions.example.1 I0.start.door.0 Q0.switch.switch.switch.used.starting.0 I0.be.3 Contact Closed.2 RUN Indicator STOP Indicator Q0.a.associated.limit.motor..further.0 Stop (NC) I0..this.motor. door.3.the.contact. the.the..input.being.the.access.be.the.3 Motor Starter Motor is Stopped Motor With I0. is.is.closed.

added.of.of.can.modules. The. variety.Further Expansion.further.along.Motor.be.commercial.expand.switches.be.pushbuttons.be..selector.the.and...lights.limit. wide.of.for.expansion.control.available. for.proximity..columns. be.needed..memory. the. increase.can. As.to.motors.be.added..be. PLC. Start/Stop.object.can.to.of..variety.I/Os.starters.to.number.the.are.can.amount.accommodate.I/O.Over-travel.added.PLC.limited.switches.expanded.with.further. position.can.capability. Indicator Lights Signaling Column Relays Motor Starters Discrete Ouputs SF/DIAG Expansion Module Discrete Inputs Pushbuttons Selector Switch Limit Switches Proximity Switches 46 .sensing.a.program.types.the.added.controlled.of.being.applications.applications.switches.Various.can.The..only.additional.for.industrial.of.by.relays.indicator.and.devices.added.and. signaling.

symbols: a. ___ f.closed.Review 4 . . AND Function Input 2 Input 1 Output Input 1 OR Function Input 2 Output 0 0 1 1 0 1 0 1 a.both.contact.network. ____________ c. . contact. Identify.is. 47 . ___ 3. ___ 0 0 1 1 0 1 0 1 e. ____________ b.be.tables: .the. ____________ .Q0.0. 2.when.following.on.coil. In. ___ c. ___ g. Complete.following. . ___ h. contact.. ___ b.following...will.or.either.are.closed.and.or.the.the.____. ___ d.____..____. .

outputs. The.can.point.etc.analog..use.I/O.type.within.an.inputs.4. Digital.digital. Analog..to.designated.weight.only. modules.user.devices.other.S7-200.from..the.analog.into.has.value.thermocouples.model.program.analog.allows.4.continuously.outputs.for.order.values..for.in...available. program..can. expansion.analog.must.expansion.8..modules. locations.7.any.values. is.CPU.analog.modules.Similarly.values.are.by.are.remaining.the.memory.digital. 2...machine.In.modules.a.analog.or.CPU.rate.sensors.to.for.value.as.for.222.analog.224XP .in.stored.VDC.inputs.points.place..or.for.of. Expansion.for.are.values.to.and.than.PLCs.addressable..which.added.analog.inputs..digital.temperature.or. use.with.addressable.a.use.this..RTD.to.modules.in.2-bit.with.be.specified...also.signals.user.0.4.a.and.expansion.such.points.at.level..sense. However.to. memory.specific.CPUs..are.or.type..mA.variable.on.. signal.I/O.analog.addition.inputs.as.In.conversion..expansion..variable. with.the.flow.convert. output.represent. for.analog.2.I/O.2.PLCs.CPU.or. range.process.output.4.with.input.Analog.analog.work.board. SF/DIAG Analog Expansion Module 48 .a.or.and..analog.analog.value.using.the.current.0.which.that.used.Analog Inputs and Outputs Many.convert.CPU.PLC.. temperature.the.22.allow.CPU.each.devices.signals.to. speed.a.of.20.S7-200. voltage.a.are.such. process. analog..available.or.the.

in.proportional. Package Route Controled by PLC Scale Inspection Station Finished Goods Inventory 0 to 10 VDC Analog Signal to PLC Desired Weight = 25 LBS = 5 VDC The.weight. 49 .cell.this.various.package.be. following.varying.of.actual. to.be.instance.used.as.analog.that.0..an..cell.Then.is..0.can..load..PLC’s.For.an..A.converts.S7-200.PLC.0..a.50.the. cell. ways.is.to.connected.generates.compared.load. on.a..conveyor.example.load.. Analog.used.a.S7-200.a.be.device.a.the.weight.weight.applied.input.to.a.weight.VDC.analog.a.0.can.the.variety.force.purposes.pounds.package.gate.signal.0. desired.from.value.of.-.for.moved.analog. to..of.can.-.to.direct.is.for.load.into.the.electrical.Analog Input Example.value.control. packages.the.to.a.scale.can.In.VDC.a.a.applied. The.is. cell.to.the.PLC.value.The.output.in.inputs.connected.example.

other.analog.off.signals.or.flow.discrete.of.requirements.AC.This.than.to.could.the.AC.drives.outputs.directly.fluid.by.to.the.outputs.controlling.a.electronic. control.or.signals. through.the.Analog Output Example.in.of.or.to.the.of.on.accomplished.process..drives.can.dynamically.are. used.control.response.by.PLC.be.drives.example.turning. Rather.in.allow.drives.supplied.the.to.varied.AC.be.which. Analog. respond.analog.pumps.often. the.be.process..valves..in.would.PLC. For..transmitters.control.could..devices.control.. AC Drives PLC To Pump 1 Signal from Level Transmitter Analog Input Central Processing Unit (CPU) Analog Outputs To Pump 2 Process Level Transmitter Storage Tank Pump 1 Pump 2 50 . be.outputs.simply.from.or.to.output.to.speed.signal. changes.used..a.converters.from.which. instruments.the.analog..

.line.TR.turns..that.in. of.PLC. 5 .accompanying.are..normally.de-energizes.provide.programming.time.timer...In.when. “on-delay”.on.opens.this. Timers..as..time.normally.the.the.(TR).the.TR.turn.functions.program..is.that.In.to.programs.track.(NO).responses.open.the.When.contact..immediately.be.PL.of. timing.with.indicates.PL..a. Hard-wired Timing Circuit.S. associated.example.compared.allow.When.a. contact.off.timer.closes.that. (S)..to.turns.represented.PLC.can.in.this.elapses.term. S.timer.its.the.closes. control.begins.used.the.as.varied.closes.example.the.When.happens.begins...timer.preset.diagram. on.referred.. depending.opens.on.such.S.to.time.TR.PLC.to.TR.TR.light.open.and.timers.keep. circuits.and..one.an. receives.timing.Timers In.timer’s..on-delay.is.signal.type.when.and.switch.elapsed.hard-wired. TR1 S1 PL1 TR1 S1 PL1 TR1 TR1 Closes a preset time after S1 closes This.The.pilot.a.timing.

T-bit.resolution..zero.shown.is.(TON).timer.lower.7 seconds SIMATIC On-Delay Timer (TON) The. its.the.(TOF).intervals..SIMATIC.00.the.of.type.S7-200.before.in.a.at.0.-.of.of.on. 10 ms. passes.7 seconds 32. The. be.amount.the.and.resolution.an.milliseconds.corner.instruction.67 seconds 3276.logic.timer. The.of.Timer.timer.a.This. S7-PLC.time.and. T101 to T255 100 ms Maximum Value 32.program.on.LAD. SIMATIC Timers Timer Number (T0 to T255) Txxx IN TON IN Txxx TONR IN Txxx TOF PT xxx ms PT xxx ms PT xxx ms On-Delay Timer Retentive On-Delay Timer Timer Resolution 1 ms.a.the.the.corresponding.On-Delay.milliseconds.types.internal.can. enabling.input.(IN).PT).for.timer.adding.appears.time.on-delay...By.by. 0. following.used.Off-Delay.the.of..a..illustrated.number.shown.includes.Timers.how.boxes. SIMATIC.S7-200.when.Timer.be.).have.instruction.Timer.767 seconds 327.in.example. T69 to T95 100 ms T32.program.bit. T96 1 ms T33 to T36.elements.is.67 seconds 3276.accumulated.timer.to.is.On-Delay. of.predetermined. T97 to T100 10 ms T37 to T63.value.shown..timer.set.previous.. in. time.S7-200 SIMATIC Timers. greater.maximum.767 seconds 327.the.not.resolution. TOF (non-retentive) Timer Number Resolution T0.The.millisecond. T65 to T68 10 ms T5 to T31.turns.a.enable. 52 .and.logic.. S7-200. works.The. function.timers.or.timed.the.(T-bit). (TONR).the.is.set.The.the.timers:.the..symbol..right.function.represented..the.single.Timer. or 100 ms Off-Delay Timer Timer Type TONR (retentive) TON.(logic.hardware.to.box.that.(preset.can.time..a.in.On-Delay. T64 1 ms T1 to T4.ladder.the.receives.On-Delay Timer (TON).an.illustration.(TON). After.input.depends..three.As.time.goes..LAD.resets.timer..on.logic.Retentive..are.timer.to.software.

resets.00..a. coil.before.ms..and.becomes.the.of.is.(IN).on.timer..00.a. ms). If.when.the.point.5.timer.T37..when.logic..its.retain.to.contact.on.contact.example.its.seconds..0.In.The.of.the.is..input.to.opens.associated.to.this.5.it..to.has..logic.(PT)..timing. I0.seconds.I0.T37..value.preset..the.3 IN T37 TON +150 PT 100 ms Preset time = 150 x 100 ms = 15 seconds Network 2 T37 Q0.value.to.ms.contact.time.set.elapsed.timer.T37..Therefore.non-retentive.1 53 .be.time.output.(0.after.x.a.preset.is.the..(50.seconds.switch.Because.T37..5.and.set.following.and. been.50.timer.3.time. accumulate.to.accumulated.the.closes.3.input.timer..the.said.of.of.turn.seconds). Network 1 I0.turns. bit.type. 00.3.begins...resolution.equal.time.Because. not.has.50.closes.its.output.goes.has.the.does.Q0. 0. base.closes.I0.

The.time.closes.does..5..and.50.Timer.again.1 54 .When.SIMATIC Retentive On-Delay The.Timer.a.This.in.3.(TON).contact.not.Retentive.this.the.for.(R).must.turns.Reset.stops.times.is.(5.begins.output.on.seconds.resolution.the. when.Reset.is.the.turns.If.3.00..3.the.function..T5.with.I0.a..turns.input.Timer.On-Delay.in.OnDelay.to.input.the. T5.when.On-Delay.value.network.off.When.second.Just...I0. timer.(TONR).3.of.on.0.timer. I0.(R).On-delay.Timer.bit. and.open..the.input..timer.turns.timing.shown.Timer. (TONR).turns.closes.reset.I0.following.T5.ms.(IN).timer.contact..output. a.example.and.causes.closes.0.T5.accumulated.3 IN T5 TONR +150 PT 100 ms Network 3 T5 Q0.Retentive.on.OnDelay.off.. Instead. reset.after.input..on.begins.the..the.time.for..be.turns.In.Retentive..manner.on.turn.the.the. the. seconds)..similar. The.to.at.the.contact.to.of..of..Retentive. seconds.SIMATIC Retentive On-Delay Timer (TONR) functions.shows.3.necessary.a.timing.2.resets. (TONR)..Reset. Timer (TONR).example.turns..contact. Network 1 I0..function.(TONR).the.on....closes.Q0.off.the.T5.the.enabling.timer.(R).On-Delay.2 T5 R Network 2 I0.timer.and.(TON).zero.like.input.seconds.example.to.I0.when.input..I0.turns.timer..Q0.However.instruction.reset.and. bit..(IN).preset.timer.after.with.on.to.When.

bit.example. time.before.current.In.SIMATIC Off-Delay Timer (TOF) The.3.had.off.. closed.current.the.preset.following.and..contact..on.T33.bit.3 55 .timer.turns.remain.4. output. to.I.bit.off.would.Q2.turning.output.T33.. elapses.contact.200.in.off.on.ms.is.this.would.on.3.begins. Network 1 I1.. contact.turns..value.T33.contact.Then.again.be. turns. If..would.the.again.when.remain.the.4.I.SIMATIC Off-Delay Timer (TOF)..the.Q2.input (IN).of.example. When.and.3.set..timer’s..opens.set.0.turns.to.would.timer..when..ms.had.contact.closed.and.4 IN T33 TOF +20 PT 10 ms Preset time = 20 x 10 ms = 200 ms Network 2 T33 Q2.timer.output.remain.T33..immediately.the.timer.elapsed.4.closing..timing.times. closes.contact.T33.T33.I.the.the.value.opens..200.the.preset.0.time.T33.Q2..timer.until.on.

the.The..When.includes.is..IN.reset.timers.the. until.and. is.turns..is.resolutions.(TP).on.is.when.the.turns..timing.time.Q.pulses.. 56 .of.equals.the.sets.are.the.equals. When.IN.begins. ms).course.timers.its.to.(Q).on.off.Q.turns..between.0.Timer.on.turns.IEC.turns.SIMATIC.enable.turns.time.IN.immediately.by.the.3-3.and. time..00.the.turns.of.following.preset.ET.PT.on.ET. T96 1 ms 32. On-Delay Timer (TON).timer...and.an.the. The.on.intent.the.ET.generates.and.IN.previously..elapsed..(PT).timing.timer.Off-Delay.stops.timing.off.timer. PT.off.as. IEC 1131-3 Timers Timer Number (T0 to T255) %Txxx IN PT xxx ms TON Q ET Elapsed Time IN PT xxx ms %Txxx TOF Q ET IN PT xxx ms %Txxx TP Q ET On-Delay Timer Resolution (1 ms. but.opportunity.Off-Delay Timer (TOF).the..instructions.input.ms.turns.7 seconds The.The.ms.elapsed.turns.the.were.timers. The.IEC 1131-3 instruction set.output.cover..resolution.Pulse.The.the.shown. until. 10 ms. illustration.on.timer. instruction. When.equals.this.(.not.IN.S7-200.understand.and..as.a.on.three.Timer.and.differences.available. 100 ms) Off-Delay Timer Pulse Timer Timer Number Resolution Maximum Value T32.timing. T97 to T100 10 ms 327.timer.instructions.off.timer.same.(Q).on.in.turns.SIMATIC.On-Delay.remains.Q.the.IN.output.on..provide.for.to.also. The.begins.(TON).IEC 1131-3 Timers It..duration.is.maintained..turns.If..67 seconds T37 to T63.Q..of.time.begins.three.. (IN). When.PT..before...767 seconds T33 to T36.preset.discussed..the..(ET).timers.when.off..turns. when. The.all.elapsed. T101 to T255 100 ms 3276.maintained.equals.number.(TOF).Pulse Timer (TP).When.. The.IN.Timer.time.next. some.SIMATIC.turns.determined..

output.and.are..millisecond.instruction? 5.of.is...types.of. 57 .in.Review 5 . 4.are.set.set.timer.and.. instruction.the. _____________.timers.for.Timer.SIMATIC.time. Three. Three.3-3.requires. 3.has..a. base.Reset.IEC.S7-200.in.one.analog.________.a._____________.inputs..maximum.value. 2.on-board. Which.seconds.____________. _____________.. The.. instruction.S7-200.analog.SIMATIC.and.available. CPU.time.00._____________._____________.the..types._____________.available.two.timers.

.the..and..each.equals..to.the. operation.(32767).continues..value.time.like. time.mechanical.three.instruction.count.turns.the.counter.value.to.an.value.count.the.Counter.value.PLC.input.instruction..to.on.has.up.count. SIMATIC Counters Timer Number (C0 to C255) Cxxx CU CTU CD Cxxx CTD CU CD R LD R PV Count Up/Down Counter Cxxx CTUD PV Count Up Counter PV Count Down Counter The.on.accumulated.(CTUD)..from.Count.and. When.operation.desired.until. accumulated. the.When.input.(CD).determine.Counter.counters:.when.Count.can.one.is.occurring.bit.(CTU).on.the.accumulated. accumulated.counter.Reset. start.instruction.count.an.shown).The.maximum.to.Count.resets.the.turns. S7-200 SIMATIC Counters.reached.When.Count Up Counter (CTU). the.the.turns.down.counter.reached.count.(CU).on.instructions.it.count.S7-200.by.off.prevent.be.of.LAD.count.When.and.Down. track.Counters.counter.(R).a.count.reaches.count.input.one.to. of.the.up.used.when.counts.turns.is.each.the.a.count.reset.compares. the.the.an.counter.preset.SIMATIC.counter.turns.the.value.As.off.when.counts.off.the..been.Up.off. executed.a.counter.types.Counters Just.until. 58 .to.keep.the.reached. (CTD).preset.on...(LD).current..turns. The.(PV). equal..transitions..resets.by..from.set.events.zero.or.to.been.Count Down Counter (CTD).a.input.on.has.or.count.includes.to.transitions.a.bit.counters.counts.Counter.the.zero.(not.down. load.equals.. bit.from.preset.Up/Down.(PV). bit. The. the.value.counter.to.

if. could.a.switch.the.down. sets.contact.count.closes.next.operations. has.the.sensing.off.storage.count.up.location.counter.(CU)..counts.items. counts.the.when. Counters.next.in.to.maximum..When.or.the.proximity.value. could.be.accumulated.could.indicate.be.common.be.negative.manufactured. has.C48.that. the.turns.and..the.the...on.1 59 .wide variety.the.switch.counts.to..be.event.location.accumulated.the.positive.inventory.triggered.to.turns. reaches. Count Up/Down Counter..of.zero.an.input.from.or.resets.triggered.instructions.removed. could.767).an.Reset.item.been.sensing.a..equals.value.by.sets.the.following.by.the.placed.packed. When...up..maximum.Counter.storage.767). associated.in. is.turns.the.to.When.example.on.count.(CTUD).parts.positive.2 R C48 CTUD +150 C48 PV Q0.input.used.off.and.such.Up/down.executed.track.a.. might.counter.the.proximity. storage.down.0. time.I0..the.item.are.This.accumulated.closes..the. I0.to.by.example.contact.used. transitions.reset.by..location..For.1 CD I0..the.value.machine.down.each.reaches.each.up.the.a.value.counting.The.or.by.triggered.instruction.the. In.(R).0 CU I0.the.negative.to.one.be.manually.up.of.keep.count.been.when.the.counter.from.maximum.counts.to.area.contact.automatically.events.This. If.Count.bit.I0.etc. (CTUD) Example ..off.to.the.preset.count.the.by.(PV).that.empty.zero.count.2..transitions.counter.Similarly.time.This.value.on. maximum.from.one.an.(32.. processed.that. When.Count Up/Down Counter (CTUD).(CD).closes.as. the.counter.bit..storage.(-32.items..for.down..count.the.on.count.input.the. input.count.I0.is. accumulated.reset.a.is.count.

stops.location.time. the. trigger.to.three..counting.this.counters.example.a.the.QD.were.the..SIMATIC.and.Q.discussed.Q.when.until.on.previously.there.but.storage.version.Q.divert.The.the..instruction.SIMATIC. Count Up Counter (CTU).down.are.counting.bit.location.has.This.3-3.In.the.item.to.3-3.count.50.output.output. Count Up/Down Counter (CTUD).counters.like.and.CV.CV..value..an. equals.and.on.and.Count Down Counter (CTD). The. when.turns.functions. on.output.50. equals.other.box.the.When.3-3.it.output..counter. IEC.up.logic.CV.includes.IEC. IEC 1131-3 Counters.in.and.C48..and. counters.equals.closes.CTUD.on..CV.program.removed.on. few.Q0.. IEC 1131-3 Counters Timer Number (C0 to C255) Cxxx CU CTU CD LD Q CV Count Up Counter PV Q CV Count Down Counter Cxxx CTD CU CD R PV R LD PV QU QD CV Cxxx CTUD Count Up/Down Counter 60 .set.similar.the.output.CV.such.(Q).SIMATIC.has.value.. Each.is. another.When.differences.cumulative.(PV).values..equals.counter.IEC.from..new.the.counter.reaches.accumulated. Except. (CV).output..stops.turns.an.spaces.items.on..counters. location.the.stops.These.as.could. preset..counters.to.zero.this.turns.zero.contact..turns.counting.QU.turns.the.for.counting.in.turns.when.and.PV.also.stops.are.

four.the..than.time.HSC5).PLCs.scan. A. R e uts np dI a Ex ec u te am og r Pr PLC Scan ate Upd ut pu ts ti os c agn uni Di m Com High-Speed Counters.PLC.can.is..HSC5).and.HSC3.other.222.High-Speed Instructions As..counters.high-speed counter.One.counters.size.permit.HSC3.support.earlier.the..two..application.box.such. instruction.22.. (HSC0.High-Speed Counter (HSC)..I/Os.as.and..may.high-speed.the..number.would.ladder.of. sooner.high-speed.. depends. HDEF EN HSC MODE High-Speed Counter Definition ENO EN HSC ENO c a ti s & on O N High-Speed Counter 6 .a.counters.CPU. with. 224XPsi...For. occur. HSC.CPU.the.scan.is.by. the.is.The.events.High-Speed Counter Definition (HDEF).HSC2.high-speed.... logic.support.the.these.in.have.that.time.instructions...those.six.and.of.be.a...an.normally.high-speed.224XP .from.discussed.of.HSC4..HSC4.CPU.used.224.amount.represented. applications.required.the.(HSC0.in.226.the.instruction.CPU.CPU.scan.box.associated..require.program.the.and.However.response.on. CPU.communication...cycle.boxes.

parameter.Not.illustration.screw.this.(HSC).to.following.forward.high-speed. for.with.High-Speed.the.as.to.the.these.on.positioning.to.where. 0 1 2 3 4 5 6 7 8 9 10 Encoder Motor Reversing Motor Starter SF/DIAG 212-1B B23-0X B0 In.in. manufacturing.inputs. The.in.is.number.the.mode.bits.assigns the.Counter.control.for.as..two.platform. controls.These.one.of.operate.mounted.(HDEF).a.turn.High-Speed.counter.available.and.the..operating.Refer.the.a.high.the.to.reverse).modes.clocks.In. platform.all..turns. and.instruction.0. direction.in. return.part.Definition. counter.example..of.the.The.starter. High-Speed Counters.counter.counters.high-speed..the.counters.motor..state. 62 .operate.may.be.Definition Boxes and.each.the.. use.the..a.example.the.counter.is.forward.with.(HSCx).the.counter. PLC.a.and.specific.based.and.an.a.from.position.application.clock.connected.to.towards.System.to.connected.programmed..configures.has.position. reset.positions..however.platform.be.Pulses.position.for.functions.(one.counter.positioning.moves.instruction. the.the.counter.6..definitions.High-speed.modes.defined.functions.definition.high-speed..mode. associated.A.which.turns.a. The..start. The.one.the. Positioning.specifies.from.could.are.on.that.high-speed.shaft..Counter.all.upon.performed.is..of. 2.reversing.in. Positioning Example..position..for. screw.on.a..speed.PLC.dedicated.counter. available.N.direction. move.counter.discrete.the.in.selection.and.operations.0.. supported.to.the.associated.reset.reverse..Each..and.specific.direction.a.and.require.inputs.encoder.defines.position.mounted.encoder.special.high-speed.of.to..by.of.for..S7-200.. can.to..high-speed..Manual.to.are.box.the.start.can.an.later.of.available.motor.the.motor. control.from. The.. motor.motor.controls.any. away. direction.outputs.HSC.

of.The.(5.frequency.wave.counted..not.position.means.the.activated..it.pulses.specified.by.0.Output..number..000.control.generator.pulse.interrupts.The.cyclic.the.to. respective.routine.program.the.position.platform.highest.width..a.the.This.revolutions.is..S7-200.revolution.. or.interrupts.Q0.is.waveform.be..Assume.time.those.output.to.interrupts.on.provide.inputs. external.program.short....time.295.The.takes.4....first.be.for.takes. S7-200.driver.is..another.an. Communication.timebased interrupts. and.moving. to..of.the.it.to.pulses.After.interrupt.these.pulse.that.a.same.the.event.series. segment.are.that.these. that.to.has.PLC..and.associated.is.position.pulses.off.highspeed. Three.is. 63 .is.294.it. One. executed.port..communication.device.train.cycle.more.main.its.in.for.either.of.5000.been.are.such.modulated.determines. Interrupts.of.pulses.operated.. program.specified.practical.are.for.the.lowest.with.high-speed.duty.a.interrupts.other.967 .30.of.with.PLCs. from.In. a.at.have.same. to. communication port interrupts.quickly. Each.PTO.Time-based.I/O..a.basis.use.number.the.with.specific..a.occurs.outputs. applications.6.encoder.one.used.600.positions).to.pulses.encoder.used..Freeport.amount. S7-200.used.the.allow.point.interrupts.routine.a.Train. provides.of.used.which.from.high-speed.interrupts.the.for.000. transitions.train.requested.such.or.and.pulse.incorporate.output.for.an..priority.priority..or.as.output.is.interrupt.are.PTO/PWM generators.. per.initiate.returned.types.types.has.I/O interrupts.interrupts.and.output.from.of.a..control.pulses. Pulse Training Output (PTO).two.PLCs.can.have.processed.associated.When.interrupt.with..the.interrupts.to.as.point.platform.create.stepper. I/O.motor. output. that.an.motor..high.square.a.internal.a.Pulse.respond.assigned.the. time-based. that.in.instructions.are.when.have.pulses. Pulse Train Output (PTO).supported.PLCs.called.associated.to..is...counters.a.to.event. Interrupts.Q0.to.controls.on.or.to.and.Communication.port.port.50%.an.user.motor.a.two.of.has.most. revolutions.generator.are. the.interrupts..execute.or.generates.priority.mode.counter. to.a.pulse.move. to.high-speed. cycle.that.too.example.them.routine.an.to.time.interrupt.the.

in.continuously.with.varied.includes.In.product.can.control.seconds.the.of..time.time.After.500.following.for.on.capabilities.50%.timing..equal.of.ms.changes. mechanical.to.off.2.switches..initially.to.the.duty.The.This.changed. on.00%.to. Refer.a. And Much More.on.(on. (PWM) The..and.be.for.and.second.duty.much.the.the.time.compensate.examples.a.the.provides.output.off.be.be.is.cycle. or.variations.turned.. instruction.cycle.has.available.cycle.broader.for.the.example. interrupt..instructions.listed.a.number.a. an.of.Manual.ms.0%. occurs. output.is.this.the.. output.four.machine.of.interrupt.The..used.function.In.cycle.each.PWM.example..accompanying.range.interrupt.types.an.to.to. The.. width.the.a.of.set..the.S7-200.(on.are.adjustable.to. On Off On Off 10% Duty Cycle 50% Duty Cycle Interrupt Occurs The. and.0%.the.which.time.is.. 64 .cycle.90%).variable.When.pulses.cycle.S7-200.information. 50%)..Pulse Width Modulation (PWM) function. 1 sec 1 sec 500 ms Interrupt Occurs Pulse Width Modulation...allows.second.with.pulse. the..initially.instructions.or.only.and.full.cycle.cycle.off.50%.pulses.the.programmable.off.PLCs.can.machine.wear.500.After.an.duty..for.is.System.duty.additional. fixed.section.pulse.. . operation.for.to.a.provide.

Area.years.Micro.a.and.additional. where...7. that. that.messages.an..as.control.is.Radio.control.is.interface.flexible.supports.alarm.a. STEP.remote.with.and.to.provide.supports.RTU.paging.text. well.and..individual.SINAUT Micro.of.(Short.this.PLC..wireless.transmitted.amounts.Service.or.provides.an. SF/DIAG EM 241 MODEM 241-1AA22-0XA0 S7-200 PLC with EM 241 Modem Module Modem Computer The.center.for.as.control.the.Modbus.a.the.functions.and.24.I/O.Communication.CPU-to-CPU.protocol.a.systems.appropriate.is.(Wide. 65 . In.or.(GSM).messages.used. phones.to.many.discrete.of. This.widely. network.to.expansion.protocol.and.modules.of. specialized.SINAUT.communication.SMS.to.to.mobile.for.master.over.General.Packet. functions.these.and. techniques.to.with.via.communication.available.and.of.capability.been.stationary.have.systems.using.for.simple.maintenance.mobile. module.line.communication.several.of. the. EM 241 Modem Module One.the EM 241 Modem module.stations. Global.permits networking. and.computer.providing.controls.EM.previously.to.S7-200.telephone.to.(GPRS).24. One.approach.radio..or.cellular..has.communication.Message.provide.between. permit. SINAUT MD 720-3 GSM/GPRS Modem Module SINAUT Telecontrol (Siemens Network Automation).smaller.numeric.This.Network).Micro/WIN.modules.addition..international.general.telephone.is..sending. machine.remote.expansion.line.EM.the.for.are.System..diagnostics.link.is.a.Mobile..This.be.interfaces.a. modules.control.supports..I/O.Specialized Expansion Modules In.discussed.Service).useful.analog. WAN.also.monitoring.data.addition.way. stations..

remotely.processors.243-.and.and.and.communication.required. SINAUT Micro SC software.the. CP 243-1 IT Communication Processors. S7-200.a.of.S7-300.PLC.a.of..243-.an.243-.This.the.Industrial.S7-200.Ethernet. associated.Ethernet..IT.an..running.simplify.CP. PLC.of.7.S7-200.CP 243-1 and CP 243-1 IT communication processors.devices.to.with.be.can.Internet.SINAUT.be.variety.protocols.CP.IT..can.means.can.connect.S7-200.intelligent.functions. Industrial. In. WinCC flexiible.the.PLC.transfer.a.connect.or..an. used. network..S7-200. CP.of.up.elements.configured.via.to.ANT794-4MR antenna.Micro/WIN.a.of.using.and. process.email.The.are.the.Industrial.Industrial Ethernet network.Ethernet.diagnosed.addition.and..a.S7-200.provides. The..SINAUT MD720-3 GSM/GPRS Modem module.are.connected.STEP.a.setting.files.to.system. PLCs.IT.module.proven. S7-200 PLC with CP 243-1 or CP 243-1 IT Communication Processor SF/DIAG SIMATIC S7-300 PLC CP 243-1 Ethernet CP 243-1EX00-0XE0 Industrial Ethernet Programming Device (PG) or Computer SIMATIC S7-400 PLC 66 .control.communicate.to.variety.used.an.into.devices.diagnostic..S7-400.is.PLC.and.allows.PLC.programmed. information. used.an.that.to.also.to.Internet.connect. WinCC SET S O C RS232 X1 SINAUT MD720-3 720-3AA00 SINAUT MD 720-3 GSM/GPRS Modem Module Antenna CP 243-1.system.networking computers.other.to.an.Micro. computer.hardware.

wiring. PROFIBUS DP.communication standard.5 .200 SF/DIAG RUN STOP 00 .as.6 .200 SF/DIAG RUN STOP 00 .open.cable.cable. actuators.1 .5 .used.network.allows.0 .5 DISPLAY 6GK7 243-2AX01-0XA0 AS-Interface Power Supply Slaves Repeater AS-Interface Power Supply Slaves PORT 0 100 meters S7-200 PLC with CP 243-2 AS-Interface Master Module SIMATIC S7 .and.wiring.1 CPU 224 AC/DC/RLY X1 6 4 EM 277 PROFIBUS-DP CPU FAULT POWER DP ERROR DX MODE I0 .200 SF/DIAG RUN STOP 0 Other SIMATIC Controllers 2 4 0 2 8 X10 6 8 00 .a.2 .4 .0 .5 PORT 0 PROFIBUS DP I/O Systems Display Systems Computers CP 243-2 AS-Interface Master Module Actuator Sensor Interface (AS-Interface or AS-i).AS-I.222.and.7 I1 .and.of.that.above).PROFIBUS-DP.broad.field..actuators.devices.connect.to.manufacturers.3 .range.5 .5 .control.1 CPU 224 AC/DC/RLY CM CER PWR APF SF B SET AS-Interface Master CP 243-2 AUP 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 31 I0 .the.1 .3 .6 .a.to. master.3 .sensors.EM 277 PROFIBUS-DP.and.a.often.2 .6 .can.3 .3 . the.above).(CPU.start-up.2 .2 .simple.3 .7 01 .(CPU.0 .1 .1 100 meters CPU 224 AC/DC/RLY CM CER PWR APF SF B SET AS-Interface Master CP 243-2 AUP 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 31 AS-Interface Power Supply Slaves Slaves AS-Interface Extension Plug I0 .replaces.3 .. S7-200.1 .0 .networking.costs.6 .devices.from. Module.6 .network.controllers.interface.7 01 .0 .rapidly.4 .maintenance.as. EM 277 PROFIBUS-DP module.with.222.0 .0 .that.and. expenses.The.the.connected.parallel..devices. with.communicate..CPU.a.and.1 .5 .1 .2-core.well.be.a.reduces.slave.1 ..7 I1 .and.an. designed. This.to. as.correctly.system for.4 .is.only.2 .3 .connection.as.such.0 .efficiently.1 . CP 243-2 AS-Interface Master module.devices. various.to.is.AS-i.5 .of.as. extensive.fieldbus.allows.0 .to.4 .CPU.so.7 01 .2 .2 .0 .S7-200.5 DISPLAY 6GK7 243-2AX01-0XA0 PORT 0 200 meters 67 . S7-200 PLC with CP 243-2 AS-Interface Master Module SIMATIC S7 ..a.allows.4 .international.4 .intelligent.2 ..operator.0 .connection.7 I1 .4 .sensors.a.6 .3 .1 .2 .4 .0 .of.is.4 . Non-Siemens Controllers Other Intelligent Devices and Systems S7-200 PLC with EM 277 PROFIBUS DP Module SIMATIC S7 .

a.methods.up.the.servo.to.profiles.sequence Provides.a.but.degrees.and.per.measuring.25.configurable.as.allows.a.continuous.to. •.for.000.enter. centimeters). movement. deceleration Provides.systems.of. SF/DIAG MF MG P0 DIS P1 CLR PWR EM 253 Position STP ZP LMT RPS .include: •.choice.to. •.module. •.as.describes.modes. installation.and.of.control.acceleration. •.varying.final.simple. Provides.The. 200.units.seek.EM 253 Position module. changes.each.with.position.with.from.different.compensation Supports.range.easy.for. position. you.speed.reference-point.20. •. that.or.starting.four.closed-loop.4.intelligent.powerful.relative.positioning.configurable.integrated.wiring.curve.of.seek.linear.of.the.to.(with.user. •.operation Provides.or. a.second Supports.of.that.module.backlash.data. Features. •.inches.with.range.pulse.applications.both.+ 253-1AA22-0XA0 S7-200 PLC with EM 253 Position Module EM 253 Features.that.enables. Position.from. direction..high-speed.to..system.a.manual.control Provides.removable.control.microsteppers.is.with.of.field.precision.as.drives.EM 253 Position Module.engineering.motion.S.up. control).approach.involve.number.connectors.or..a.pulses Provides. •.direction.profile Provides.(such.and.removal 68 .absolute.per.and.to.control.the..

predictable.are. junction..0 .compatible.with.analog.RTD.four.resistance temperature detectors (RTDs).analog.thermocouples.0 .inputs.a.thermocouple.Various.4 .5 .for.used. sensor. but.modules.2 .module.PLC.Thermocouple.with..dissimilar.two.inputs..B+ B..sensor.with.for.expansion. SIMATIC S7 .thermocouples.eight.EM.RTD.as.3 .6 .be.must.resistance.4 .for.a.of. one.are.types.23.must. Either.specific.same.Two.at.of.and.is.1 CPU 224 AC/DC/RLY +24 VDC SF EM 231 AI4 .type.be.is.0 ..small.a..analog.four.provides.is.available.3 .. RTDs.a..temperature.with.temperature.different. thermocouples..from.in.of.or.analog. EM 231 Thermocouple module and EM 231 RTD module.provides.is..T.thermocouples.J.S. for.A.upon.be.that.. EM.B+ B.use.K.N. version..23.4 .variety..temperature.manner.produces.23.type.as.joined.such.temperature.a..voltage.module.a.in. versions.used.module.two.C+ C.a.nickel.a.with.a.RTD.varies. 4 Input Version EM 231 RTD module.An..temperature..and.available.point.1 .one.ranges.thermocouple.can.inputs.available.1 .R.made.used.RTD.TC I0 ..versions.metals..1 . the.the.called.S7-200.EM.inputs.7 01 .for.the.D+ D- A+ A.but.in.E.. made.the.metal.types.available.same.from.are.accurate temperature. dependent.of.Expansion Modules for Temperature Measurement Two.7 I1 .modules.5 243-7PD22-0XA0 PORT 0 S7-200 PLC with EM 231 Expansion Module A+ A.23.. that.6 .Two.the.copper.thermocouples.5 .module..thermocouples.a+ a.200 SF/DIAG RUN STOP 00 .or.A.specific. EM. varies.platinum.for.a. are.0 .one.Thermocouple.of.2 .module.with.one..3 .b+ b- M L+ Configuration M L+ Configuration + 24 VDC Refer to the S7-200 Programmable Controller System Manual for Configuration DIP Switch Positions + 24 VDC Refer to the S7-200 Programmable Controller System Manual for Configuration DIP Switch Positions EM 231 Thermocouple module.measurement.2 .Each.of.version. 2 Input Version 69 .

.makes.force.to. measure.force.other.wide..4 ..module.measurement.for.1 CPU 224XP DC/DC/DC SF I NET p ---I SIWAREX MS ->0<MAX I0 .0 .the.a. S7-200 PLC with SIWAREX MS Module SIMATIC S7 .used.2 .install.78 kg Lim 1 Lim 2 erase list XR Cell SIWARE Load Wag ezelle / T wrp pT min +9e err >0< >< T Tp T o SIWAREX R Load Cell Touch Panel TP 177micro 70 .compatible.components.MS.1 .and.to.voltage.and.weighing.approach.weight..3 .by.1 .easy to.obtained.an.a.automation.6 .information.designed.SWAREX.6 .module.5 214-2AD23-0XB0 +24 VDC 7MH4930-0AA01 PORT 1 PORT 0 SIMATIC PANEL TOUCH SIWAREX MS 12.In.0 . measure.variety.This.integrated. applications.5 ..the. SIWAREX. as.0 .S7-200..Weighing.an.of.produced.offers. system.simple.is.3 ..5 .components.system.expansion.of.available.3 .SIWAREX MS Weighing Module SIWAREX MS Weighing module provides. sensors.into.MS.to.7 I1 .MS.from.other.Siemens..2 .4 .is.2 .0 .torque.commonly.200 SF/DIAG RUN STOP 00 .sensors.or. SIWAREX.easily.1 .4 .7 01 .PLC.addition.

. 3. 5.___________.an.thermocouples.to.an.pulse-width.used.support.Thermocouple..of.as.pulse.________. Two.and.module. 7 . counters.set.S7-200.have. Ethernet.in.a.RTDs.____.that.network.CPU. S7-200.PLC.CPU.____. a. slave.23. 4.of.to. available.either.22. CPU.processors.and.or..one.are.available.RTDs.AS-I. S7-200.network.CPU.S7-200.____________. 8.above).one.and.S7-200..the.instruction.as.high.are.PLCs.module.a.network.CPU. (CPU222.of.for.CPU.modulated.of.Industrial. 226.an. waveform.module.. 6.for.create.speed.high-speed.connection.CPU.for.RTD..an.____________.a.above).of.an.EM.connect.allows.train.PROFIBUS-DP. 7 ..high.connection..222.one. Two. (CPU222.two.23.available. for.module.support...one.are.224XP .____________.versions.224.. 2..and.____.____.to.CPU.____. ________..and...Review 6 . thermocouples.counters.allows.EM. Three.____. and.types. _________. are.SIMATIC.communication.master.counters.a.versions.speed. _________.224XPsi..and.and.to.

.7).Q0..b.2).2).logic..3).CPU. )..b:.discrete.A.2.(TOF)..0..CP.CPU.CP..7...EM. ).b:....c:.6.4)..module..programming.226.Statement.2.7).0. ).Timer..block.Counter.8).On-Delay.3).-.... 4)..Count.(CTUD).a:..Pulse.scan.(TON).Count.2).IT.. ...On-Delay..On-Delay.Off-Delay.0...Timer.243-.a:.. Review 5.. OR.e:.243-. device..224XPsi..AND.Timer..224XP.3). list.000.b:.seconds.3.firmware.8.Timer.Retentive.0.CPU.discrete.(TON)...2.Timer. 72 .open.a:.On-Delay.224.interface.c:.CPU.I0. 2). Review 4...c:.d:.I0.2)...0..Timer.0. CPU.normally.7. ).4..(TONR).Counter.4.. Up/Down. 9)..8.PROFIBUS-DP 6).(CTD)..output.Counter.-.. (TONR). 3).function.f:.Ladder.diagrams.22.Retentive.0000.e:.6.4.6).Review Answers Review 1 Review 2.5). ).6)...Timer.Master.(CTU).(TOF). 4).Function. Off-Delay..7)024.g:..5)...4).input.Down.4.CPU.coil.contact.Function..5).243-2.CPU.PTO/PWM.box...operator. )...277.5)..00.6.3276..0.module.4)..2).DIN.Up.RS-485.222.....224XP . Review 3..3).AS-Interface.8).d:..3)..CPU.Q0....generators..CP..Count.h:..(TP). Review 6.

73 .

may.displaying.a.at.display. web...printing.the.on.so.be.exam.grading..exam.Delete Files. exam.from.you.questions.allows.for. will.do.70%.can.you.displayed.of.you.print.that.links.the.and.left.you..your.delete.that.on.com/step.you.of.the.navigation.out. The..you.the.by.certificate.Your.complete.score.mouse.variety.of.Final Exam.pops.the.usa.the. bar.course.score.versions.saving..selecting. exam.that.The.the.final.your.step..missed.quickSTEP.score.for.this.knowledge.display.on.database.page. options.of.print. this.without.menu.page.will.button.better.complete.your.test.bottom.siemens. courses.select.your.http://www.you.on.a.button.you.allows.submit.completion.move.after. 74 ..To.page. this.to.perform. certificate..and.exam.can.clicking.click.the.and.For.exam.final.do.final.your.option.link.the.and.along.the.our.by.your.the.If.the.for.will.the.a.two.Internet Explorer.you.is.you.on.Final Exam You.Grade the Exam..be..certificate.with...taking.Tools. and..option.exam.files.of.exam.link.our. then.score.final.score. computer.taking.online.to.given.or. recommended.and.provides.see.Print Certificate.appear.the. If.your.to.for.over.in.temporary. Next..to.. Basics of PLCs.This.at.most.the.not.the.the.final.online. Save Score..0%.the.it.click.Before. After.save.the.Internet Options. course.you.on.this.and.

Sign up to vote on this title
UsefulNot useful