Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Standard view
Full view
of .
Look up keyword or section
Like this

Table Of Contents

Creating a Sample Program
Downloading the Sample Program
Placing the S7-200 in RUN Mode
Installing the S7-200
Guidelines for Installing S7-200 Devices
Installing and Removing the S7-200 Modules
Guidelines for Grounding and Wiring
PLC Concepts
Understanding How the S7-200 Executes Your Control Logic
Accessing the Data of the S7-200
Understanding How the S7-200 Saves and Restores Data
Selecting the Operating Mode for the S7-200 CPU
Using the S7-200 Explorer
Features of the S7-200
Programming Concepts, Conventions, and Features
Guidelines for Designing a Micro PLC System
Basic Elements of a Program
Example:Basic Elements of a Program
Using STEP 7--Micro/WIN to Create Your Programs
Choosing Between the SIMATIC and IEC 1131--3 Instruction Sets
Understanding the Conventions Used by the Program Editors
Using Wizards To Help You Create Your Control Program
Handling Errors in the S7-200
Assigning Addresses and Initial Values in the Data Block Editor
Using the Symbol Table for Symbolic Addressing of Variables
Using Local Variables
Using the Status Chart to Monitor Your Program
Creating an Instruction Library
Features for Debugging Your Program
S7-200 Instruction Set
Conventions Used to Describe the Instructions
S7-200 Memory Ranges and Features
Bit Logic Instructions
Logic Stack Instructions
Set and Reset Dominant Bistable Instructions
Example: Set and Reset Dominant Bistable Instructions
Clock Instructions
Communications Instructions
Network Read and Network Write Instructions
Transmit and Receive Instructions (Freeport)
Get Port Address and Set Port Address Instructions
Compare Instructions
Comparing Numerical Values
Compare String
Conversion Instructions
Standard Conversion Instructions
ASCII Conversion Instructions
String Conversion Instructions
Encode and Decode Instructions
Counter Instructions
SIMATIC Counter Instructions
IEC Counter Instructions
High-Speed Counter Instructions
Pulse Output Instruction
Math Instructions
Add, Subtract, Multiply, and Divide Instructions
Multiply Integer to Double Integer and Divide Integer with Remainder
Numeric Functions Instructions
Increment and Decrement Instructions
Proportional/Integral/Derivative (PID) Loop Instruction
Interrupt Instructions
Logical Operations Instructions
Invert Instructions
AND, OR, and Exclusive OR Instructions
Move Instructions
Move Byte, Word, Double Word, or Real
Move Byte Immediate (Read and Write)
Block Move Instructions
Program Control Instructions
Conditional End
Watchdog Reset
For--Next Loop Instructions
Jump Instructions
Sequence Control Relay (SCR) Instructions
Diagnostic LED Instruction
Shift and Rotate Instructions
Shift Right and Shift Left Instructions
Rotate Right and Rotate Left Instructions
Shift Register Bit Instruction
Swap Bytes Instruction
String Instructions
Table Instructions
Add To Table
First-In-First-Out and Last-In-First-Out
Memory Fill
Table Find
Timer Instructions
SIMATIC Timer Instructions
IEC Timer Instructions
Interval Timers
Subroutine Instructions
Communicating over a Network
Understanding the Basics of S7-200 Network Communications
Selecting the Communications Protocol for Your Network
Installing and Removing Communications Interfaces
Building Your Network
Creating User-Defined Protocols with Freeport Mode
Using Modems and STEP 7--Micro/WIN with Your Network
Advanced Topics
Running Your Program for a Specified Number of Scans
Hardware Troubleshooting Guide
Open Loop Motion Control with the S7-200
Using the PWM (Pulse Width Modulation) Output
Basic Information for Open Loop Position Control Using Steppers or Servos
Instructions Created by the Position Control Wizard
Error Codes for the PTO Instructions
Features of the Position Module
Configuring the Position Module
Instructions Created by the Position Control Wizard for the Position Module
Sample Programs for the Position Module
Monitoring the Position Module with the EM 253 Control Panel
Error Codes for the Position Module and the Position Instructions
Understanding the RP Seek Modes Supported by the Position Module
Creating a Program for the Modem Module
Features of the Modem Module
Using the Modem Expansion Wizard to Configure the Modem Module
Overview of Modem Instructions and Restrictions
Instructions for the Modem Module
Sample Program for the Modem Module
S7-200 CPUs that Support Intelligent Modules
Special Memory Location for the Modem Module
Messaging Telephone Number Format
Text Message Format
CPU Data Transfer Message Format
Using the USS Protocol Library to Control a MicroMaster Drive
Requirements for Using the USS Protocol
Calculating the Time Required for Communicating with the Drive
Using the USS Instructions
Instructions for the USS Protocol
Sample Programs for the USS Protocol
USS Execution Error Codes
Connecting and Setting Up the MicroMaster Series 3 Drive
Connecting and Setting Up the MicroMaster Series 4 Drive
Using the Modbus Protocol Library
Requirements for Using Modbus Protocol
Initialization and Execution Time for Modbus Protocol
Modbus Addressing
Using the Modbus Master Instructions
Using the Modbus Slave Instructions
Instructions for the Modbus Protocol
Recipe Definition and Terminology
Using the Recipe Wizard
Instructions Created by the Recipe Wizard
Using Data Logs
Using the Data Log Wizard
Instruction Created by the Data Log Wizard
PID Auto-Tune and the PID Tuning Control Panel
Understanding the PID Auto-Tune
Expanded Loop Table
Auto-Hysteresis and Auto-Deviation
Auto-Tune Sequence
Exception Conditions
Notes Concerning PV Out-of-Range (Result Code 3)
PID Tuning Control Panel
Technical Specifications
General Technical Specifications
CPU Specifications
Digital Expansion Modules Specifications
Analog Expansion Modules Specifications
Thermocouple and RTD Expansion Modules Specifications
EM 277 PROFIBUS--DP Module Specifications
EM 253 Position Module Specifications
(CP 243--1) Ethernet Module Specifications
(CP 243--1 IT) Internet Module Specifications
(CP 243--2) AS--Interface Module Specifications
Optional Cartridges
I/O Expansion Cable
RS-232/PPI Multi-Master Cable and USB/PPI Multi-Master Cable
Input Simulators
Calculating a Power Budget
Error Codes
Fatal Error Codes and Messages
Run-Time Programming Problems
Compile Rule Violations
Special Memory (SM) Bits
SMB0: Status Bits
SMB1: Status Bits
SMB2: Freeport Receive Character
SMB3: Freeport Parity Error
SMB4: Queue Overflow
SMB5: I/O Status
SMB6: CPU ID Register
SMB7: Reserved
SMB8 to SMB21: I/O Module ID and Error Registers
SMW22 to SMW26: Scan Times
SMB28 and SMB29: Analog Adjustment
SMB30 and SMB130: Freeport Control Registers
SMB31 and SMW32: Permanent Memory (EEPROM) Write Control
SMB34 and SMB35: Time Interval Registers for Timed Interrupts
SMB36 to SMB65: HSC0, HSC1, and HSC2 Register
SMB66 to SMB85: PTO/PWM Registers
SMB86 to SMB94, and SMB186 to SMB194: Receive Message Control
SMW98: Errors on the Expansion I/O Bus
SMB130: Freeport Control Register (see SMB30)
SMB131 to SMB165: HSC3, HSC4, and HSC5 Register
SMB166 to SMB185: PTO0, PTO1 Profile Definition Table
0 of .
Results for:
No results containing your search query
P. 1
S7-200 Manual

S7-200 Manual

Ratings: (0)|Views: 155 |Likes:
Published by Chien Bach

More info:

Published by: Chien Bach on Sep 16, 2011
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





You're Reading a Free Preview
Pages 12 to 14 are not shown in this preview.
You're Reading a Free Preview
Pages 26 to 251 are not shown in this preview.
You're Reading a Free Preview
Pages 263 to 431 are not shown in this preview.
You're Reading a Free Preview
Pages 443 to 458 are not shown in this preview.
You're Reading a Free Preview
Pages 470 to 554 are not shown in this preview.

Activity (2)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->