S7-1200 and STEP 7 Basic V10.5 S7-200 vs. S7-1200
Expandability S7-200 S7-1200 max. 7 Modules max. 3 Modules (CM) max. 8 Modules (SM) Page 2 Advantages of S7-1200, compared to S7-200
I/O Internal periphery of S7-1200 CPU plus Signal Board CPU 224XP CPU 1214C DI 14 14 DO 10 10 AI 2 2 AO PWM / PTO HSC PID 1 2 6 8 2* (with SB) 2 (configurable) 6 16 * In planning With the Signal Board the CPU S7-1200 can be extended easily! Page 3 Advantages of S7-1200, compared to S7-200
configuration S7-200 Target 0 1 2 3 Digital und Analog Digital Digital Digital Digital 16 8 4 4 E0.0 E2.0 E3.0 E4.0 16 4 4 8 A0.0 A2.0 A3.0 A4.0 No Error No Error No Error No Error No Error I/O addresses are allocated automatically and can t be changed. Page 4 Advantages of S7-1200, compared to S7-200
configuration S7-1200 I / O addresses can be re-allocated manually Page 5 Advantages of S7-1200, compared to S7-200
Serial communication S7-200 / S7-1200 Converter cable RS232 modules (CM) Point-to-Point communication over RS232 and RS485 ASCII protocol (character based serial communication) USS drive protocol Modbus protocol Page 6 Advantages of S7-1200, compared to S7-200
Integrated PROFINET (Ethernet) - interface for communication with the engineering Software CPU hardware configuration Download Variables monitoring / modifying Force I/O Diagnostics for communication with HMI Data from / to CPU read / write Alarming for communication von CPU to CPU Up to 8 connections open communication with T-Send / T-Receive Supported Protocols TCP/IP native ISO on TCP S7-communication (PUT / GET) planned Page 7 Advantages of S7-1200, compared to S7-200
Common for SIMATIC und HMI Interplay with a new easy to use and integrated Framework for SIMATIC S7-1200 and Basic HMI Panels Page 8 Advantages of S7-1200, compared to S7-200
One System Interplay SIMATIC S7-1200 Perfect integration of Controller and HMI SIMATIC HMI Basic Panels STEP 7 Basic // WinCC Basic WinCC Basic is integral part of STEP 7 Interplay between Software, PLC and HMI) Page 9 Advantages of S7-1200, compared to S7-200
Work CPU 224XP CPU 1214C Intern Card 64 kb 50 kb 26 kb Fixed Floating Program Data Page 10 Advantages of S7-1200, compared to S7-200
Load memory S7-200 S7-1200 Intern Card Size of the load memory Not published Online Online 1 / 2 MB (intern) Program Program Symbolic Comments Symbolic Comments Symbolic and comments are ONLINE in the blocks on the S7-1200 CPU available! Page 11 Advantages of S7-1200, compared to S7-200
optimizing of data blocks Intern Card Much garbage if data types are in the declaration mixed Data are organized for optimized memory consumption Classic DB Symbolic DB With symbolic Access the data blocks are memory optimized! Page 12 Advantages of S7-1200, compared to S7-200
How to setup a retain area S7-200 S7-1200 Retained memory at maximum 2048 Byte Only data area Separate variables in a DB Page 13 Advantages of S7-1200, compared to S7-200
Card - size S7-200 S7-1200 Intern Card 24MB 20MB 15MB 10MB 5MB Page 14 Advantages of S7-1200, compared to S7-200
What can be stored on the Card? S7-200 S7-1200 Program Data Intern Card System data Recipes Data Log Files Projects planned planned MC optional SIMATIC MC optional Page 15 Advantages of S7-1200, compared to S7-200
What can the Simatic MC be used for in addition? Intern Card Replace the load memory Distribution of programs Firmware-Update The SIMATIC MC can be programmed with standard card reader! Page 16 Advantages of S7-1200, compared to S7-200
Block types S7-200 S7-1200 Block types Program structure Interrupt structure New data types MAIN INT OB FB FC SBR VB DB Page 17 Advantages of S7-1200, compared to S7-200
Program structure S7 200 SBR SBR SBR Block types Program structure Interrupt structure New data types VB MAIN SBR SBR SBR One common data block for all program blocks: SBR SBR No modularization No re-use in other projects possible Max. nesting depth 8 Hard to use Page 18 Advantages of S7-1200, compared to S7-200
Program structure S7 1200 Global FB Local FC FC OB Block types Program structure Interrupt structure New data types Global FC Max. nesting depth: 16 FB Local with FCs, FBs and data blocks, like S7-300: High modularization und re-use possible Technological units (e.g. motor) can be standardized and can be recalled multiple times (e.g. Motor_1, Motor_2) Symbolic use possible Page 19 Advantages of S7-1200, compared to S7-200
Interrupt structure S7 200 OS Cycle MAIN SBR SBR SBR Block types Program structure Interrupt structure New data types Com. INT0 SBR SBR Interrupt Digital INT1... SBR SBR Time INT 127 The Interrupt events are assigned to the interrupt routines per program! Page 20 Advantages of S7-1200, compared to S7-200
Interrupt structure S7 1200 OS cyclic OB1 FB Local Lokal Block types Program structure Interrupt structure New data types Assignment Event <-> OB configurable and programmable Interrupt Startup Time Process Diagnostics OB 100 OB 200 OB 201 OB 82 FC FB FC Local Blocks have symbolic names Several Startup -, Time - und Process - OBs possible! Page 21 Advantages of S7-1200, compared to S7-200
New data types for the S7-1200 Block types Program structure Interrupt structure New data types New data types of the S7-1200 result in more flexibility: Thanks to Short data types you can save resources easily Unsigned data types enlarges the positive values range Long Real (64 Bit) for high accurate mathematic functions e.g. adding up over long time Page 22 Advantages of S7-1200, compared to S7-200
New data types for the S7-1200 Data type Length (bit) Standard format Value range SINT 8 Signed integers -128 to 127 USINT 8 Unsigned integers 0 to 255 Block types Program structure Interrupt structure New data types UINT DINT 16 32 Unsigned integers Signed integers 0 to 65535-2 147 483 648 to + 2 147 483 647 UDINT 32 Unsigned integers 0 to 4 294 967 295 LREAL 64 Floating-point numbers -1.7976931348623158e+308 to -2.2250738585072014e-308 0 +2.2250738585072014e-308 to +1.7976931348623158e+308 Page 23 Advantages of S7-1200, compared to S7-200
New data types, e.g. for Date and Time Block types Program structure Interrupt structure New data types S7-200 V, E, A, M, L S7-1200 M, D, L Symbolic access to all components of the structure DTL Page 24 Advantages of S7-1200, compared to S7-200
S7-200 vs. S7-1200 S7-200 S7-1200 S7-200: (range: 0 32767) bit C5 = 1 when CV >= PV Output Q = 1 when CV >= PV S7-1200: IEC counter (range: adjustable from SINT till UDINT) Page 25 Advantages of S7-1200, compared to S7-200
Differences S7-200 vs. S7-1200 S7-200 S7-1200 bit T37 = 1 when AT > PT. Output Q = 1 when ET >= PT. The time value can be typed in directly and don t need to be calculated with time base 1 / 10 / 100 ms Page 26 Advantages of S7-1200, compared to S7-200
Pulse Width Modulation (PWM) A. Parameterize in Devices & Networks B. FC Activate / Deactivate in user program Ton T Toff SFB DB Instanz DB parameters: time base Pulse width format (Ton) Cycle time (T) Initial pulse width CRTL_PWM Only the Pulse Width format (Ton) is changeable. e.g. with QW1000 Page 27 Advantages of S7-1200, compared to S7-200
Pulse Width Modulation (PWM) PWM PID Motion activate output from ASIC clock (ASIC) deactivate Output from the process image PI (process image) Outputs Q0.0, Q0.2 (PLC) Q4.0 (SB) Page 28 Advantages of S7-1200, compared to S7-200
PID closed loop controlled system controller actuator (disturbance variable) z Control path w - e P I + y PWM PID Motion D measure Example: controller relay bulb Temp. sensor Page 29 Advantages of S7-1200, compared to S7-200
PID closed loop controlled system realization in the S7-1200 (disturbance variable) controller actuator Control path z PWM PID Motion w - e P I D + measure y Page 30 Advantages of S7-1200, compared to S7-200
PID realization in the S7-1200 controller Set point P Output Actual value I PWM PID D Motion Page 31 Advantages of S7-1200, compared to S7-200
PID controller structure A. B. OB Cyclic interrupt FB Technological object (InstanzDB) T-DB PWM PID Motion algorithm Input / Output definition Scaling the actual value input monitoring commissioning Page 32 Advantages of S7-1200, compared to S7-200
Motion - structure PWM PID Motion User program PLC hardware configuration Machine Page 33 Advantages of S7-1200, compared to S7-200
Motion - Machine PWM PID Motion direction bit SINAMICS S110 v4.3 Encoder hardware output (PTO) Control logic Step drive Page 34 Advantages of S7-1200, compared to S7-200
Motion - PLCopen block call A. B. FC Call in FC block Technological object FB DB Instanz DB T-DB Data type: TO_Axis_PTO PWM PID Motion functionality E.g.: MC_Power MC_Reset MC_Home MC_Halt MC_MoveAbsolute MC_MoveRelative MC_MoveVelocity MC_MoveJog unit of the axis hard- / software limits drive-up/-down ramp homing Page 35 Advantages of S7-1200, compared to S7-200