s7-1200 and step 7 basic v10 - siemens global...
TRANSCRIPT
© Siemens AG 2010. All Rights Reserved.Industry SectorPage 2 Advantages of S7-1200 , compared to S7-200
Technology
Timer
Counter
Block concept
Memory
Engineering
Communication
Hardware
Expandability
max. 7 Modules
max. 8 Modules(SM)
max. 3 Modules
(CM)
S7-200
S7-1200
© Siemens AG 2010. All Rights Reserved.Industry SectorPage 3 Advantages of S7-1200 , compared to S7-200
Technology
Timer
Counter
Block concept
Memory
Engineering
Communication
Hardware
I/O – Internal periphery of S7-1200 CPU plus Signal Board
* In planning
168PID66HSC
2 (configurable)2PWM / PTO2* (with SB)1AO
22AI1010DO1414DI
CPU 1214CCPU 224XP
With the Signal Board the CPU S7-1200 can be extended easily!
© Siemens AG 2010. All Rights Reserved.Industry SectorPage 4 Advantages of S7-1200 , compared to S7-200
Technology
Timer
Counter
Block concept
Memory
Engineering
Communication
Hardware
Hardware configuration S7-200
No ErrorA4.08Digital3No ErrorA3.04E4.04Digital2No ErrorA2.04E3.04Digital1No ErrorE2.08Digital0No ErrorA0.016E0.016Digital und AnalogTarget
I/O – addresses are allocated automatically and
can’t be changed.
© Siemens AG 2010. All Rights Reserved.Industry SectorPage 5 Advantages of S7-1200 , compared to S7-200
Technology
Timer
Counter
Block concept
Memory
Engineering
Communication
Hardware
Hardware configuration S7-1200
I / O – addresses can be re-allocated manually
© Siemens AG 2010. All Rights Reserved.Industry SectorPage 6 Advantages of S7-1200 , compared to S7-200
Technology
Timer
Counter
Block concept
Memory
Engineering
Communication
Hardware
Serial communication S7-200 / S7-1200
Communication modules (CM) Point-to-Point communication over RS232 and RS485 ASCII – protocol (character based serial communication) USS – drive protocol Modbus – protocol
Converter cable RS232
© Siemens AG 2010. All Rights Reserved.Industry SectorPage 7 Advantages of S7-1200 , compared to S7-200
Technology
Timer
Counter
Block concept
Memory
Engineering
Communication
Hardware
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
© Siemens AG 2010. All Rights Reserved.Industry SectorPage 8 Advantages of S7-1200 , compared to S7-200
Technology
Timer
Counter
Block concept
Memory
InterplayEngineering
Communication
Hardware
Common Engineering for SIMATIC und HMI
…with a new easy to useand integrated Engineering Framework
for SIMATIC S7-1200 and Basic HMI Panels
© Siemens AG 2010. All Rights Reserved.Industry SectorPage 9 Advantages of S7-1200 , compared to S7-200
Technology
Timer
Counter
Block concept
Memory
InterplayEngineering
Communication
Hardware
One Engineering System
SIMATIC S7-1200 SIMATIC HMIBasic Panels
Interplay between Software, PLC and HMI)
STEP 7 Basic // WinCC Basic
Perfect integration of Controller and HMI
Engineering…
WinCC Basic is integral part
of STEP 7
© Siemens AG 2010. All Rights Reserved.Industry SectorPage 10 Advantages of S7-1200 , compared to S7-200
Technology
Timer
Counter
Block concept
Memory Card InternMemory
Engineering
Communication
Hardware
Work Memory
26 kB
50 kB
64 kB
Program
DataFixed Floating
CPU 1214CCPU 224XP
© Siemens AG 2010. All Rights Reserved.Industry SectorPage 11 Advantages of S7-1200 , compared to S7-200
Technology
Timer
Counter
Block concept
Memory Card InternMemory
Engineering
Communication
Hardware
Load memory
Symbolic and comments are ONLINE in the blockson the S7-1200 CPU available!
S7-1200S7-200
1 / 2 MB(intern)
Program
CommentsSymbolic
Online
Comments
Not published
Program
Symbolic
Online
Size of the load memory
© Siemens AG 2010. All Rights Reserved.Industry SectorPage 12 Advantages of S7-1200 , compared to S7-200
Technology
Timer
Counter
Block concept
Memory Card InternMemory
Engineering
Communication
Hardware
„Symbolic“ DB
„Classic“ DB
Memory optimizing of data blocks
With „symbolic Access“ the data blocks are memory optimized!
Much garbage if data types are in the
declaration mixed
Data are organized for optimized
memory consumption
© Siemens AG 2010. All Rights Reserved.Industry SectorPage 13 Advantages of S7-1200 , compared to S7-200
How to setup a retain area
Retained memory at maximum
2048 Byte
Separate variables in a DB
Only data area
S7-1200S7-200
© Siemens AG 2010. All Rights Reserved.Industry SectorPage 14 Advantages of S7-1200 , compared to S7-200
Technology
Timer
Counter
Block concept
Memory Card InternMemory
Engineering
Communication
Hardware
Memory Card - Memory size
5MB
10MB
15MB
20MB
24MB
S7-1200S7-200
© Siemens AG 2010. All Rights Reserved.Industry SectorPage 15 Advantages of S7-1200 , compared to S7-200
Technology
Timer
Counter
Block concept
Memory Card InternMemory
Engineering
Communication
Hardware
What can be stored on the Memory Card?
Files
Projects
plannedData LogplannedRecipesSystem dataDataProgram
S7-1200S7-200
MCoptional
SIMATIC MC optional
© Siemens AG 2010. All Rights Reserved.Industry SectorPage 16 Advantages of S7-1200 , compared to S7-200
Technology
Timer
Counter
Block concept
Memory Card InternMemory
Engineering
Communication
Hardware
What can the Simatic MC be used for in addition?
Replace the load memory Distribution of programs Firmware-Update
The SIMATIC MC can be programmed with standard card reader!
© Siemens AG 2010. All Rights Reserved.Industry SectorPage 17 Advantages of S7-1200 , compared to S7-200
Technology
Timer
Counter
New data types Interrupt structure Program structure Block typesBlock concept
Memory
Engineering
Communication
Hardware
Block types
INT
OB
FB
FC
SBR
VB
DB
S7-1200S7-200
MAIN
© Siemens AG 2010. All Rights Reserved.Industry SectorPage 18 Advantages of S7-1200 , compared to S7-200
Technology
Timer
Counter
New data types Interrupt structure Program structure Block typesBlock concept
Memory
Engineering
Communication
Hardware
SBR
SBR
SBR
SBR
SBR
SBR
SBR
SBR
MAIN
Program structure S7 – 200
VB
Max. nesting depth 8
One common data block for all program blocks: No modularization No re-use in other projects possible Hard to use
© Siemens AG 2010. All Rights Reserved.Industry SectorPage 19 Advantages of S7-1200 , compared to S7-200
Technology
Timer
Counter
New data types Interrupt structure Program structure Block typesBlock concept
Memory
Engineering
Communication
Hardware
FCGlobal
Global
Program structure S7 – 1200
OB
FB
Max. nesting depth: 16
Block concept 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
FC
FC
FB
Local
Local
© Siemens AG 2010. All Rights Reserved.Industry SectorPage 20 Advantages of S7-1200 , compared to S7-200
Technology
Timer
Counter
New data types Interrupt structure Program structure Block typesBlock concept
Memory
Engineering
Communication
Hardware
SBR
SBR
SBR
SBR
SBR
SBRSBR
INT127
INT0
MAIN
Interrupt structure S7 – 200
HardwareCycle
Com.
Digital
Time
OS
Inte
rrup
t. . .
The Interrupt – events are assigned to the interrupt – routinesper program!
INT1
© Siemens AG 2010. All Rights Reserved.Industry SectorPage 21 Advantages of S7-1200 , compared to S7-200
Technology
Timer
Counter
New data types Interrupt structure Program structure Block typesBlock concept
Memory
Engineering
Communication
Hardware
FB
Local
„OB201“
„OB82“
Interrupt structure S7 – 1200
Lokalcyclic
Startup
OS
Inte
rrup
t
Hardware
Process
Time
Several Startup - , Time - und Process - OBs possible!
„OB1“
„OB100“
„OB200“
FC
FC
FB
Local
Assignment Event <-> OB
configurable and programmable
Blocks have symbolic names
Diagnostics
© Siemens AG 2010. All Rights Reserved.Industry SectorPage 22 Advantages of S7-1200 , compared to S7-200
Technology
Timer
Counter
New data types Interrupt structure Program structure Block typesBlock concept
Memory
Engineering
Communication
Hardware
New data types for the S7-1200
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
© Siemens AG 2010. All Rights Reserved.Industry SectorPage 23 Advantages of S7-1200 , compared to S7-200
Technology
Timer
Counter
New data types Interrupt structure Program structure Block typesBlock concept
Memory
Engineering
Communication
Hardware
New data types for the S7-1200
-1.7976931348623158e+308 to -2.2250738585072014e-3080+2.2250738585072014e-308 to +1.7976931348623158e+308
Floating-point numbers64LREAL
0 to 4 294 967 295Unsigned integers32UDINT
- 2 147 483 648 to+ 2 147 483 647
Signed integers32DINT
0 to 65535Unsigned integers16UINT
Unsigned integers
Signed integers
Standard format
8
8
Length (bit)
USINT
SINT
Data type
0 to 255
-128 to 127
Value range
© Siemens AG 2010. All Rights Reserved.Industry SectorPage 24 Advantages of S7-1200 , compared to S7-200
Technology
Timer
Counter
New data types Interrupt structure Program structure Block typesBlock concept
Memory
Engineering
Communication
Hardware
New data types, e.g. for Date and Time
M, D, LV, E, A, M, L
S7-1200S7-200
Symbolic access to all components of the structure DTL
© Siemens AG 2010. All Rights Reserved.Industry SectorPage 25 Advantages of S7-1200 , compared to S7-200
Technology
Timer
Counter
Block concept
Memory
Engineering
Communication
Hardware
Counter – S7-200 vs. S7-1200
S7-200: Counter
(range: 0 – 32767)
Counter bit C5 = 1 when CV >= PV
Output Q = 1 when CV >= PV
S7-1200: IEC – counter
(range: adjustable from SINT till UDINT)
S7-1200S7-200
© Siemens AG 2010. All Rights Reserved.Industry SectorPage 26 Advantages of S7-1200 , compared to S7-200
Technology
Timer
Counter
Block concept
Memory
Engineering
Communication
Hardware
Differences Timer – S7-200 vs. S7-1200
Output Q = 1 when ET >= PT.
Timerbit T37 = 1 when AT > PT.
The time value can be typed in directly and don’t need to be calculated with time base 1 / 10 / 100 ms
S7-1200S7-200
© Siemens AG 2010. All Rights Reserved.Industry SectorPage 27 Advantages of S7-1200 , compared to S7-200
Technology
Timer
Counter
Block concept
Memory
Engineering
Communication
Hardware
Pulse Width Modulation (PWM)
Parameterize in Devices & Networks
parameters: time base
Pulse width format (Ton)
Cycle time (T)
Initial pulse width
A.
DB
B.
SFBInstanz
DBT
Ton Toff
Activate / Deactivatein user program
„CRTL_PWM“
FC
Only the Pulse Width format (Ton) is
changeable.e.g. with QW1000
© Siemens AG 2010. All Rights Reserved.Industry SectorPage 28 Advantages of S7-1200 , compared to S7-200
Motion PID PWMTechnology
Timer
Counter
Block concept
Memory
Engineering
Communication
Hardware
Pulse Width Modulation (PWM)
deactivateOutput from the process image
activateoutput from ASIC
Outputs
PI (process image)
Hardware clock(ASIC)
Q0.0, Q0.2 (PLC) Q4.0 (SB)
© Siemens AG 2010. All Rights Reserved.Industry SectorPage 29 Advantages of S7-1200 , compared to S7-200
Motion PID PWMTechnology
Timer
Counter
Block concept
Memory
Engineering
Communication
Hardware
PID – closed loop controlled system
actuator Control path
w e
-
y
controller
P
I
D
Example: controller relay bulb
measure
Temp. sensor
(disturbance variable)
z
+
© Siemens AG 2010. All Rights Reserved.Industry SectorPage 30 Advantages of S7-1200 , compared to S7-200
Motion PID PWMTechnology
Timer
Counter
Block concept
Memory
Engineering
Communication
Hardware
(disturbance variable)
z
+
PID – closed loop controlled system
controller actuator Control path
w e
-
yP
I
D
measure
realization in the S7-1200
© Siemens AG 2010. All Rights Reserved.Industry SectorPage 31 Advantages of S7-1200 , compared to S7-200
Motion PID PWMTechnology
Timer
Counter
Block concept
Memory
Engineering
Communication
Hardware
PID – realization in the S7-1200
controller
Set point P
I
D
Output
Actual value
© Siemens AG 2010. All Rights Reserved.Industry SectorPage 32 Advantages of S7-1200 , compared to S7-200
Motion PID PWMTechnology
Timer
Counter
Block concept
Memory
Engineering
Communication
Hardware
PID – controller structure
Technological object (InstanzDB)
algorithm Input / Output definition
Scaling the actual value
input monitoring
commissioning
A. B.
Cyclic interruptOB
T-DBFB
© Siemens AG 2010. All Rights Reserved.Industry SectorPage 33 Advantages of S7-1200 , compared to S7-200
Motion PID PWMTechnology
Timer
Counter
Block concept
Memory
Engineering
Communication
Hardware
Motion - structure
Machine
PLC hardware configuration
User program
© Siemens AG 2010. All Rights Reserved.Industry SectorPage 34 Advantages of S7-1200 , compared to S7-200
Motion PID PWMTechnology
Timer
Counter
Block concept
Memory
Engineering
Communication
Hardware
Motion - Machine
Step drivehardware output(PTO)
direction bit
Control logic
Encoder
SINAMICS S110 v4.3
© Siemens AG 2010. All Rights Reserved.Industry SectorPage 35 Advantages of S7-1200 , compared to S7-200
Motion PID PWMTechnology
Timer
Counter
Block concept
Memory
Engineering
Communication
Hardware
Motion - PLCopen block call
Technological objectCall in FC block
functionalityE.g.:
MC_PowerMC_ResetMC_HomeMC_HaltMC_MoveAbsoluteMC_MoveRelativeMC_MoveVelocityMC_MoveJog
unit of the axis
hard- / software limits
drive-up/-down ramp
homing
FC
A.
DB
B.
FB T-DB
InstanzDB Data type:
TO_Axis_PTO