Siemens S7-200PLC Especificaciones

Busca en linea o descarga Especificaciones para Redes Siemens S7-200PLC. Siemens S7-200PLC Specifications Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 504
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 0
Important Notes, Contents
Introducing the S7-200
Micro PLC
1
Installing an S7-200 Micro
PLC
2
Getting Started with an
S7-200 Programming
System
3
Basic Concepts for
Programming an S7-200
CPU
4
CPU Memory: Data Types
and Addressing Modes
5
CPU and Input/Output
Configuration
6
Setting Up Communications
Hardware and Network
Communications
7
Conventions for S7-200
Instructions
8
SIMATIC Instructions
9
IEC 1131-3 Instructions
10
S7-200 Specifications
A
Error Codes
B
Special Memory (SM) Bits
C
S7-200 Troubleshooting
Guide
D
S7-200 Order Numbers
E
Execution Times for STL
Instructions
F
S7-200 Quick Reference
Information
G
Index
03/99
Release 01
S7-200 Programmable Controller
System Manual
This manual has the order number:
6ES7298-8FA20-8BH0
SIMATIC
Vista de pagina 0
1 2 3 4 5 6 ... 503 504

Indice de contenidos

Pagina 1

Important Notes, ContentsIntroducing the S7-200Micro PLC1Installing an S7-200 MicroPLC2Getting Started with anS7-200 ProgrammingSystem3Basic Concepts

Pagina 2 - Safety Guidelines

ContentsxS7-200 Programmable Controller System ManualC79000-G7076-C233-01A S7-200 Specifications A-1. . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 3 - Important Notes

CPU Memory: Data Types and Addressing Modes5-16S7-200 Programmable Controller System ManualC79000-G7076-C233-01RAM EEPROMUser programV memory(permane

Pagina 4 - Related Information

CPU Memory: Data Types and Addressing Modes5-17S7-200 Programmable Controller System ManualC79000-G7076-C233-01Automatically Saving the Data from the

Pagina 5 - Additional Assistance

CPU Memory: Data Types and Addressing Modes5-18S7-200 Programmable Controller System ManualC79000-G7076-C233-01At power on, the CPU checks the RAM to

Pagina 6

CPU Memory: Data Types and Addressing Modes5-19S7-200 Programmable Controller System ManualC79000-G7076-C233-01Defining Retentive Ranges of MemoryYou

Pagina 7

CPU Memory: Data Types and Addressing Modes5-20S7-200 Programmable Controller System ManualC79000-G7076-C233-015.4 Using Your Program to Store Data P

Pagina 8

CPU Memory: Data Types and Addressing Modes5-21S7-200 Programmable Controller System ManualC79000-G7076-C233-01Limiting the Number of Programmed Save

Pagina 9

CPU Memory: Data Types and Addressing Modes5-22S7-200 Programmable Controller System ManualC79000-G7076-C233-015.5 Using a Memory Cartridge to Store

Pagina 10 - Contents

CPU Memory: Data Types and Addressing Modes5-23S7-200 Programmable Controller System ManualC79000-G7076-C233-01You can install or remove the memory c

Pagina 11

CPU Memory: Data Types and Addressing Modes5-24S7-200 Programmable Controller System ManualC79000-G7076-C233-01Restoring the Program and Memory with

Pagina 12 - Equipment Requirements

6-1S7-200 Programmable Controller System ManualC79000-G7076-C233-01CPU and Input/Output ConfigurationThe inputs and outputs are the system control poi

Pagina 13

1-1S7-200 Programmable Controller System ManualC79000-G7076-C233-01Introducing the S7-200 Micro PLCThe S7-200 series is a line of micro-programmable l

Pagina 14 - S7-200 CPU

CPU and Input/Output Configuration6-2S7-200 Programmable Controller System ManualC79000-G7076-C233-016.1 Local I/O and Expansion I/OThe inputs and out

Pagina 15 - Expansion Modules

CPU and Input/Output Configuration6-3S7-200 Programmable Controller System ManualC79000-G7076-C233-01Examples of Local and Expansion I/OFigure 6-1 and

Pagina 16

CPU and Input/Output Configuration6-4S7-200 Programmable Controller System ManualC79000-G7076-C233-016.2 Using the Selectable Input Filter to Provide

Pagina 17 - Installing an S7-200 PLC

CPU and Input/Output Configuration6-5S7-200 Programmable Controller System ManualC79000-G7076-C233-016.3 Pulse CatchThe S7-200 CPUs provide a pulse ca

Pagina 18 - Installation Configuration

CPU and Input/Output Configuration6-6S7-200 Programmable Controller System ManualC79000-G7076-C233-01A block diagram of the digital input circuit is s

Pagina 19

CPU and Input/Output Configuration6-7S7-200 Programmable Controller System ManualC79000-G7076-C233-01To access the pulse catch configuration screen, s

Pagina 20 - Panel-Mounting Dimensions

CPU and Input/Output Configuration6-8S7-200 Programmable Controller System ManualC79000-G7076-C233-016.4 Using the Output Table to Configure the State

Pagina 21

CPU and Input/Output Configuration6-9S7-200 Programmable Controller System ManualC79000-G7076-C233-016.5 Analog Input FilterWith the CPU 222 and CPU 2

Pagina 22

CPU and Input/Output Configuration6-10S7-200 Programmable Controller System ManualC79000-G7076-C233-016.6 High-Speed I/OYour S7-200 CPU provides high-

Pagina 23

CPU and Input/Output Configuration6-11S7-200 Programmable Controller System ManualC79000-G7076-C233-01From this table you can see that if you are usin

Pagina 24

Introducing the S7-200 Micro PLC1-2S7-200 Programmable Controller System ManualC79000-G7076-C233-011.1 Comparing the Features of the S7-200 Micro PLCs

Pagina 25 - General Guidelines

CPU and Input/Output Configuration6-12S7-200 Programmable Controller System ManualC79000-G7076-C233-01High-Speed Pulse OutputThe S7-200 CPUs support h

Pagina 26

CPU and Input/Output Configuration6-13S7-200 Programmable Controller System ManualC79000-G7076-C233-016.7 Analog AdjustmentsThe analog adjustment pote

Pagina 27 - Connector

CPU and Input/Output Configuration6-14S7-200 Programmable Controller System ManualC79000-G7076-C233-01

Pagina 28

7-1S7-200 Programmable Controller System ManualC79000-G7076-C233-01Setting Up Communications Hardwareand Network CommunicationsThis chapter describes

Pagina 29

Setting Up Communications Hardware and Network Communications7-2S7-200 Programmable Controller System ManualC79000-G7076-C233-017.1 What Are My Commun

Pagina 30

Setting Up Communications Hardware and Network Communications7-3S7-200 Programmable Controller System ManualC79000-G7076-C233-01 CP cardCPU 224Ma

Pagina 31

Setting Up Communications Hardware and Network Communications7-4S7-200 Programmable Controller System ManualC79000-G7076-C233-01Data Communications Us

Pagina 32 - Protecting DC Transistors

Setting Up Communications Hardware and Network Communications7-5S7-200 Programmable Controller System ManualC79000-G7076-C233-01How Do I Set Up Commun

Pagina 33

Setting Up Communications Hardware and Network Communications7-6S7-200 Programmable Controller System ManualC79000-G7076-C233-01In the Communications

Pagina 34 - 2.5 Power Considerations

Setting Up Communications Hardware and Network Communications7-7S7-200 Programmable Controller System ManualC79000-G7076-C233-017.2 Installing and Rem

Pagina 35

Introducing the S7-200 Micro PLC1-3S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table 1-1 Summary of the S7-200 CPUs Feature CPU 2

Pagina 36

Setting Up Communications Hardware and Network Communications7-8S7-200 Programmable Controller System ManualC79000-G7076-C233-01Special Hardware Insta

Pagina 37 - Programming System

Setting Up Communications Hardware and Network Communications7-9S7-200 Programmable Controller System ManualC79000-G7076-C233-017.3 Selecting and Chan

Pagina 38 - 3.1 Overview

Setting Up Communications Hardware and Network Communications7-10S7-200 Programmable Controller System ManualC79000-G7076-C233-01Setting Up the PC/PPI

Pagina 39 - Pre-Installation Instructions

Setting Up Communications Hardware and Network Communications7-11S7-200 Programmable Controller System ManualC79000-G7076-C233-01Follow these steps to

Pagina 40

Setting Up Communications Hardware and Network Communications7-12S7-200 Programmable Controller System ManualC79000-G7076-C233-016. Click the Local Co

Pagina 41

Setting Up Communications Hardware and Network Communications7-13S7-200 Programmable Controller System ManualC79000-G7076-C233-01NoteIf you are using

Pagina 42

Setting Up Communications Hardware and Network Communications7-14S7-200 Programmable Controller System ManualC79000-G7076-C233-01Setting Up the CP or

Pagina 43

Setting Up Communications Hardware and Network Communications7-15S7-200 Programmable Controller System ManualC79000-G7076-C233-01Cancel HelpOKProperti

Pagina 44

Setting Up Communications Hardware and Network Communications7-16S7-200 Programmable Controller System ManualC79000-G7076-C233-017.4 Communicating Wit

Pagina 45

Setting Up Communications Hardware and Network Communications7-17S7-200 Programmable Controller System ManualC79000-G7076-C233-01Communications LinksD

Pagina 46

Introducing the S7-200 Micro PLC1-4S7-200 Programmable Controller System ManualC79000-G7076-C233-011.2 Major Components of the S7-200 Micro PLCAn S7-2

Pagina 47

Setting Up Communications Hardware and Network Communications7-18S7-200 Programmable Controller System ManualC79000-G7076-C233-018. In the Communicati

Pagina 48

Setting Up Communications Hardware and Network Communications7-19S7-200 Programmable Controller System ManualC79000-G7076-C233-0111.The Configure dial

Pagina 49 - Designing the Safety Circuits

Setting Up Communications Hardware and Network Communications7-20S7-200 Programmable Controller System ManualC79000-G7076-C233-01Setting Up The Remote

Pagina 50

Setting Up Communications Hardware and Network Communications7-21S7-200 Programmable Controller System ManualC79000-G7076-C233-01OKConfigureProgram/Te

Pagina 51 - Drain_Sol

Setting Up Communications Hardware and Network Communications7-22S7-200 Programmable Controller System ManualC79000-G7076-C233-017. Disconnect your re

Pagina 52 - Statement List Editor

Setting Up Communications Hardware and Network Communications7-23S7-200 Programmable Controller System ManualC79000-G7076-C233-01Using a 10-Bit Modem

Pagina 53 - Before Or After Or

Setting Up Communications Hardware and Network Communications7-24S7-200 Programmable Controller System ManualC79000-G7076-C233-01This configuration al

Pagina 54 - Ladder Logic Editor

Setting Up Communications Hardware and Network Communications7-25S7-200 Programmable Controller System ManualC79000-G7076-C233-01Using an 11-Bit Modem

Pagina 55 - Function Block Diagram Editor

Setting Up Communications Hardware and Network Communications7-26S7-200 Programmable Controller System ManualC79000-G7076-C233-01This configuration al

Pagina 56 - Instructions

Setting Up Communications Hardware and Network Communications7-27S7-200 Programmable Controller System ManualC79000-G7076-C233-017.5 Network OverviewN

Pagina 57

Introducing the S7-200 Micro PLC1-5S7-200 Programmable Controller System ManualC79000-G7076-C233-01Figure 1-3 shows the S7-200 CPU.Top terminal doorPo

Pagina 58

Setting Up Communications Hardware and Network Communications7-28S7-200 Programmable Controller System ManualC79000-G7076-C233-01Network Communication

Pagina 59

Setting Up Communications Hardware and Network Communications7-29S7-200 Programmable Controller System ManualC79000-G7076-C233-01PPI ProtocolPPI is a

Pagina 60

Setting Up Communications Hardware and Network Communications7-30S7-200 Programmable Controller System ManualC79000-G7076-C233-01PROFIBUS ProtocolThe

Pagina 61 - Overloaded Instructions

Setting Up Communications Hardware and Network Communications7-31S7-200 Programmable Controller System ManualC79000-G7076-C233-017.6 Network Component

Pagina 62

Setting Up Communications Hardware and Network Communications7-32S7-200 Programmable Controller System ManualC79000-G7076-C233-01Network ConnectorsSie

Pagina 63

Setting Up Communications Hardware and Network Communications7-33S7-200 Programmable Controller System ManualC79000-G7076-C233-01ABAB ABABOn OnABABOff

Pagina 64 - Organizing the Program

Setting Up Communications Hardware and Network Communications7-34S7-200 Programmable Controller System ManualC79000-G7076-C233-01Network RepeatersSiem

Pagina 65

Setting Up Communications Hardware and Network Communications7-35S7-200 Programmable Controller System ManualC79000-G7076-C233-017.7 Using the PC/PPI

Pagina 66

Setting Up Communications Hardware and Network Communications7-36S7-200 Programmable Controller System ManualC79000-G7076-C233-01If you are using the

Pagina 67 - INTERRUPT ROUTINE 0

Setting Up Communications Hardware and Network Communications7-37S7-200 Programmable Controller System ManualC79000-G7076-C233-01Using a Modem with a

Pagina 68 - Reading the Digital Inputs

Introducing the S7-200 Micro PLC1-6S7-200 Programmable Controller System ManualC79000-G7076-C233-01

Pagina 69 - Executing the Program

Setting Up Communications Hardware and Network Communications7-38S7-200 Programmable Controller System ManualC79000-G7076-C233-01To set the mode to Da

Pagina 70 - Immediate I/O

Setting Up Communications Hardware and Network Communications7-39S7-200 Programmable Controller System ManualC79000-G7076-C233-01Switch 4 of the PC/PP

Pagina 71

Setting Up Communications Hardware and Network Communications7-40S7-200 Programmable Controller System ManualC79000-G7076-C233-01Using a Modem with a

Pagina 72 - RUN mode

Setting Up Communications Hardware and Network Communications7-41S7-200 Programmable Controller System ManualC79000-G7076-C233-017.8 Network Performan

Pagina 73 - Restricting Access to the CPU

Setting Up Communications Hardware and Network Communications7-42S7-200 Programmable Controller System ManualC79000-G7076-C233-01As a general rule, yo

Pagina 74 - Configuring the CPU Password

Setting Up Communications Hardware and Network Communications7-43S7-200 Programmable Controller System ManualC79000-G7076-C233-01In this configuration

Pagina 75

Setting Up Communications Hardware and Network Communications7-44S7-200 Programmable Controller System ManualC79000-G7076-C233-01Token Rotation TimeTh

Pagina 76

Setting Up Communications Hardware and Network Communications7-45S7-200 Programmable Controller System ManualC79000-G7076-C233-01Token Rotation Compar

Pagina 77

Setting Up Communications Hardware and Network Communications7-46S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table 7-12 Token Rota

Pagina 78

8-1S7-200 Programmable Controller System ManualC79000-G7076-C233-01Conventions for S7-200 InstructionsThe following conventions are used in this chapt

Pagina 79

2-1S7-200 Programmable Controller System ManualC79000-G7076-C233-01Installing an S7-200 PLCThe installation of the S7-200 equipment is designed to be

Pagina 80 - Forcing Specific Values

Conventions for S7-200 Instructions8-2S7-200 Programmable Controller System ManualC79000-G7076-C233-018.1 Concepts and Conventions For STEP 7-Micro/WI

Pagina 81

Conventions for S7-200 Instructions8-3S7-200 Programmable Controller System ManualC79000-G7076-C233-01Title of the Instruction or Instruction Group: I

Pagina 82

Conventions for S7-200 Instructions8-4S7-200 Programmable Controller System ManualC79000-G7076-C233-01Operand Table: Beneath the LAD/FBD/STL figure is

Pagina 83 - Responding to Fatal Errors

Conventions for S7-200 Instructions8-5S7-200 Programmable Controller System ManualC79000-G7076-C233-01In SIMATIC STL, there is no ENO output, but the

Pagina 84

Conventions for S7-200 Instructions8-6S7-200 Programmable Controller System ManualC79000-G7076-C233-01STEP 7-Micro/WIN 32 Conventions: In STEP 7-Micr

Pagina 85

Conventions for S7-200 Instructions8-7S7-200 Programmable Controller System ManualC79000-G7076-C233-018.2 Valid Ranges for the S7-200 CPUsTable 8-2 Su

Pagina 86

Conventions for S7-200 Instructions8-8S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table 8-3 S7-200 CPU Operand Ranges

Pagina 87

9-1S7-200 Programmable Controller System ManualC79000-G7076-C233-01SIMATIC InstructionsThis chapter describes the SIMATIC instruction set for the S7-2

Pagina 88 - Representation of Numbers

SIMATIC Instructions9-2S7-200 Programmable Controller System ManualC79000-G7076-C233-019.1 SIMATIC Bit Logic InstructionsStandard ContactsThese instru

Pagina 89

SIMATIC Instructions9-3S7-200 Programmable Controller System ManualC79000-G7076-C233-01Immediate ContactsThe immediate instruction obtains the physica

Pagina 90

Installing an S7-200 PLC2-2S7-200 Programmable Controller System ManualC79000-G7076-C233-012.1 Panel Layout ConsiderationsInstallation ConfigurationYo

Pagina 91 - [timer number]

SIMATIC Instructions9-4S7-200 Programmable Controller System ManualC79000-G7076-C233-01NotThe NOT contact changes the state of power flow. Whenpower f

Pagina 92 - [counter number]

SIMATIC Instructions9-5S7-200 Programmable Controller System ManualC79000-G7076-C233-01Contact ExamplesNETWORK 1LD I0.0A I0.1= Q0.0NETWORK 2LD I0.0NOT

Pagina 93 - [starting byte address]

SIMATIC Instructions9-6S7-200 Programmable Controller System ManualC79000-G7076-C233-01OutputWhen the Output instruction is executed, the output bitin

Pagina 94 - [accumulator number]

SIMATIC Instructions9-7S7-200 Programmable Controller System ManualC79000-G7076-C233-01Set, Reset (N Bits)When the Set and Reset instructions are exec

Pagina 95

SIMATIC Instructions9-8S7-200 Programmable Controller System ManualC79000-G7076-C233-01Set Immediate, Reset Immediate (N Bits)When the Set Immediate a

Pagina 96 - Using Constant Values

SIMATIC Instructions9-9S7-200 Programmable Controller System ManualC79000-G7076-C233-01Output ExamplesNETWORK 1LD I0.0= Q0.0S Q0.1, 1R Q0.2, 2Network

Pagina 97 - Creating a Pointer

SIMATIC Instructions9-10S7-200 Programmable Controller System ManualC79000-G7076-C233-019.2 SIMATIC Compare InstructionsCompare ByteThe Compare Byte i

Pagina 98 - Modifying Pointers

SIMATIC Instructions9-11S7-200 Programmable Controller System ManualC79000-G7076-C233-01Compare IntegerThe Compare Integer instruction is used to comp

Pagina 99

SIMATIC Instructions9-12S7-200 Programmable Controller System ManualC79000-G7076-C233-01Compare Double WordThe Compare Double Word instruction is used

Pagina 100

SIMATIC Instructions9-13S7-200 Programmable Controller System ManualC79000-G7076-C233-01Compare RealCompare Real instruction is used to compare twoval

Pagina 101 - Retaining Memory on Power On

Installing an S7-200 PLC2-3S7-200 Programmable Controller System ManualC79000-G7076-C233-01Clearance Requirements for Installing an S7-200 PLCUse the

Pagina 102

SIMATIC Instructions9-14S7-200 Programmable Controller System ManualC79000-G7076-C233-01Comparison Contact ExamplesNETWORK 4LDW>= VW4, VW8= Q0.3LAD

Pagina 103 - Number of

SIMATIC Instructions9-15S7-200 Programmable Controller System ManualC79000-G7076-C233-019.3 SIMATIC Timer InstructionsOn-Delay Timer, Retentive On-Del

Pagina 104

SIMATIC Instructions9-16S7-200 Programmable Controller System ManualC79000-G7076-C233-01TON, TONR, and TOF timers are available in three resolutions.

Pagina 105 - C79000-G7076-C233-01

SIMATIC Instructions9-17S7-200 Programmable Controller System ManualC79000-G7076-C233-01Understanding the S7-200 Timer InstructionsYou can use timers

Pagina 106

SIMATIC Instructions9-18S7-200 Programmable Controller System ManualC79000-G7076-C233-01The actions of the timers at different resolutions are explain

Pagina 107

SIMATIC Instructions9-19S7-200 Programmable Controller System ManualC79000-G7076-C233-01Updating the Timer Current ValueThe effect of the various ways

Pagina 108

SIMATIC Instructions9-20S7-200 Programmable Controller System ManualC79000-G7076-C233-01On-Delay Timer ExampleMaximumvalue = 327673LADSTLI2.0LD I2.0TO

Pagina 109 - Chapter Overview

SIMATIC Instructions9-21S7-200 Programmable Controller System ManualC79000-G7076-C233-01Retentive On-Delay Timer Example10LADSTLI2.1LD I2.1TONR T2, 10

Pagina 110

SIMATIC Instructions9-22S7-200 Programmable Controller System ManualC79000-G7076-C233-01Off-Delay Timer ExampleINPT3T33I0.0LD I0.0TOF T33, 3Timing Dia

Pagina 111 - Module 0 Module 1 Module 3

SIMATIC Instructions9-23S7-200 Programmable Controller System ManualC79000-G7076-C233-019.4 SIMATIC Counter InstructionsCount Up, Count Up/Down, Count

Pagina 112

Index-2S7-200 Programmable Controller System ManualThis manual has the order number:C79000-G7076-C233!Dangerindicates that death, severe personal inju

Pagina 113 - 6.3 Pulse Catch

Installing an S7-200 PLC2-4S7-200 Programmable Controller System ManualC79000-G7076-C233-01Standard Rail RequirementsThe S7-200 CPU and expansion modu

Pagina 114

SIMATIC Instructions9-24S7-200 Programmable Controller System ManualC79000-G7076-C233-01Understanding the S7-200 Counter InstructionsThe Up Counter (C

Pagina 115

SIMATIC Instructions9-25S7-200 Programmable Controller System ManualC79000-G7076-C233-01Counter ExamplesI1.0LoadLD I3.0 //Count Down InputLD I1.0 //Lo

Pagina 116

SIMATIC Instructions9-26S7-200 Programmable Controller System ManualC79000-G7076-C233-01I4.0UpLD I4.0 //Count Up InputLD I3.0 //Count Down InputLD I2.

Pagina 117 - 6.5 Analog Input Filter

SIMATIC Instructions9-27S7-200 Programmable Controller System ManualC79000-G7076-C233-019.5 SIMATIC High-Speed Counter InstructionsHigh-Speed Counter

Pagina 118 - 6.6 High-Speed I/O

SIMATIC Instructions9-28S7-200 Programmable Controller System ManualC79000-G7076-C233-01Using the High-Speed CounterTypically, a high-speed counter is

Pagina 119

SIMATIC Instructions9-29S7-200 Programmable Controller System ManualC79000-G7076-C233-01Start (Active High) 01Reset (Active High)-2,147,483,6480+2,147

Pagina 120 - High-Speed Pulse Output

SIMATIC Instructions9-30S7-200 Programmable Controller System ManualC79000-G7076-C233-01Clock 01ExternalDirectionControl (1 = Up)010Current value load

Pagina 121 - 6.7 Analog Adjustments

SIMATIC Instructions9-31S7-200 Programmable Controller System ManualC79000-G7076-C233-01Phase AClock01Phase BClock010Current value loaded to 0, preset

Pagina 122

SIMATIC Instructions9-32S7-200 Programmable Controller System ManualC79000-G7076-C233-01Connecting the Input Wiring for the High-Speed CountersTable 9

Pagina 123

SIMATIC Instructions9-33S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table 9-4 Input Point Assignments for High-Speed Counters and

Pagina 124 - Network Connector

Installing an S7-200 PLC2-5S7-200 Programmable Controller System ManualC79000-G7076-C233-01CPU 224 88 mm(3.46 in.) 96 mm(3.78 in.)4 mm(0.16 in.) 4 mm(

Pagina 125 - STEP 7-Micro/WIN 32 supports

SIMATIC Instructions9-34S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table 9-6 HSC1 Modes of OperationHSC1 Mode Description I0.6 I0

Pagina 126

SIMATIC Instructions9-35S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table 9-8 HSC3 Modes of OperationHSC3 Mode Description I0.10 S

Pagina 127

SIMATIC Instructions9-36S7-200 Programmable Controller System ManualC79000-G7076-C233-01Addressing the High-Speed Counters (HC)To access the count val

Pagina 128 - Communications Setup

SIMATIC Instructions9-37S7-200 Programmable Controller System ManualC79000-G7076-C233-01Selecting the Active State and 1x/4x ModeFour counters have th

Pagina 129

SIMATIC Instructions9-38S7-200 Programmable Controller System ManualC79000-G7076-C233-01Control ByteOnce you have defined the counter and the counter

Pagina 130

SIMATIC Instructions9-39S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table 9-13 Current and Preset Values of HSC0, HSC1, HSC2, HSC3

Pagina 131

SIMATIC Instructions9-40S7-200 Programmable Controller System ManualC79000-G7076-C233-01HSC InterruptsAll counter modes support an interrupt on curren

Pagina 132

SIMATIC Instructions9-41S7-200 Programmable Controller System ManualC79000-G7076-C233-01Initialization Modes 0, 1, or 2The following steps describe ho

Pagina 133

SIMATIC Instructions9-42S7-200 Programmable Controller System ManualC79000-G7076-C233-01Initialization Modes 3, 4, or 5The following steps describe ho

Pagina 134

SIMATIC Instructions9-43S7-200 Programmable Controller System ManualC79000-G7076-C233-01Initialization Modes 6, 7, or 8The following steps describe ho

Pagina 135

Installing an S7-200 PLC2-6S7-200 Programmable Controller System ManualC79000-G7076-C233-012.2 Installing and Removing an S7-200 Micro PLC or Expansio

Pagina 136

SIMATIC Instructions9-44S7-200 Programmable Controller System ManualC79000-G7076-C233-01Initialization Modes 9, 10, or 11The following steps describe

Pagina 137

SIMATIC Instructions9-45S7-200 Programmable Controller System ManualC79000-G7076-C233-01Change Direction in Modes 0, 1, or 2The following steps descri

Pagina 138 - 7.4 Communicating With Modems

SIMATIC Instructions9-46S7-200 Programmable Controller System ManualC79000-G7076-C233-01Load a New Preset Value (Any Mode)The following steps describe

Pagina 139

SIMATIC Instructions9-47S7-200 Programmable Controller System ManualC79000-G7076-C233-01High-Speed Counter ExampleLAD STLHDEFHSCMODE111HSC1 configured

Pagina 140

SIMATIC Instructions9-48S7-200 Programmable Controller System ManualC79000-G7076-C233-01FBDHDEFHSCMODE111ENMAIN OB1SM0.1IN16#F8MOV_BOUT SMB47ENSM0.0IN

Pagina 141 - Configure

SIMATIC Instructions9-49S7-200 Programmable Controller System ManualC79000-G7076-C233-019.6 SIMATIC Pulse Output InstructionsPulse OutputThe Pulse Out

Pagina 142 - Modem Setup

SIMATIC Instructions9-50S7-200 Programmable Controller System ManualC79000-G7076-C233-01You can change the characteristics of a PTO or PWM waveform by

Pagina 143

SIMATIC Instructions9-51S7-200 Programmable Controller System ManualC79000-G7076-C233-01The PWM Update Method bit (SM67.4 or SM77.4) in the control by

Pagina 144

SIMATIC Instructions9-52S7-200 Programmable Controller System ManualC79000-G7076-C233-01Single Segment Pipelining In single segment pipelining, you a

Pagina 145

SIMATIC Instructions9-53S7-200 Programmable Controller System ManualC79000-G7076-C233-01The format of the profile table is shown in Table 9-15. An add

Pagina 146

Installing an S7-200 PLC2-7S7-200 Programmable Controller System ManualC79000-G7076-C233-01Installing an S7-200 Micro PLC or Expansion Module onto a S

Pagina 147

SIMATIC Instructions9-54S7-200 Programmable Controller System ManualC79000-G7076-C233-01Calculating Profile Table Values The multiple segment pipelini

Pagina 148

SIMATIC Instructions9-55S7-200 Programmable Controller System ManualC79000-G7076-C233-01Assuming that the profile table is located in V memory startin

Pagina 149 - 7.5 Network Overview

SIMATIC Instructions9-56S7-200 Programmable Controller System ManualC79000-G7076-C233-01The duration of a given profile segment can be useful in the p

Pagina 150

SIMATIC Instructions9-57S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table 9-17 PTO /PWM Control Registers Q0.0Q0.1 Status ByteSM6

Pagina 151 - MPI Protocol

SIMATIC Instructions9-58S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table 9-18 PTO/PWM Control Byte ReferenceControlResult of exec

Pagina 152 - PROFIBUS Protocol

SIMATIC Instructions9-59S7-200 Programmable Controller System ManualC79000-G7076-C233-01PWM InitializationTo initialize the PWM for Q0.0, follow these

Pagina 153 - 7.6 Network Components

SIMATIC Instructions9-60S7-200 Programmable Controller System ManualC79000-G7076-C233-01PTO Initialization - Single Segment OperationTo initialize the

Pagina 154 - Network Connectors

SIMATIC Instructions9-61S7-200 Programmable Controller System ManualC79000-G7076-C233-01Changing the PTO Pulse Count - Single Segment OperationTo chan

Pagina 155 - Cable for a PROFIBUS Network

SIMATIC Instructions9-62S7-200 Programmable Controller System ManualC79000-G7076-C233-01PTO Initialization - Multiple Segment OperationTo initialize t

Pagina 156 - Network Repeaters

SIMATIC Instructions9-63S7-200 Programmable Controller System ManualC79000-G7076-C233-01Example of Pulse Width ModulationFigure 9-21 shows an example

Pagina 157

Installing an S7-200 PLC2-8S7-200 Programmable Controller System ManualC79000-G7076-C233-01Removing the S7-200 Micro PLC or Expansion Module !WarningA

Pagina 158

SIMATIC Instructions9-64S7-200 Programmable Controller System ManualC79000-G7076-C233-01FBDNetwork 1SM0.1Q0.1Network 21M0.0MAIN OB1SBR0ENSUBROUTINE 0I

Pagina 159

SIMATIC Instructions9-65S7-200 Programmable Controller System ManualC79000-G7076-C233-01Example of Pulse Train Output Using Single Segment OperationDe

Pagina 160

SIMATIC Instructions9-66S7-200 Programmable Controller System ManualC79000-G7076-C233-01==ISMW68IN1000MOV_WOUT SMW68ENQ0PLSENSMW68IN500MOV_WOUT SMW68E

Pagina 161

SIMATIC Instructions9-67S7-200 Programmable Controller System ManualC79000-G7076-C233-01SM0.1IN1RENQ0.X0PLSENIN500MOV_WOUT SMW68ENNetwork 1Network 1FB

Pagina 162

SIMATIC Instructions9-68S7-200 Programmable Controller System ManualC79000-G7076-C233-01Example of Pulse Train Output Using Multiple Segment Operation

Pagina 163 - 7.8 Network Performance

SIMATIC Instructions9-69S7-200 Programmable Controller System ManualC79000-G7076-C233-01INMOV_DOUTVD521ENIN100MOV_WOUTENVD513INT2ATCHENEVNT19PLSENQO.X

Pagina 164 - Token Rotation

SIMATIC Instructions9-70S7-200 Programmable Controller System ManualC79000-G7076-C233-019.7 SIMATIC Clock InstructionsRead Real-Time Clock, Set Real-T

Pagina 165 - Sending Messages

SIMATIC Instructions9-71S7-200 Programmable Controller System ManualC79000-G7076-C233-01The time-of-day clock initializes the following date and time

Pagina 166 - Token Rotation Time

SIMATIC Instructions9-72S7-200 Programmable Controller System ManualC79000-G7076-C233-019.8 SIMATIC Integer Math InstructionsAdd Integer and Subtract

Pagina 167 - Token Rotation Comparison

SIMATIC Instructions9-73S7-200 Programmable Controller System ManualC79000-G7076-C233-01Add Double Integer and Subtract Double IntegerThe Add Double I

Pagina 168

Installing an S7-200 PLC2-9S7-200 Programmable Controller System ManualC79000-G7076-C233-012.3 Installing the Field Wiring!WarningAttempts to install

Pagina 169

SIMATIC Instructions9-74S7-200 Programmable Controller System ManualC79000-G7076-C233-01Multiply Integer and Divide IntegerThe Multiply Integer instru

Pagina 170 - Programming

SIMATIC Instructions9-75S7-200 Programmable Controller System ManualC79000-G7076-C233-01Multiply Double Integer and Divide Double IntegerThe Multiply

Pagina 171 - is the title

SIMATIC Instructions9-76S7-200 Programmable Controller System ManualC79000-G7076-C233-01Multiply Integer To Double Integer and Divide Integer to Doubl

Pagina 172

SIMATIC Instructions9-77S7-200 Programmable Controller System ManualC79000-G7076-C233-01Math ExamplesNETWORK 1LD I0.0+I AC1, AC0MUL AC1, VD100DIV VW10

Pagina 173

SIMATIC Instructions9-78S7-200 Programmable Controller System ManualC79000-G7076-C233-01Increment Byte and Decrement ByteThe Increment Byte and Decrem

Pagina 174

SIMATIC Instructions9-79S7-200 Programmable Controller System ManualC79000-G7076-C233-01 Increment Double Word and Decrement Double WordThe Increment

Pagina 175 - on-delay 100 ms

SIMATIC Instructions9-80S7-200 Programmable Controller System ManualC79000-G7076-C233-01Increment, Decrement ExampleLAD STLLD I4.0INCW AC0DECD VD100IN

Pagina 176

SIMATIC Instructions9-81S7-200 Programmable Controller System ManualC79000-G7076-C233-019.9 SIMATIC Real Math InstructionsAdd Real, Subtract RealThe A

Pagina 177 - SIMATIC Instructions

SIMATIC Instructions9-82S7-200 Programmable Controller System ManualC79000-G7076-C233-01Multiply Real, Divide RealThe Multiply Real instruction multip

Pagina 178 - Standard Contacts

SIMATIC Instructions9-83S7-200 Programmable Controller System ManualC79000-G7076-C233-01Math ExamplesNETWORK 1LD I0.0+R AC1, AC0*R AC1, VD100/R VD10,

Pagina 179 - Immediate Contacts

Installing an S7-200 PLC2-10S7-200 Programmable Controller System ManualC79000-G7076-C233-01!WarningControl devices can fail in an unsafe condition, r

Pagina 180 - Positive, Negative Transition

SIMATIC Instructions9-84S7-200 Programmable Controller System ManualC79000-G7076-C233-01PID Loop The PID Loop instruction executes a PID loopcalculati

Pagina 181 - Contact Examples

SIMATIC Instructions9-85S7-200 Programmable Controller System ManualC79000-G7076-C233-01PID AlgorithmIn steady state operation, a PID controller regul

Pagina 182 - Output Immediate

SIMATIC Instructions9-86S7-200 Programmable Controller System ManualC79000-G7076-C233-01Since the digital computer must calculate the output value eac

Pagina 183 - Set, Reset (N Bits)

SIMATIC Instructions9-87S7-200 Programmable Controller System ManualC79000-G7076-C233-01Proportional TermThe proportional term MP is the product of th

Pagina 184 - No Operation

SIMATIC Instructions9-88S7-200 Programmable Controller System ManualC79000-G7076-C233-01Differential TermThe differential term MD is proportional to t

Pagina 185 - Output Examples

SIMATIC Instructions9-89S7-200 Programmable Controller System ManualC79000-G7076-C233-01Converting and Normalizing the Loop InputsA loop has two input

Pagina 186 - Compare Byte

SIMATIC Instructions9-90S7-200 Programmable Controller System ManualC79000-G7076-C233-01Converting the Loop Output to a Scaled Integer ValueThe loop o

Pagina 187 - Compare Integer

SIMATIC Instructions9-91S7-200 Programmable Controller System ManualC79000-G7076-C233-01Variables and RangesThe process variable and setpoint are inpu

Pagina 188 - Compare Double Word

SIMATIC Instructions9-92S7-200 Programmable Controller System ManualC79000-G7076-C233-01ModesThere is no built-in mode control for S7-200 PID loops. T

Pagina 189 - Compare Real

SIMATIC Instructions9-93S7-200 Programmable Controller System ManualC79000-G7076-C233-01Error ConditionsWhen it is time to compile, the CPU will gener

Pagina 190 - Comparison Contact Examples

Installing an S7-200 PLC2-11S7-200 Programmable Controller System ManualC79000-G7076-C233-01The following descriptions are an introduction to general

Pagina 191

SIMATIC Instructions9-94S7-200 Programmable Controller System ManualC79000-G7076-C233-01PID Program ExampleIn this example, a water tank is used to ma

Pagina 192

SIMATIC Instructions9-95S7-200 Programmable Controller System ManualC79000-G7076-C233-01LAD STLNetwork 1LD SM0.1 //On the first scan call CALL 0 //th

Pagina 193

SIMATIC Instructions9-96S7-200 Programmable Controller System ManualC79000-G7076-C233-01LAD STLNETWORK 1//Convert PV to a //normalized real//number va

Pagina 194 - 100-Millisecond Resolution

SIMATIC Instructions9-97S7-200 Programmable Controller System ManualC79000-G7076-C233-01FBDMAIN OB1SUBROUTINE 0Network 1SBR0ENSM0.1MOV_RENIN OUT0.75EN

Pagina 195

SIMATIC Instructions9-98S7-200 Programmable Controller System ManualC79000-G7076-C233-01Square RootThe Square Root instruction takes the square root o

Pagina 196 - On-Delay Timer Example

SIMATIC Instructions9-99S7-200 Programmable Controller System ManualC79000-G7076-C233-019.10 SIMATIC Move InstructionsMove Byte, Move Word, Move Doubl

Pagina 197

SIMATIC Instructions9-100S7-200 Programmable Controller System ManualC79000-G7076-C233-01Block Move Byte, Block Move Word, Block Move Double WordThe B

Pagina 198 - Off-Delay Timer Example

SIMATIC Instructions9-101S7-200 Programmable Controller System ManualC79000-G7076-C233-01Block Move ExampleVB100LAD STLI2.1BLKMOV_BENNINVB204OUTLD I2.

Pagina 199

SIMATIC Instructions9-102S7-200 Programmable Controller System ManualC79000-G7076-C233-01Swap BytesThe Swap Bytes instruction exchanges the mostsignif

Pagina 200

SIMATIC Instructions9-103S7-200 Programmable Controller System ManualC79000-G7076-C233-01Memory FillThe Memory Fill instruction fills memory starting

Pagina 201 - Counter Examples

Installing an S7-200 PLC2-12S7-200 Programmable Controller System ManualC79000-G7076-C233-01Using the Removable Terminal Block ConnectorThe removable

Pagina 202

SIMATIC Instructions9-104S7-200 Programmable Controller System ManualC79000-G7076-C233-019.11 SIMATIC Table InstructionsAdd to TableThe Add To Table i

Pagina 203

SIMATIC Instructions9-105S7-200 Programmable Controller System ManualC79000-G7076-C233-01Add to Table ExampleLAD STLLD I3.0ATT VW100, VW200I3.0AD_T_TB

Pagina 204 - Using the High-Speed Counter

SIMATIC Instructions9-106S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table FindThe Table Find instruction searches the table (SRC)

Pagina 205

SIMATIC Instructions9-107S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table Find ExampleLAD STLI2.1TBL_FINDENSRCPTNVW20216#3130LD I

Pagina 206

SIMATIC Instructions9-108S7-200 Programmable Controller System ManualC79000-G7076-C233-01First-In-First-OutThe First-In-First-Out instruction removes

Pagina 207

SIMATIC Instructions9-109S7-200 Programmable Controller System ManualC79000-G7076-C233-01Last-In-First-OutThe Last-In-First-Out instruction removes th

Pagina 208

SIMATIC Instructions9-110S7-200 Programmable Controller System ManualC79000-G7076-C233-019.12 SIMATIC Logical Operations InstructionsAnd Byte, Or Byte

Pagina 209

SIMATIC Instructions9-111S7-200 Programmable Controller System ManualC79000-G7076-C233-01And Word, Or Word, Exclusive Or WordThe And Word instruction

Pagina 210

SIMATIC Instructions9-112S7-200 Programmable Controller System ManualC79000-G7076-C233-01And Double Word, Or Double Word, Exclusive Or Double WordThe

Pagina 211

SIMATIC Instructions9-113S7-200 Programmable Controller System ManualC79000-G7076-C233-01And, Or, and Exclusive Or Instructions ExampleLD I4.0ANDW AC1

Pagina 212 - [high-speed counter number]

Installing an S7-200 PLC2-13S7-200 Programmable Controller System ManualC79000-G7076-C233-01Guidelines for AC InstallationThe following items are gene

Pagina 213

SIMATIC Instructions9-114S7-200 Programmable Controller System ManualC79000-G7076-C233-01Invert Byte, Invert Word, Invert Double Word InstructionsThe

Pagina 214 - Control Byte

SIMATIC Instructions9-115S7-200 Programmable Controller System ManualC79000-G7076-C233-01Invert ExampleLAD STLLD I4.0INVW AC0I4.0INV_WENINAC0 OUT AC01

Pagina 215 - Status Byte

SIMATIC Instructions9-116S7-200 Programmable Controller System ManualC79000-G7076-C233-019.13 SIMATIC Shift and Rotate InstructionsShift Right Byte, S

Pagina 216 - HSC Interrupts

SIMATIC Instructions9-117S7-200 Programmable Controller System ManualC79000-G7076-C233-01Shift Right Word, Shift Left WordThe Shift Right Word and Shi

Pagina 217

SIMATIC Instructions9-118S7-200 Programmable Controller System ManualC79000-G7076-C233-01Shift Right Double Word, Shift Left Double Word The Shift Rig

Pagina 218

SIMATIC Instructions9-119S7-200 Programmable Controller System ManualC79000-G7076-C233-01Rotate Right Byte, Rotate Left Byte The Rotate Right Byte and

Pagina 219

SIMATIC Instructions9-120S7-200 Programmable Controller System ManualC79000-G7076-C233-01Rotate Right Word, Rotate Left WordThe Rotate Right Word and

Pagina 220

SIMATIC Instructions9-121S7-200 Programmable Controller System ManualC79000-G7076-C233-01Rotate Right Double Word, Rotate Left Double WordThe Rotate R

Pagina 221

SIMATIC Instructions9-122S7-200 Programmable Controller System ManualC79000-G7076-C233-01Shift and Rotate ExamplesLAD STLLD I4.0RRW AC0, 2SLW VW200, 3

Pagina 222

SIMATIC Instructions9-123S7-200 Programmable Controller System ManualC79000-G7076-C233-01Shift Register BitThe Shift Register Bit (SHRB) instruction s

Pagina 223 - High-Speed Counter Example

iiiS7-200 Programmable Controller System ManualC79000-G7076-C233-01Important NotesPurposeThe S7-200 series is a line of micro-programmable logic contr

Pagina 224

Installing an S7-200 PLC2-14S7-200 Programmable Controller System ManualC79000-G7076-C233-01Guidelines for DC InstallationThe following items are gene

Pagina 225 - Pulse Output

SIMATIC Instructions9-124S7-200 Programmable Controller System ManualC79000-G7076-C233-01Understanding the Shift Register Bit InstructionThe Shift Reg

Pagina 226 - PWM Operation

SIMATIC Instructions9-125S7-200 Programmable Controller System ManualC79000-G7076-C233-01Shift Register Bit ExampleLAD STLLD I0.2EUSHRB I0.3, V100.0,

Pagina 227 - PTO Operation

SIMATIC Instructions9-126S7-200 Programmable Controller System ManualC79000-G7076-C233-019.14 SIMATIC Conversion InstructionsBCD to Integer, Integer t

Pagina 228

SIMATIC Instructions9-127S7-200 Programmable Controller System ManualC79000-G7076-C233-01Round The Round instruction converts the real value (IN) to a

Pagina 229

SIMATIC Instructions9-128S7-200 Programmable Controller System ManualC79000-G7076-C233-01Double Integer to IntegerThe Double Integer to Integer instru

Pagina 230

SIMATIC Instructions9-129S7-200 Programmable Controller System ManualC79000-G7076-C233-01Byte to IntegerThe Byte to Integer instruction converts the b

Pagina 231

SIMATIC Instructions9-130S7-200 Programmable Controller System ManualC79000-G7076-C233-01Convert ExampleLAD STLNetwork 1LD I0.0ITD C10, AC1DTR AC1, VD

Pagina 232 - PTO/PWM Control Registers

SIMATIC Instructions9-131S7-200 Programmable Controller System ManualC79000-G7076-C233-01DecodeThe Decode instruction sets the bit in the output word(

Pagina 233

SIMATIC Instructions9-132S7-200 Programmable Controller System ManualC79000-G7076-C233-01Decode, Encode Examples 3VW40DECOIN OUTAC2LAD STLLD

Pagina 234

SIMATIC Instructions9-133S7-200 Programmable Controller System ManualC79000-G7076-C233-01SegmentThe Segment instruction uses the character specified b

Pagina 235 - PWM Initialization

Installing an S7-200 PLC2-15S7-200 Programmable Controller System ManualC79000-G7076-C233-01L1NPE[a]DODIPSS7-200DC/DC/DCDOEM 222DCDIEM 221DC[e][g][b][

Pagina 236

SIMATIC Instructions9-134S7-200 Programmable Controller System ManualC79000-G7076-C233-01Segment Example6DAC1SEGIN OUTVB48LAD STLLD I3.3SEG VB48, AC1I

Pagina 237

SIMATIC Instructions9-135S7-200 Programmable Controller System ManualC79000-G7076-C233-01ASCII to HEX, HEX to ASCIIThe ASCII to HEX instruction conver

Pagina 238

SIMATIC Instructions9-136S7-200 Programmable Controller System ManualC79000-G7076-C233-01Integer to ASCIIThe Integer to ASCII instruction converts an

Pagina 239

SIMATIC Instructions9-137S7-200 Programmable Controller System ManualC79000-G7076-C233-01The format operand (FMT) for the ITA (Integer to ASCII) instr

Pagina 240

SIMATIC Instructions9-138S7-200 Programmable Controller System ManualC79000-G7076-C233-01Double Integer to ASCIIThe Double Integer to ASCII instructio

Pagina 241

SIMATIC Instructions9-139S7-200 Programmable Controller System ManualC79000-G7076-C233-01Figure 9-49 gives examples of values that are formatted using

Pagina 242

SIMATIC Instructions9-140S7-200 Programmable Controller System ManualC79000-G7076-C233-01The format operand (FMT) for the RTA instruction is defined i

Pagina 243

SIMATIC Instructions9-141S7-200 Programmable Controller System ManualC79000-G7076-C233-019.15 SIMATIC Program Control InstructionsEndThe Conditional E

Pagina 244

SIMATIC Instructions9-142S7-200 Programmable Controller System ManualC79000-G7076-C233-01Watchdog ResetThe Watchdog Reset instruction allows the CPU s

Pagina 245

SIMATIC Instructions9-143S7-200 Programmable Controller System ManualC79000-G7076-C233-01Stop, End, and WDR ExampleSM5.0...M5.6...When an I/O error is

Pagina 246

Installing an S7-200 PLC2-16S7-200 Programmable Controller System ManualC79000-G7076-C233-012.4 Using Suppression CircuitsGeneral GuidelinesEquip indu

Pagina 247

SIMATIC Instructions9-144S7-200 Programmable Controller System ManualC79000-G7076-C233-01Jump to Label, LabelThe Jump to Label instruction performs a

Pagina 248

SIMATIC Instructions9-145S7-200 Programmable Controller System ManualC79000-G7076-C233-01Subroutine, Return from SubroutineThe Call Subroutine instruc

Pagina 249

SIMATIC Instructions9-146S7-200 Programmable Controller System ManualC79000-G7076-C233-01Calling a Subroutine With ParametersSubroutines may contain p

Pagina 250

SIMATIC Instructions9-147S7-200 Programmable Controller System ManualC79000-G7076-C233-01The data type field in the local variable table defines the s

Pagina 251

SIMATIC Instructions9-148S7-200 Programmable Controller System ManualC79000-G7076-C233-01The data element size and type are represented in the coding

Pagina 252

SIMATIC Instructions9-149S7-200 Programmable Controller System ManualC79000-G7076-C233-01Subroutine, and Return from Subroutine ExampleSM0.1...On the

Pagina 253 - Math Examples

SIMATIC Instructions9-150S7-200 Programmable Controller System ManualC79000-G7076-C233-01For, NextThe FOR instruction executes the instructions betwee

Pagina 254

SIMATIC Instructions9-151S7-200 Programmable Controller System ManualC79000-G7076-C233-01Here are some guidelines for using the FOR/NEXT loop: If you

Pagina 255

SIMATIC Instructions9-152S7-200 Programmable Controller System ManualC79000-G7076-C233-01For/Next ExampleI2.0FORENINDXINITVW1001FINAL 100I2.1FORENINDX

Pagina 256 - Increment, Decrement Example

SIMATIC Instructions9-153S7-200 Programmable Controller System ManualC79000-G7076-C233-01Sequence Control RelayThe Load Sequence Control Relay instruc

Pagina 257 - Add Real, Subtract Real

Installing an S7-200 PLC2-17S7-200 Programmable Controller System ManualC79000-G7076-C233-01Protecting Relays That Control DC PowerResistor/capacitor

Pagina 258 - Multiply Real, Divide Real

SIMATIC Instructions9-154S7-200 Programmable Controller System ManualC79000-G7076-C233-01BEFORELSCRLoad the value of Sx.y onto the SCR and logic stack

Pagina 259

SIMATIC Instructions9-155S7-200 Programmable Controller System ManualC79000-G7076-C233-01SCR ExampleFigure 9-58 shows an example of the operation of S

Pagina 260 - PID Loop

SIMATIC Instructions9-156S7-200 Programmable Controller System ManualC79000-G7076-C233-01SCRTSCRS0.3S0.2SCRESQ0.2LAD STLNetwork 6LSCR S0.2Network 7Net

Pagina 261 - PID Algorithm

SIMATIC Instructions9-157S7-200 Programmable Controller System ManualC79000-G7076-C233-01FBDBeginning of State 2control regionTurn on the green lighto

Pagina 262

SIMATIC Instructions9-158S7-200 Programmable Controller System ManualC79000-G7076-C233-01The divergence of control streams can be implemented in an SC

Pagina 263 - Integral Term

SIMATIC Instructions9-159S7-200 Programmable Controller System ManualC79000-G7076-C233-01Convergence ControlA similar situation arises when two or mor

Pagina 264 - Selection of Loop Control

SIMATIC Instructions9-160S7-200 Programmable Controller System ManualC79000-G7076-C233-01The convergence of control streams can be implemented in an S

Pagina 265

SIMATIC Instructions9-161S7-200 Programmable Controller System ManualC79000-G7076-C233-01S3.4FBDNetworkBeginning of State Lcontrol region.Enable State

Pagina 266

SIMATIC Instructions9-162S7-200 Programmable Controller System ManualC79000-G7076-C233-01In other situations, a control stream may be directed into on

Pagina 267 - Variables and Ranges

SIMATIC Instructions9-163S7-200 Programmable Controller System ManualC79000-G7076-C233-01NetworkNetworkBeginning of State Lcontrol region.Transition t

Pagina 268

Installing an S7-200 PLC2-18S7-200 Programmable Controller System ManualC79000-G7076-C233-012.5 Power ConsiderationsThe S7-200 base units have an inte

Pagina 269 - Loop Table

SIMATIC Instructions9-164S7-200 Programmable Controller System ManualC79000-G7076-C233-01ENOENO is a Boolean output for boxes in LAD and FBD. If abox

Pagina 270 - PID Program Example

SIMATIC Instructions9-165S7-200 Programmable Controller System ManualC79000-G7076-C233-019.16 SIMATIC Interrupt and Communications InstructionsAttach

Pagina 271

SIMATIC Instructions9-166S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table 9-20 Interrupt EventsEvent NumberInterrupt Description

Pagina 272

SIMATIC Instructions9-167S7-200 Programmable Controller System ManualC79000-G7076-C233-01Return from Interrupt The Conditional Return from Interrupt i

Pagina 273

SIMATIC Instructions9-168S7-200 Programmable Controller System ManualC79000-G7076-C233-01Calling Subroutine From Interrupt RoutinesYou can call one ne

Pagina 274 - Square Root

SIMATIC Instructions9-169S7-200 Programmable Controller System ManualC79000-G7076-C233-01Enable Interrupt, Disable InterruptThe Enable Interrupt instr

Pagina 275

SIMATIC Instructions9-170S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table 9-21 Rising/Falling Edge Interrupts SupportedI/O Interr

Pagina 276

SIMATIC Instructions9-171S7-200 Programmable Controller System ManualC79000-G7076-C233-01Time-Based InterruptsTime-based interrupts include timed inte

Pagina 277 - Block Move Example

SIMATIC Instructions9-172S7-200 Programmable Controller System ManualC79000-G7076-C233-01Understanding the Interrupt Priority and QueuingInterrupts ar

Pagina 278 - Move and Swap Examples

SIMATIC Instructions9-173S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table 9-24 shows the interrupt event, priority, and assigned

Pagina 279 - Fill Example

Installing an S7-200 PLC2-19S7-200 Programmable Controller System ManualC79000-G7076-C233-01Calculating a Sample Power RequirementTable 2-1 shows a sa

Pagina 280 - Add to Table

SIMATIC Instructions9-174S7-200 Programmable Controller System ManualC79000-G7076-C233-01Interrupt ExamplesFigure 9-65 shows an example of the Interru

Pagina 281 - Add to Table Example

SIMATIC Instructions9-175S7-200 Programmable Controller System ManualC79000-G7076-C233-01Figure 9-66 shows how to set up a timed interrupt to read the

Pagina 282 - Table Find

SIMATIC Instructions9-176S7-200 Programmable Controller System ManualC79000-G7076-C233-01Network Read, Network WriteThe Network Read instruction initi

Pagina 283 - Table Find Example

SIMATIC Instructions9-177S7-200 Programmable Controller System ManualC79000-G7076-C233-01Remote station addressPointer to the dataarea in theremote st

Pagina 284 - First-In-First-Out Example

SIMATIC Instructions9-178S7-200 Programmable Controller System ManualC79000-G7076-C233-01Example of Network Read and Network WriteFigure 9-68 shows an

Pagina 285 - Last-In-First-Out Example

SIMATIC Instructions9-179S7-200 Programmable Controller System ManualC79000-G7076-C233-01The receive and transmit buffers for accessing the data in st

Pagina 286

SIMATIC Instructions9-180S7-200 Programmable Controller System ManualC79000-G7076-C233-01Network 1LD SM0.1MOVB 2, SMB30FILL 0, VW200, 68Network 2LD V

Pagina 287

SIMATIC Instructions9-181S7-200 Programmable Controller System ManualC79000-G7076-C233-01IN2MOV_BOUT VB301ENIN2MOV_BOUT VB306ENIN0MOV_WOUT VW307ENTBLN

Pagina 288

SIMATIC Instructions9-182S7-200 Programmable Controller System ManualC79000-G7076-C233-01Transmit, ReceiveThe Transmit instruction invokes the transmi

Pagina 289

SIMATIC Instructions9-183S7-200 Programmable Controller System ManualC79000-G7076-C233-01Understanding Freeport Mode You can select the Freeport mode

Pagina 290

Installing an S7-200 PLC2-20S7-200 Programmable Controller System ManualC79000-G7076-C233-01Calculating Your Power RequirementUse the table below to d

Pagina 291 - Invert Example

SIMATIC Instructions9-184S7-200 Programmable Controller System ManualC79000-G7076-C233-01Freeport InitializationSMB30 and SMB130 configure the communi

Pagina 292 - shifted

SIMATIC Instructions9-185S7-200 Programmable Controller System ManualC79000-G7076-C233-01The XMT instruction can be used to generate a BREAK condition

Pagina 293

SIMATIC Instructions9-186S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table 9-26 Special Memory Bytes SMB86 to SMB94, and SMB186 to

Pagina 294

SIMATIC Instructions9-187S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table 9-26 Special Memory Bytes SMB86 to SMB94, and SMB186 to

Pagina 295

SIMATIC Instructions9-188S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table 9-26 Special Memory Bytes SMB86 to SMB94, and SMB186 to

Pagina 296

SIMATIC Instructions9-189S7-200 Programmable Controller System ManualC79000-G7076-C233-01Receive and Transmit ExampleThis sample program shows the use

Pagina 297

SIMATIC Instructions9-190S7-200 Programmable Controller System ManualC79000-G7076-C233-01Receive complete interrupt.If receive complete forany other r

Pagina 298 - Shift and Rotate Examples

SIMATIC Instructions9-191S7-200 Programmable Controller System ManualC79000-G7076-C233-01INSM0.116#9MOV_BENIN OUTENORCVTBLPORTVB1000ENNetwork 1FBDMOV_

Pagina 299 - Shift Register Bit

SIMATIC Instructions9-192S7-200 Programmable Controller System ManualC79000-G7076-C233-019.17 SIMATIC Logic Stack InstructionsAnd LoadThe And Load ins

Pagina 300

SIMATIC Instructions9-193S7-200 Programmable Controller System ManualC79000-G7076-C233-01Logic PopThe Logic Pop instruction pops one value off of thes

Pagina 301 - Shift Register Bit Example

3-1S7-200 Programmable Controller System ManualC79000-G7076-C233-01Getting Started with an S7-200Programming SystemThis chapter describes how to set u

Pagina 302 - Double Integer to Real

SIMATIC Instructions9-194S7-200 Programmable Controller System ManualC79000-G7076-C233-01Figure 9-76 illustrates the operation of the Logic Push, Logi

Pagina 303 - Truncate

SIMATIC Instructions9-195S7-200 Programmable Controller System ManualC79000-G7076-C233-01LAD STLNETWORK 1LD I0.0LD I0.1LD I2.0A I2.1OLDALD= Q5.0I0.0 I

Pagina 304 - Integer to Double Integer

SIMATIC Instructions9-196S7-200 Programmable Controller System ManualC79000-G7076-C233-01

Pagina 305 - Integer to Byte

10-1S7-200 Programmable Controller System ManualC79000-G7076-C233-01IEC 1131-3 InstructionsThis chapter describes the standard IEC 1131-3 instructions

Pagina 306 - Convert Example

IEC 1131-3 Instructions10-2S7-200 Programmable Controller System ManualC79000-G7076-C233-0110.1 IEC Bit LogicTable 10-1 gives page references for the

Pagina 307

IEC 1131-3 Instructions10-3S7-200 Programmable Controller System ManualC79000-G7076-C233-01Positive, Negative TransitionThe Positive Transition contac

Pagina 308 - Decode, Encode Examples

IEC 1131-3 Instructions10-4S7-200 Programmable Controller System ManualC79000-G7076-C233-01Output When the Output is executed, the output is turned on

Pagina 309

IEC 1131-3 Instructions10-5S7-200 Programmable Controller System ManualC79000-G7076-C233-01Output ExamplesNetwork 1%Q0.0LAD%I0.0S%Q0.1R%Q0.2Timing Dia

Pagina 310 - Segment Example

IEC 1131-3 Instructions10-6S7-200 Programmable Controller System ManualC79000-G7076-C233-01Set Dominant BistableThe Set Dominant Bistable is a latch w

Pagina 311 - ASCII to HEX Example

IEC 1131-3 Instructions10-7S7-200 Programmable Controller System ManualC79000-G7076-C233-0110.2 IEC Compare InstructionsThere are no non-standard IEC

Pagina 312 - Integer to ASCII

Getting Started with an S7-200 Programming System3-2S7-200 Programmable Controller System ManualC79000-G7076-C233-013.1 OverviewGeneral InformationYou

Pagina 313

IEC 1131-3 Instructions10-8S7-200 Programmable Controller System ManualC79000-G7076-C233-01Compare Not EqualThe Compare Not Equal function compares IN

Pagina 314 - Double Integer to ASCII

IEC 1131-3 Instructions10-9S7-200 Programmable Controller System ManualC79000-G7076-C233-01Compare Less Than or EqualThe Compare Less Than or Equal fu

Pagina 315 - Real to ASCII

IEC 1131-3 Instructions10-10S7-200 Programmable Controller System ManualC79000-G7076-C233-01Compare Greater Than or EqualThe Compare Greater Than or E

Pagina 316

IEC 1131-3 Instructions10-11S7-200 Programmable Controller System ManualC79000-G7076-C233-0110.3 IEC Timer InstructionsTable 10-2 gives page reference

Pagina 317

IEC 1131-3 Instructions10-12S7-200 Programmable Controller System ManualC79000-G7076-C233-01Off-Delay TimerThe Off-Delay Timer function block is used

Pagina 318 - Watchdog Reset

IEC 1131-3 Instructions10-13S7-200 Programmable Controller System ManualC79000-G7076-C233-01Understanding the IEC 1131-3 Timer InstructionsTON, TOF an

Pagina 319 - Stop, End, and WDR Example

IEC 1131-3 Instructions10-14S7-200 Programmable Controller System ManualC79000-G7076-C233-01Off-Delay Timer ExampleLADInputTiming DiagramPT3INTOFT33FB

Pagina 320 - Jump to Label Example

IEC 1131-3 Instructions10-15S7-200 Programmable Controller System ManualC79000-G7076-C233-0110.4 IEC Counter InstructionsTable 10-4 gives page referen

Pagina 321

IEC 1131-3 Instructions10-16S7-200 Programmable Controller System ManualC79000-G7076-C233-01Down CounterThe Down Counter function block counts down fr

Pagina 322

IEC 1131-3 Instructions10-17S7-200 Programmable Controller System ManualC79000-G7076-C233-01Up/Down CounterThe Up/Down Counter function block counts u

Pagina 323

Getting Started with an S7-200 Programming System3-3S7-200 Programmable Controller System ManualC79000-G7076-C233-013.2 Quick Start for STEP 7-Micro/W

Pagina 324

IEC 1131-3 Instructions10-18S7-200 Programmable Controller System ManualC79000-G7076-C233-01Counter ExampleI4.0CU-UpTiming DiagramLAD FBDI3.0CD-Down%I

Pagina 325

IEC 1131-3 Instructions10-19S7-200 Programmable Controller System ManualC79000-G7076-C233-0110.5 IEC Math InstructionsTable 10-6 gives page references

Pagina 326 - For, Next

IEC 1131-3 Instructions10-20S7-200 Programmable Controller System ManualC79000-G7076-C233-01Multiply, DivideThe Multiply function multiplies IN1 and I

Pagina 327

IEC 1131-3 Instructions10-21S7-200 Programmable Controller System ManualC79000-G7076-C233-01Math ExamplesNetwork 1LADFBD%I0.0ApplicationOUTADDENIN1 OU

Pagina 328 - For/Next Example

IEC 1131-3 Instructions10-22S7-200 Programmable Controller System ManualC79000-G7076-C233-01Square Root The Square Root function takes the square root

Pagina 329 - Sequence Control Relay

IEC 1131-3 Instructions10-23S7-200 Programmable Controller System ManualC79000-G7076-C233-01Increment, Decrement ExampleLADINCENINAC0 OUT AC0DECENINVD

Pagina 330 - Restrictions

IEC 1131-3 Instructions10-24S7-200 Programmable Controller System ManualC79000-G7076-C233-0110.6 IEC Move InstructionsTable 10-7 gives page references

Pagina 331 - SCR Example

IEC 1131-3 Instructions10-25S7-200 Programmable Controller System ManualC79000-G7076-C233-01Block MoveThe Block Move function moves the N number of wo

Pagina 332

IEC 1131-3 Instructions10-26S7-200 Programmable Controller System ManualC79000-G7076-C233-0110.7 IEC Logic InstructionsThere are no non-standard IEC L

Pagina 333 - Divergence Control

IEC 1131-3 Instructions10-27S7-200 Programmable Controller System ManualC79000-G7076-C233-01And, Or, and Exclusive Or Example%I4.0ANDENIN1IN2%AC1OUT%V

Pagina 334

Important NotesivS7-200 Programmable Controller System ManualC79000-G7076-C233-01Scope of the ManualThe information contained in this manual pertains

Pagina 335 - Convergence Control

Getting Started with an S7-200 Programming System3-4S7-200 Programmable Controller System ManualC79000-G7076-C233-01"Project Edit View PLC Debug

Pagina 336

IEC 1131-3 Instructions10-28S7-200 Programmable Controller System ManualC79000-G7076-C233-01NotThe Not function inverts the corresponding bits of IN a

Pagina 337

IEC 1131-3 Instructions10-29S7-200 Programmable Controller System ManualC79000-G7076-C233-0110.8 IEC Shift and Rotate InstructionsTable 10-8 gives pag

Pagina 338

IEC 1131-3 Instructions10-30S7-200 Programmable Controller System ManualC79000-G7076-C233-01Logical Rotate Right, Logical Rotate LeftThe Rotate Right

Pagina 339

IEC 1131-3 Instructions10-31S7-200 Programmable Controller System ManualC79000-G7076-C233-01Shift and Rotate ExamplesLAD FBD%I4.0RORENINN2OUT %VW100SH

Pagina 340

IEC 1131-3 Instructions10-32S7-200 Programmable Controller System ManualC79000-G7076-C233-0110.9 IEC Conversion InstructionsTable 10-9 gives page refe

Pagina 341

IEC 1131-3 Instructions10-33S7-200 Programmable Controller System ManualC79000-G7076-C233-01Binary Coded Decimal to Integer, Integer to BCDThe BCD to

Pagina 342

IEC 1131-3 Instructions10-34S7-200 Programmable Controller System ManualC79000-G7076-C233-01Real To Double IntegerThe Real To Double Integer function

Pagina 343 - System Support for Interrupt

IEC 1131-3 Instructions10-35S7-200 Programmable Controller System ManualC79000-G7076-C233-01Integer to Double IntegerThe Integer to Double Integer fun

Pagina 344

IEC 1131-3 Instructions10-36S7-200 Programmable Controller System ManualC79000-G7076-C233-01Integer to Byte The Integer to Byte function converts the

Pagina 345 - I/O Interrupts

IEC 1131-3 Instructions10-37S7-200 Programmable Controller System ManualC79000-G7076-C233-01FBDApplication101VD0VW20101.0VD4 2.54VD8 256.54V12 257Coun

Pagina 346

Getting Started with an S7-200 Programming System3-5S7-200 Programmable Controller System ManualC79000-G7076-C233-013.3 How Do I Set Up Communications

Pagina 347 - Time-Based Interrupts

IEC 1131-3 Instructions10-38S7-200 Programmable Controller System ManualC79000-G7076-C233-01

Pagina 348

A-1S7-200 Programmable Controller System ManualC79000-G7076-C233-01S7-200 SpecificationsChapter OverviewSection Description PageA.1 General Technical

Pagina 349

S7-200 SpecificationsA-2S7-200 Programmable Controller System ManualC79000-G7076-C233-01A.1 General Technical SpecificationsNational and International

Pagina 350 - Interrupt Examples

S7-200 SpecificationsA-3S7-200 Programmable Controller System ManualC79000-G7076-C233-01Technical SpecificationsThe S7-200 CPUs and all S7-200 expansi

Pagina 351

S7-200 SpecificationsA-4S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table A-1 Technical Specifications for the S7-200 Family Elec

Pagina 352 - Network Read, Network Write

S7-200 SpecificationsA-5S7-200 Programmable Controller System ManualC79000-G7076-C233-01Relay Electrical Service LifeFigure A-1 shows typical performa

Pagina 353

S7-200 SpecificationsA-6S7-200 Programmable Controller System ManualC79000-G7076-C233-01A.2 Specifications for the CPU 221Table A-2 Specifications for

Pagina 354

S7-200 SpecificationsA-7S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table A-2 Specifications for CPU 221 DC/DC/DC and CPU 221 AC/D

Pagina 355

S7-200 SpecificationsA-8S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table A-2 Specifications for CPU 221 DC/DC/DC and CPU 221 AC/D

Pagina 356

S7-200 SpecificationsA-9S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table A-2 Specifications for CPU 221 DC/DC/DC and CPU 221 AC/D

Pagina 357

Getting Started with an S7-200 Programming System3-6S7-200 Programmable Controller System ManualC79000-G7076-C233-01How Do I Verify the Default Parame

Pagina 358 - Transmit, Receive

S7-200 SpecificationsA-10S7-200 Programmable Controller System ManualC79000-G7076-C233-01++++5.6K Ω1K Ω24 VDCPower SupplyInputNote:1. Actual component

Pagina 359 - Understanding Freeport Mode

S7-200 SpecificationsA-11S7-200 Programmable Controller System ManualC79000-G7076-C233-01A.3 Specifications for the CPU 222Table A-3 Specifications fo

Pagina 360 - Freeport Initialization

S7-200 SpecificationsA-12S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table A-3 Specifications for CPU 222 DC/DC/DC and CPU 222 AC/

Pagina 361

S7-200 SpecificationsA-13S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table A-3 Specifications for CPU 222 DC/DC/DC and CPU 222 AC/

Pagina 362

S7-200 SpecificationsA-14S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table A-3 Specifications for CPU 222 DC/DC/DC and CPU 222 AC/

Pagina 363

S7-200 SpecificationsA-15S7-200 Programmable Controller System ManualC79000-G7076-C233-011K ΩNote:1. Actual component values may vary.2. Either polari

Pagina 364

S7-200 SpecificationsA-16S7-200 Programmable Controller System ManualC79000-G7076-C233-01A.4 Specifications for the CPU 224Table A-4 Specifications fo

Pagina 365 - Receive and Transmit Example

S7-200 SpecificationsA-17S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table A-4 Specifications for CPU 224 DC/DC/DC and CPU 224 AC/

Pagina 366

S7-200 SpecificationsA-18S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table A-4 Specifications for CPU 224 DC/DC/DC and CPU 224 AC/

Pagina 367

S7-200 SpecificationsA-19S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table A-4 Specifications for CPU 224 DC/DC/DC and CPU 224 AC/

Pagina 368 - Logic Read

Getting Started with an S7-200 Programming System3-7S7-200 Programmable Controller System ManualC79000-G7076-C233-01Mode PC/PPI cable (COM 1)Communica

Pagina 369 - Logic Stack Operations

S7-200 SpecificationsA-20S7-200 Programmable Controller System ManualC79000-G7076-C233-01+1K ΩNote:1. Actual component values may vary.2. Either polar

Pagina 370 - Logic Stack Example

S7-200 SpecificationsA-21S7-200 Programmable Controller System ManualC79000-G7076-C233-01A.5 Specifications for the EM221 Digital Input ModuleTable A-

Pagina 371

S7-200 SpecificationsA-22S7-200 Programmable Controller System ManualC79000-G7076-C233-01+Note: 1. Actual component values may vary.2. Either polarity

Pagina 372

S7-200 SpecificationsA-23S7-200 Programmable Controller System ManualC79000-G7076-C233-01A.6 Specifications for the EM222 Digital Output ModulesTable

Pagina 373 - IEC 1131-3 Instructions

S7-200 SpecificationsA-24S7-200 Programmable Controller System ManualC79000-G7076-C233-01++Note: 1. Actual component values may vary.2. Optional groun

Pagina 374 - 10.1 IEC Bit Logic

S7-200 SpecificationsA-25S7-200 Programmable Controller System ManualC79000-G7076-C233-01A.7 Specifications for the EM223 Digital Combination Modules,

Pagina 375

S7-200 SpecificationsA-26S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table A-7 Specifications for EM223 24 VDC 8 In/8 Out, and EM2

Pagina 376 - Set, Reset

S7-200 SpecificationsA-27S7-200 Programmable Controller System ManualC79000-G7076-C233-01+ +2L+Note: 1. Actual component values may vary.2. Either pol

Pagina 377

S7-200 SpecificationsA-28S7-200 Programmable Controller System ManualC79000-G7076-C233-01A.8 Optional Cartridges Order Number Color Cartridge Functio

Pagina 378 - Reset Dominant Bistable

S7-200 SpecificationsA-29S7-200 Programmable Controller System ManualC79000-G7076-C233-01A.9 I/O Expansion CableOrder Number: 6ES7 290-6AA20-0XA0Gener

Pagina 379 - 10.2 IEC Compare Instructions

Getting Started with an S7-200 Programming System3-8S7-200 Programmable Controller System ManualC79000-G7076-C233-01"CancelHelpOKSetting the PG/P

Pagina 380 - Compare Less Than

S7-200 SpecificationsA-30S7-200 Programmable Controller System ManualC79000-G7076-C233-01A.10 PC/PPI CableOrder Number: 6ES7 901-3BF20-0XA0PC/PPI Cabl

Pagina 381 - Compare Greater Than

S7-200 SpecificationsA-31S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table A-10 Pin-out of PC/PPI CablePinoutSwitch (1 = Up)DCE 0D

Pagina 382 - Compare Greater Than or Equal

S7-200 SpecificationsA-32S7-200 Programmable Controller System ManualC79000-G7076-C233-01

Pagina 383 - 10.3 IEC Timer Instructions

B-1S7-200 Programmable Controller System ManualC79000-G7076-C233-01Error CodesThe information about error codes is provided to help you identify probl

Pagina 384 - Pulse Timer

Error CodesB-2S7-200 Programmable Controller System ManualC79000-G7076-C233-01B.1 Fatal Error Codes and MessagesFatal errors cause the CPU to stop the

Pagina 385

Error CodesB-3S7-200 Programmable Controller System ManualC79000-G7076-C233-01B.2 Run-Time Programming ProblemsYour program can create non-fatal error

Pagina 386 - Pulse Timer Example

Error CodesB-4S7-200 Programmable Controller System ManualC79000-G7076-C233-01B.3 Compile Rule ViolationsWhen you download a program, the CPU compiles

Pagina 387 - 10.4 IEC Counter Instructions

C-1S7-200 Programmable Controller System ManualC79000-G7076-C233-01Special Memory (SM) BitsSpecial memory bits provide a variety of status and control

Pagina 388 - Down Counter

Special Memory (SM) BitsC-2S7-200 Programmable Controller System ManualC79000-G7076-C233-01SMB1: Status BitsAs described in Table C-2, SMB1 contains v

Pagina 389 - Up/Down Counter

Special Memory (SM) BitsC-3S7-200 Programmable Controller System ManualC79000-G7076-C233-01SMB4: Queue OverflowAs described in Table C-5, SMB4 contain

Pagina 390 - Counter Example

Getting Started with an S7-200 Programming System3-9S7-200 Programmable Controller System ManualC79000-G7076-C233-013.4 How Do I Go Online With the S7

Pagina 391 - 10.5 IEC Math Instructions

Special Memory (SM) BitsC-4S7-200 Programmable Controller System ManualC79000-G7076-C233-01SMB6: CPU ID RegisterAs described in Table C-7, SMB6 is the

Pagina 392 - Multiply, Divide

Special Memory (SM) BitsC-5S7-200 Programmable Controller System ManualC79000-G7076-C233-01SMB8 to SMB21: I/O Module ID and Error RegistersSMB8 throug

Pagina 393

Special Memory (SM) BitsC-6S7-200 Programmable Controller System ManualC79000-G7076-C233-01SMW22 to SMW26: Scan TimesAs described in Table C-9, SMW22,

Pagina 394 - Increment, Decrement

Special Memory (SM) BitsC-7S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table C-11 Special Memory Byte SMB30 Port 0Port 1 Descripti

Pagina 395

Special Memory (SM) BitsC-8S7-200 Programmable Controller System ManualC79000-G7076-C233-01As described in Table C-12, SMB31 defines the size of the d

Pagina 396 - 10.6 IEC Move Instructions

Special Memory (SM) BitsC-9S7-200 Programmable Controller System ManualC79000-G7076-C233-01SMB36 to SMB65: HSC0, HSC1, and HSC2 RegisterAs described i

Pagina 397 - Move Examples

Special Memory (SM) BitsC-10S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table C-14 Special Memory Bytes SMB36 to SMB65 SM Byte De

Pagina 398 - 10.7 IEC Logic Instructions

Special Memory (SM) BitsC-11S7-200 Programmable Controller System ManualC79000-G7076-C233-01SMB66 to SMB85: PTO/PWM RegistersAs described in Table C-1

Pagina 399

Special Memory (SM) BitsC-12S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table C-15 Special Memory Bytes SMB66 to SMB85 SM Byte De

Pagina 400

Special Memory (SM) BitsC-13S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table C-16 Special Memory Bytes SMB86 to SMB94, and SMB186

Pagina 401

Getting Started with an S7-200 Programming System3-10S7-200 Programmable Controller System ManualC79000-G7076-C233-013.5 How Do I Change the Communica

Pagina 402

Special Memory (SM) BitsC-14S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table C-16 Special Memory Bytes SMB86 to SMB94, and SMB186

Pagina 403

Special Memory (SM) BitsC-15S7-200 Programmable Controller System ManualC79000-G7076-C233-01SMB131 to SMB165: HSC3, HSC4, and HSC5 RegisterAs describe

Pagina 404

Special Memory (SM) BitsC-16S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table C-18 Special Memory Bytes SMB130 to SMB165 SM Byte

Pagina 405

D-1S7-200 Programmable Controller System ManualC79000-G7076-C233-01S7-200 Troubleshooting GuideTable D-1 S7-200 Troubleshooting Guide ProblemPossible

Pagina 406 - Real To Double Integer

S7-200 Troubleshooting GuideD-2S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table D-1 S7-200 Troubleshooting Guide Problem Solutio

Pagina 407 - Byte To Integer

E-1S7-200 Programmable Controller System ManualC79000-G7076-C233-01S7-200 Order NumbersCPUs Order NumberCPU 221 DC/DC/DC 6 Inputs/4 Outpu

Pagina 408 - Conversion Example

S7-200 Order NumbersE-2S7-200 Programmable Controller System ManualC79000-G7076-C233-01Manuals Order NumberTD 200 Operator Interface User Manual 6ES7

Pagina 409

F-1S7-200 Programmable Controller System ManualC79000-G7076-C233-01Execution Times for STL InstructionsEffect of Power Flow on Execution TimesThe calc

Pagina 410

Execution Times for STL InstructionsF-2S7-200 Programmable Controller System ManualC79000-G7076-C233-01Execution TimesAccessing certain memory areas,

Pagina 411 - S7-200 Specifications

Execution Times for STL InstructionsF-3S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table F-4 Execution Times for the STL Instructi

Pagina 412

4-1S7-200 Programmable Controller System ManualC79000-G7076-C233-01Basic Concepts for Programming anS7-200 CPUBefore you start to program your applica

Pagina 413 - Technical Specifications

Execution Times for STL InstructionsF-4S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table F-4 Execution Times for the STL Instructi

Pagina 414

Execution Times for STL InstructionsF-5S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table F-4 Execution Times for the STL Instructi

Pagina 415 - Relay Electrical Service Life

Execution Times for STL InstructionsF-6S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table F-4 Execution Times for the STL Instructi

Pagina 416

Execution Times for STL InstructionsF-7S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table F-4 Execution Times for the STL Instructi

Pagina 417

Execution Times for STL InstructionsF-8S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table F-4 Execution Times for the STL Instructi

Pagina 418

Execution Times for STL InstructionsF-9S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table F-4 Execution Times for the STL Instructi

Pagina 419

Execution Times for STL InstructionsF-10S7-200 Programmable Controller System ManualC79000-G7076-C233-01

Pagina 420

G-1S7-200 Programmable Controller System ManualC79000-G7076-C233-01S7-200 Quick Reference InformationThis appendix contains information about the foll

Pagina 421

S7-200 Quick Reference InformationG-2S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table G-2 Descriptions of Interrupt EventsEventNu

Pagina 422

S7-200 Quick Reference InformationG-3S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table G-3 Summary of S7-200 CPU Memory Ranges and

Pagina 423

Basic Concepts for Programming an S7-200 CPU4-2S7-200 Programmable Controller System ManualC79000-G7076-C233-014.1 Guidelines for Designing a Micro PL

Pagina 424

S7-200 Quick Reference InformationG-4S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table G-4 High-Speed Counters HSC0, HSC3, HSC4, a

Pagina 425

S7-200 Quick Reference InformationG-5S7-200 Programmable Controller System ManualC79000-G7076-C233-01Boolean InstructionsLD NLDI NLDN NLDNI NLoadLoad

Pagina 426

S7-200 Quick Reference InformationG-6S7-200 Programmable Controller System ManualC79000-G7076-C233-01Move, Shift, Rotate, and Fill InstructionsMOVB IN

Pagina 427

Index-1S7-200 Programmable Controller System ManualC79000-G7076-C233-01IndexAAC installation, guidelines, 2-13AC outputs, 2-17Access restriction. See

Pagina 428

IndexIndex-2S7-200 Programmable Controller System ManualC79000-G7076-C233-01Boolean contact instructions, example, 9-5,10-3Bus connector, removing exp

Pagina 429

IndexIndex-3S7-200 Programmable Controller System ManualC79000-G7076-C233-01Compiling, errorsrule violations, B-4system response, 4-38Configurationcom

Pagina 430

IndexIndex-4S7-200 Programmable Controller System ManualC79000-G7076-C233-01CPUbasic operation, 4-5clearing memory, 4-29error handling, 4-36fatal erro

Pagina 431

IndexIndex-5S7-200 Programmable Controller System ManualC79000-G7076-C233-01CPU 224 AC/DC/Relayconnector terminal identification, A-20order number, E-

Pagina 432

IndexIndex-6S7-200 Programmable Controller System ManualC79000-G7076-C233-01Downloadingmode requirements, 4-25program, 5-15EEditorsFunction Block Diag

Pagina 433

IndexIndex-7S7-200 Programmable Controller System ManualC79000-G7076-C233-01operation with Reset and Start, 9-29operation with Reset and without Start

Pagina 434

Basic Concepts for Programming an S7-200 CPU4-3S7-200 Programmable Controller System ManualC79000-G7076-C233-01Creating the Functional SpecificationsW

Pagina 435 - Proximity Sensor (Bero)

IndexIndex-8S7-200 Programmable Controller System ManualC79000-G7076-C233-01For instruction, 9-150Force function, 4-34Freeport modeand operation modes

Pagina 436

IndexIndex-9S7-200 Programmable Controller System ManualC79000-G7076-C233-01I/O status, SMB5, C-3IEC 1131-3 instruction set, 4-10IEC 1131-3 variable

Pagina 437

IndexIndex-10S7-200 Programmable Controller System ManualC79000-G7076-C233-01Compare Integer, 9-11Compare Less Than, 10-8Compare Less Than or Equal, 1

Pagina 438 - A.8 Optional Cartridges

IndexIndex-11S7-200 Programmable Controller System ManualC79000-G7076-C233-01Reset, 9-7Reset Dominant Bistable, 10-6Reset Immediate, 9-8Return from In

Pagina 439 - A.9 I/O Expansion Cable

IndexIndex-12S7-200 Programmable Controller System ManualC79000-G7076-C233-01Local I/O, addressing, 6-2Logic Operations instructionsAnd, 10-26And Byte

Pagina 440 - A.10 PC/PPI Cable

IndexIndex-13S7-200 Programmable Controller System ManualC79000-G7076-C233-01Memory retention, 5-15–5-20battery cartridge (optional), 5-15EEPROM, 5-15

Pagina 441

IndexIndex-14S7-200 Programmable Controller System ManualC79000-G7076-C233-01Multiple master network, 7-4Multiple Master Network check box, 7-11Multip

Pagina 442

IndexIndex-15S7-200 Programmable Controller System ManualC79000-G7076-C233-01Parameter set, moduleMPI Card (PPI), 7-14PC/PPI Cable (PPI), 7-10–7-11sel

Pagina 443 - Error Codes

IndexIndex-16S7-200 Programmable Controller System ManualC79000-G7076-C233-01Programanalog inputs, 4-22basic elements, 4-18debugging, 4-30–4-32downloa

Pagina 444

IndexIndex-17S7-200 Programmable Controller System ManualC79000-G7076-C233-01Removing, terminal block connector, 2-12Repeater, order number, E-2Repeat

Pagina 445

Important NotesvS7-200 Programmable Controller System ManualC79000-G7076-C233-01How to Use This ManualIf you are a first-time (novice) user of S7-200

Pagina 446 - B.3 Compile Rule Violations

Basic Concepts for Programming an S7-200 CPU4-4S7-200 Programmable Controller System ManualC79000-G7076-C233-01Specifying the Operator StationsBased o

Pagina 447 - Special Memory (SM) Bits

IndexIndex-18S7-200 Programmable Controller System ManualC79000-G7076-C233-01Setting upcommunications, 7-2–7-19communications parameters, 7-4Shift ins

Pagina 448 - SMB3: Freeport Parity Error

IndexIndex-19S7-200 Programmable Controller System ManualC79000-G7076-C233-01Standard contact instructions, 9-2, 10-2Standard railclearance requiremen

Pagina 449 - SMB5: I/O Status

IndexIndex-20S7-200 Programmable Controller System ManualC79000-G7076-C233-01Transmit instruction, 9-182, 9-184example, 9-189Troubleshootingcompile er

Pagina 450 - SMB7: Reserved

S7-200 Programmable Controller System Manual6ES7298-8FA20-8BH0-011$Siemens AGA&D AS E 81Oestliche Rheinbrueckenstr. 50D-76181 KarlsruheFederal Rep

Pagina 451

2S7-200 Programmable Controller System Manual6ES7298-8FA20-8BH0-01Additional comments:________________________________________________________________

Pagina 452 - SMW22 to SMW26: Scan Times

Basic Concepts for Programming an S7-200 CPU4-5S7-200 Programmable Controller System ManualC79000-G7076-C233-014.2 Concepts of an S7-200 ProgramRelati

Pagina 453

Basic Concepts for Programming an S7-200 CPU4-6S7-200 Programmable Controller System ManualC79000-G7076-C233-014.3 Concepts of the S7-200 Programming

Pagina 454

Basic Concepts for Programming an S7-200 CPU4-7S7-200 Programmable Controller System ManualC79000-G7076-C233-01As you can see from Figure 4-3, this te

Pagina 455

Basic Concepts for Programming an S7-200 CPU4-8S7-200 Programmable Controller System ManualC79000-G7076-C233-01Ladder Logic EditorThe STEP 7-Micro/WIN

Pagina 456

Basic Concepts for Programming an S7-200 CPU4-9S7-200 Programmable Controller System ManualC79000-G7076-C233-01Function Block Diagram EditorThe STEP 7

Pagina 457

Basic Concepts for Programming an S7-200 CPU4-10S7-200 Programmable Controller System ManualC79000-G7076-C233-014.4 Understanding the Differences betw

Pagina 458

Basic Concepts for Programming an S7-200 CPU4-11S7-200 Programmable Controller System ManualC79000-G7076-C233-01The main points to consider when you s

Pagina 459

Basic Concepts for Programming an S7-200 CPU4-12S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table 4-3 IEC 1131-3 Complex Data Type

Pagina 460 - SMB98 and SMB99

Basic Concepts for Programming an S7-200 CPU4-13S7-200 Programmable Controller System ManualC79000-G7076-C233-01Strong data type checking is performed

Pagina 461

Important NotesviS7-200 Programmable Controller System ManualC79000-G7076-C233-01

Pagina 462

Basic Concepts for Programming an S7-200 CPU4-14S7-200 Programmable Controller System ManualC79000-G7076-C233-01No Data Type Checking The no data type

Pagina 463 - S7-200 Troubleshooting Guide

Basic Concepts for Programming an S7-200 CPU4-15S7-200 Programmable Controller System ManualC79000-G7076-C233-01Selecting Between SIMATIC and IEC 1131

Pagina 464

Basic Concepts for Programming an S7-200 CPU4-16S7-200 Programmable Controller System ManualC79000-G7076-C233-01Data types for directly represented pa

Pagina 465 - S7-200 Order Numbers

Basic Concepts for Programming an S7-200 CPU4-17S7-200 Programmable Controller System ManualC79000-G7076-C233-01Table 4-10 Conversion InstructionsConv

Pagina 466

Basic Concepts for Programming an S7-200 CPU4-18S7-200 Programmable Controller System ManualC79000-G7076-C233-014.5 Basic Elements for Constructing a

Pagina 467

Basic Concepts for Programming an S7-200 CPU4-19S7-200 Programmable Controller System ManualC79000-G7076-C233-01AIW4 VW100SM0.1Network 1Network 1100 S

Pagina 468 - Execution Times

Basic Concepts for Programming an S7-200 CPU4-20S7-200 Programmable Controller System ManualC79000-G7076-C233-01AIW4SM0.1Network 1Network 1IN100MOV_BO

Pagina 469

Basic Concepts for Programming an S7-200 CPU4-21S7-200 Programmable Controller System ManualC79000-G7076-C233-01Network 1Network 1IN100MOVEOUT %SMB34E

Pagina 470

Basic Concepts for Programming an S7-200 CPU4-22S7-200 Programmable Controller System ManualC79000-G7076-C233-014.6 Understanding the Scan Cycle of th

Pagina 471

Basic Concepts for Programming an S7-200 CPU4-23S7-200 Programmable Controller System ManualC79000-G7076-C233-01The CPU does not update analog inputs

Pagina 472

viiS7-200 Programmable Controller System ManualC79000-G7076-C233-01Contents1 Introducing the S7-200 Micro PLC 1-1. . . . . . . . . . . . . . . . . . .

Pagina 473

Basic Concepts for Programming an S7-200 CPU4-24S7-200 Programmable Controller System ManualC79000-G7076-C233-01The CPU reserves the process-image out

Pagina 474

Basic Concepts for Programming an S7-200 CPU4-25S7-200 Programmable Controller System ManualC79000-G7076-C233-014.7 Selecting the Mode of Operation fo

Pagina 475

Basic Concepts for Programming an S7-200 CPU4-26S7-200 Programmable Controller System ManualC79000-G7076-C233-01Changing the Operating Mode with STEP

Pagina 476

Basic Concepts for Programming an S7-200 CPU4-27S7-200 Programmable Controller System ManualC79000-G7076-C233-014.8 Creating a Password for the CPUAll

Pagina 477

Basic Concepts for Programming an S7-200 CPU4-28S7-200 Programmable Controller System ManualC79000-G7076-C233-01Configuring the CPU PasswordYou can us

Pagina 478

Basic Concepts for Programming an S7-200 CPU4-29S7-200 Programmable Controller System ManualC79000-G7076-C233-01What to Do If You Forget the CPU Passw

Pagina 479 - 100 ms

Basic Concepts for Programming an S7-200 CPU4-30S7-200 Programmable Controller System ManualC79000-G7076-C233-014.9 Debugging and Monitoring Your Prog

Pagina 480

Basic Concepts for Programming an S7-200 CPU4-31S7-200 Programmable Controller System ManualC79000-G7076-C233-01Using a Status Chart to Monitor and Mo

Pagina 481

Basic Concepts for Programming an S7-200 CPU4-32S7-200 Programmable Controller System ManualC79000-G7076-C233-01Displaying the Status of the Program i

Pagina 482

Basic Concepts for Programming an S7-200 CPU4-33S7-200 Programmable Controller System ManualC79000-G7076-C233-01Displaying the Status of the Program i

Pagina 483

ContentsviiiS7-200 Programmable Controller System ManualC79000-G7076-C233-015 CPU Memory: Data Types and Addressing Modes 5-1. . . . . . . . . . . .

Pagina 484

Basic Concepts for Programming an S7-200 CPU4-34S7-200 Programmable Controller System ManualC79000-G7076-C233-01Forcing Specific ValuesThe S7-200 CPU

Pagina 485

Basic Concepts for Programming an S7-200 CPU4-35S7-200 Programmable Controller System ManualC79000-G7076-C233-01Status ChartAddress Format New ValueCu

Pagina 486

Basic Concepts for Programming an S7-200 CPU4-36S7-200 Programmable Controller System ManualC79000-G7076-C233-014.10 Error Handling for the S7-200 CPU

Pagina 487

Basic Concepts for Programming an S7-200 CPU4-37S7-200 Programmable Controller System ManualC79000-G7076-C233-01Responding to Fatal ErrorsFatal errors

Pagina 488

Basic Concepts for Programming an S7-200 CPU4-38S7-200 Programmable Controller System ManualC79000-G7076-C233-01Responding to Non-Fatal ErrorsNon-fata

Pagina 489

5-1S7-200 Programmable Controller System ManualC79000-G7076-C233-01CPU Memory: Data Types and AddressingModesThe S7-200 CPU provides specialized area

Pagina 490

CPU Memory: Data Types and Addressing Modes5-2S7-200 Programmable Controller System ManualC79000-G7076-C233-015.1 Direct Addressing of the CPU Memory

Pagina 491

CPU Memory: Data Types and Addressing Modes5-3S7-200 Programmable Controller System ManualC79000-G7076-C233-01You can access data in many CPU memory

Pagina 492

CPU Memory: Data Types and Addressing Modes5-4S7-200 Programmable Controller System ManualC79000-G7076-C233-01Representation of NumbersTable 5-1 show

Pagina 493

CPU Memory: Data Types and Addressing Modes5-5S7-200 Programmable Controller System ManualC79000-G7076-C233-01Addressing the Variable (V) Memory Area

Pagina 494

ContentsixS7-200 Programmable Controller System ManualC79000-G7076-C233-019 SIMATIC Instructions 9-1. . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 495

CPU Memory: Data Types and Addressing Modes5-6S7-200 Programmable Controller System ManualC79000-G7076-C233-01Addressing the Local (L) Memory AreaThe

Pagina 496

CPU Memory: Data Types and Addressing Modes5-7S7-200 Programmable Controller System ManualC79000-G7076-C233-01Addressing the Timer (T) Memory AreaIn

Pagina 497

CPU Memory: Data Types and Addressing Modes5-8S7-200 Programmable Controller System ManualC79000-G7076-C233-01Addressing the Counter (C) Memory AreaI

Pagina 498

CPU Memory: Data Types and Addressing Modes5-9S7-200 Programmable Controller System ManualC79000-G7076-C233-01Addressing the Analog Inputs (AI)The S7

Pagina 499

CPU Memory: Data Types and Addressing Modes5-10S7-200 Programmable Controller System ManualC79000-G7076-C233-01Addressing the Accumulators (AC)Accumu

Pagina 500

CPU Memory: Data Types and Addressing Modes5-11S7-200 Programmable Controller System ManualC79000-G7076-C233-01Addressing the High-Speed Counters (HC

Pagina 501

CPU Memory: Data Types and Addressing Modes5-12S7-200 Programmable Controller System ManualC79000-G7076-C233-01Using Constant ValuesYou can use a con

Pagina 502

CPU Memory: Data Types and Addressing Modes5-13S7-200 Programmable Controller System ManualC79000-G7076-C233-015.2 SIMATIC Indirect Addressing of the

Pagina 503 - 6ES7298-8FA20-8BH0-01

CPU Memory: Data Types and Addressing Modes5-14S7-200 Programmable Controller System ManualC79000-G7076-C233-01Modifying PointersYou can change the v

Pagina 504

CPU Memory: Data Types and Addressing Modes5-15S7-200 Programmable Controller System ManualC79000-G7076-C233-015.3 Memory Retention for the S7-200 CP

Comentarios a estos manuales

Sin comentarios