S7 1200 Programmable Controller S71200 System Manual En US
s71200_system_manual_en-US_en-US
User Manual:
Open the PDF directly: View PDF
Page Count: 864 [warning: Documents this large are best viewed by clicking the View PDF Link!]
- S7-1200 Programmable controller
- Legal information
- Preface
- Table of contents
- 1 Product overview
- 2 STEP 7 programming software
- 2.1 System requirements
- 2.2 Different views to make the work easier
- 2.3 Easy-to-use tools
- 2.3.1 Inserting instructions into your user program
- 2.3.2 Accessing instructions from the "Favorites" toolbar
- 2.3.3 Creating a complex equation with a simple instruction
- 2.3.4 Adding inputs or outputs to a LAD or FBD instruction
- 2.3.5 Expandable instructions
- 2.3.6 Selecting a version for an instruction
- 2.3.7 Modifying the appearance and configuration of STEP 7
- 2.3.8 Dragging and dropping between editors
- 2.3.9 Changing the operating mode of the CPU
- 2.3.10 Changing the call type for a DB
- 2.3.11 Temporarily disconnecting devices from a network
- 2.3.12 Virtual unplugging of devices from the configuration
- 3 Installation
- 3.1 Guidelines for installing S7-1200 devices
- 3.2 Power budget
- 3.3 Installation and removal procedures
- 3.3.1 Mounting dimensions for the S7-1200 devices
- 3.3.2 Installing and removing the CPU
- 3.3.3 Installing and removing an SB, CB or BB
- 3.3.4 Installing and removing an SM
- 3.3.5 Installing and removing a CM or CP
- 3.3.6 Removing and reinstalling the S7-1200 terminal block connector
- 3.3.7 Installing and removing the expansion cable
- 3.3.8 TS (teleservice) adapter
- 3.4 Wiring guidelines
- 4 PLC concepts
- 4.1 Execution of the user program
- 4.1.1 Operating modes of the CPU
- 4.1.2 Processing the scan cycle in RUN mode
- 4.1.3 Organization blocks (OBs)
- 4.1.4 Event execution priorities and queuing
- 4.1.5 Monitoring the cycle time
- 4.1.6 CPU memory
- 4.1.7 Diagnostics buffer
- 4.1.8 Time of day clock
- 4.1.9 Configuring the outputs on a RUN-to-STOP transition
- 4.2 Data storage, memory areas, I/O and addressing
- 4.3 Processing of analog values
- 4.4 Data types
- 4.4.1 Bool, Byte, Word, and DWord data types
- 4.4.2 Integer data types
- 4.4.3 Floating-point real data types
- 4.4.4 Time and Date data types
- 4.4.5 Character and String data types
- 4.4.6 Array data type
- 4.4.7 Data structure data type
- 4.4.8 PLC data type
- 4.4.9 Pointer data types
- 4.4.10 Accessing a "slice" of a tagged data type
- 4.4.11 Accessing a tag with an AT overlay
- 4.5 Using a memory card
- 4.6 Recovery from a lost password
- 4.1 Execution of the user program
- 5 Device configuration
- 5.1 Inserting a CPU
- 5.2 Detecting the configuration for an unspecified CPU
- 5.3 Adding modules to the configuration
- 5.4 Configuring the operation of the CPU
- 5.5 Configuring the parameters of the modules
- 5.6 Configuring the CPU for communication
- 5.6.1 Creating a network connection
- 5.6.2 Configuring the Local/Partner connection path
- 5.6.3 Parameters for the PROFINET connection
- 5.6.4 Assigning Internet Protocol (IP) addresses
- 5.6.5 Testing the PROFINET network
- 5.6.6 Locating the Ethernet (MAC) address on the CPU
- 5.6.7 Configuring Network Time Protocol synchronization
- 5.6.8 PROFINET device start-up time, naming, and address assignment
- 6 Programming concepts
- 7 Basic instructions
- 7.1 Bit logic
- 7.2 Timers
- 7.3 Counters
- 7.4 Compare
- 7.5 Math
- 7.5.1 Calculate instruction
- 7.5.2 Add, subtract, multiply and divide instructions
- 7.5.3 Modulo instruction
- 7.5.4 Negation instruction
- 7.5.5 Increment and decrement instructions
- 7.5.6 Absolute value instruction
- 7.5.7 Minimum and Maximum instructions
- 7.5.8 Limit instruction
- 7.5.9 Floating-point math instructions
- 7.6 Move
- 7.7 Convert
- 7.8 Program control
- 7.8.1 Overview of SCL program control statements
- 7.8.2 IF-THEN statement
- 7.8.3 CASE statement
- 7.8.4 FOR statement
- 7.8.5 WHILE-DO statement
- 7.8.6 REPEAT-UNTIL statement
- 7.8.7 CONTINUE statement
- 7.8.8 EXIT statement
- 7.8.9 GOTO statement
- 7.8.10 RETURN statement
- 7.8.11 Jump and label instructions
- 7.8.12 JMP_LIST instruction
- 7.8.13 SWITCH instruction
- 7.8.14 RET execution control instruction
- 7.8.15 Re-trigger scan cycle watchdog instruction
- 7.8.16 Stop scan cycle instruction
- 7.8.17 Get Error instructions
- 7.9 Word logic operations
- 7.10 Shift and Rotate
- 8 Extended instructions
- 8.1 Date and time-of-day
- 8.2 String and character
- 8.3 Distributed I/O (PROFINET, PROFIBUS, or AS-i)
- 8.4 Interrupts
- 8.5 Diagnostics (PROFINET or PROFIBUS)
- 8.6 Pulse
- 8.7 Data logging
- 8.8 Data block control
- 8.9 Common error codes for the "Extended" instructions
- 9 Technology instructions
- 9.1 High-speed counter
- 9.2 PID control
- 9.3 Motion control
- 9.3.1 Configuring the axis
- 9.3.2 Configuring the TO_CommandTable_PTO
- 9.3.3 Motion control instructions
- 9.3.3.1 MC_Power instruction
- 9.3.3.2 MC_Reset instruction
- 9.3.3.3 MC_Home instruction
- 9.3.3.4 MC_Halt instruction
- 9.3.3.5 MC_MoveAbsolute instruction
- 9.3.3.6 MC_MoveRelative instruction
- 9.3.3.7 MC_MoveVelocity instruction
- 9.3.3.8 MC_MoveJog instruction
- 9.3.3.9 MC_CommandTable instruction
- 9.3.3.10 MC_ChangeDynamic
- 9.3.4 Operation of motion control for S7-1200
- 9.3.5 Commissioning
- 9.3.6 Monitoring active commands
- 10 Communication
- 10.1 Number of asynchronous communication connections supported
- 10.2 PROFINET
- 10.2.1 Local/Partner connection
- 10.2.2 Open user communication
- 10.2.3 Communication with a programming device
- 10.2.4 HMI-to-PLC communication
- 10.2.5 PLC-to-PLC communication
- 10.2.6 Configuring a CPU and PROFINET IO device
- 10.2.7 Diagnostics
- 10.2.8 Distributed I/O Instructions
- 10.2.9 Diagnostic instructions
- 10.2.10 Diagnostic events for distributed I/O
- 10.3 PROFIBUS
- 10.4 AS-i
- 10.5 S7 communication
- 11 Web server
- 11.1 Enabling the Web server
- 11.2 Standard web pages
- 11.3 User-defined web pages
- 11.3.1 Creating HTML pages
- 11.3.2 AWP commands supported by the S7-1200 Web server
- 11.3.2.1 Reading variables
- 11.3.2.2 Writing variables
- 11.3.2.3 Reading special variables
- 11.3.2.4 Writing special variables
- 11.3.2.5 Using an alias for a variable reference
- 11.3.2.6 Defining enum types
- 11.3.2.7 Referencing CPU variables with an enum type
- 11.3.2.8 Creating fragments
- 11.3.2.9 Importing fragments
- 11.3.2.10 Combining definitions
- 11.3.2.11 Handling tag names that contain special characters
- 11.3.3 Configuring use of user-defined Web pages
- 11.3.4 Programming the WWW instruction for user-defined web pages
- 11.3.5 Downloading the program blocks to the CPU
- 11.3.6 Accessing the user-defined web pages from the PC
- 11.3.7 Constraints specific to user-defined Web pages
- 11.3.8 Example of a user-defined web page
- 11.3.8.1 Web page for monitoring and controlling a wind turbine
- 11.3.8.2 Reading and displaying controller data
- 11.3.8.3 Using an enum type
- 11.3.8.4 Writing user input to the controller
- 11.3.8.5 Writing a special variable
- 11.3.8.6 Reference: HTML listing of remote wind turbine monitor Web page
- 11.3.8.7 Configuration in STEP 7 of the example Web page
- 11.3.9 Setting up user-defined Web pages in multiple languages
- 11.3.10 Advanced user-defined Web page control
- 11.4 Constraints
- 12 Communication processor
- 12.1 Using the serial communication interfaces
- 12.2 Biasing and terminating an RS485 network connector
- 12.3 Point-to-Point (PtP) communication
- 12.4 Universal serial interface (USS) communication
- 12.5 Modbus communication
- 12.5.1 Overview of Modbus RTU and TCP communication
- 12.5.2 Modbus TCP
- 12.5.2.1 MB_CLIENT (Modbus TCP)
- 12.5.2.2 MB_SERVER (Modbus TCP)
- 12.5.2.3 MB_SERVER example: Multiple TCP connections
- 12.5.2.4 MB_CLIENT example 1: Multiple requests with common TCP connection
- 12.5.2.5 MB_CLIENT example 2: Multiple requests with different TCP connections
- 12.5.2.6 MB_CLIENT example 3: Output image write request
- 12.5.2.7 MB_CLIENT example 4: Coordinating multiple requests
- 12.5.3 Modbus RTU
- 12.6 Telecontrol and TeleService with the CP 1242-7
- 13 Teleservice communication (SMTP email)
- 14 Online and diagnostic tools
- 14.1 Status LEDs
- 14.2 Going online and connecting to a CPU
- 14.3 Assigning a name to a PROFINET IO device online
- 14.4 Setting the IP address and time of day
- 14.5 Resetting to factory settings
- 14.6 CPU operator panel for the online CPU
- 14.7 Monitoring the cycle time and memory usage
- 14.8 Displaying diagnostic events in the CPU
- 14.9 Comparing offline and online CPUs
- 14.10 Monitoring and modifying values in the CPU
- 14.11 Downloading in RUN mode
- 14.11.1 Prerequisites for "Download in RUN mode"
- 14.11.2 Changing your program in RUN mode
- 14.11.3 Downloading selected blocks
- 14.11.4 Downloading a single selected block with a compile error in another block
- 14.11.5 System reaction if the download process fails
- 14.11.6 Downloading the program in RUN mode
- A Technical specifications
- A.1 General Technical Specifications
- A.2 CPU 1211C
- A.3 CPU 1212C
- A.4 CPU 1214C
- A.5 CPU 1215C
- A.6 Digital signal modules (SMs)
- A.7 Analog signal modules (SMs)
- A.7.1 SM 1231 analog input module specifications
- A.7.2 SM 1232 analog output module specifications
- A.7.3 SM 1234 analog input/output module specifications
- A.7.4 Step response of the analog inputs
- A.7.5 Sample time and update times for the analog inputs
- A.7.6 Measurement ranges of the analog inputs for voltage
- A.7.7 Measurement ranges of the analog inputs for current
- A.7.8 Output (AQ) measurement ranges for voltage and current (SB and SM)
- A.8 Thermocouple and RTD signal modules (SMs)
- A.9 Digital signal boards (SBs)
- A.10 Analog signal boards (SBs)
- A.11 BB 1297 Battery Board
- A.12 Communication interfaces
- A.13 TeleService (TS Adapter and TS Adapter modular)
- A.14 SIMATIC memory cards
- A.15 Input simulators
- A.16 I/O expansion cable
- A.17 Companion products
- B Calculating a power budget
- C Order numbers
- Index