Title: Technological tasks with SIMATIC
1Technological tasks with SIMATIC
S
IMATIC Technology
2SIMATIC Technology solves the following
technological functions
Functions
3Counting and measuring
- Event counting
- Continuous
- One-shot
- Periodice.g. for dosing
- Measurement of
- Lengths
- Frequencies
- Speeds
- Periodse.g. for speed control
Counting and measuring
4Counting and measuring with SIMATIC
Function
Product
Solution
Counting and measuring
5Counting and measuring with function modules
- Counter module FM 350-1
- One counting channel with two DI/DO each
- 24 volts, 5 volt sensor
- Maximum counting frequency 500 kHz (5 V) / 200
kHz (24 V) - Latch function
- Counter module FM 350-2
- Eight counting channels with one DI/DO
each or 2 proportioning channels with
1 / 4 DI/DO - 24 volts (ext. power supply), NAMUR sensor
- Maximum counting frequency 10 kHz with 24V
incremental encoders, otherwise 20 kHz
Counting and measuring
6Operating modes Overview
- BA 0 Continuous counting
- BA 1 One-shot counting
- BA 2 Periodic counting
- BA 3 Frequency measurement
- BA 4 Speed measurement
- BA 5 Period measurement
- BA 6 Proportioning
- FM 350-2 only
- Operating modes BA 0 to BA 5 (all modes except
proportioning) can be allocated to any channel
independently of one another (8 channels). - In "Proportioning" mode, channels 0 to 3 and 4
to 7 are combined into groups (2 proportioning
channels).
Counting and measuring
7Continuous counting (BA 0)
- Once the gate has been enabled, continuous
counting begins with the start value. - When the counter reaches the upper counting limit
during up counting, it jumps to the lower
counting limit and continues counting from there
without any pulse loss. - When the counter reaches the lower counting limit
during down counting, it jumps to the upper
counting limit and continues counting from there
without any pulse loss. - When the comparison value is reached, a digital
output can be set or reset and/or a process
interrupt triggered without regard to parameter
settings. - Counting width 32 bits
Counting and measuring
8Single-shot counting (BA 1)
- When the gate is opened, the pulse trains are
counted once only. - If the main counting direction is up, the count
proceeds from zero toward the end of the counting
range. - If the main counting direction is down, the count
proceeds from the beginning of the counting range
toward zero. - When the comparison value is reached, a digital
output can be set or reset and/or a process
interrupt triggered without regard to parameter
settings. - Counting width 32 bits
Counting and measuring
9Periodic counting (BA 2)
- When the gate is enabled, periodic counting
begins within the configured counting range. - When the counter reaches the end of the counting
range during up counting, it jumps back to zero
and counts from there periodically without any
pulse loss. - When the counter reaches zero during down
counting, it jumps back to the specified start
value and counts periodically from there without
loosing any pulse. - When the comparison value is reached, a digital
output can be set or reset and/or a process
interrupt triggered without regard to the
parameter settings. - Counting width 32 bits
Counting and measuring
10Frequency measurement (BA 3)
- When the gate is enabled, all pulses occurring
within a specifiable time window are counted. - Each time a time window expires, the computed
frequency is updated. - It is possible to specify 2 frequency comparison
values - Lower limiting value
- Upper limiting value
- Frequency range max. 10 kHz
- Time window 10 ms to 10 s (programmable)
Counting and measuring
11Speed measurement (BA 4)
- When the gate is enabled, all pulses arriving
within a specifiable time window are collected. - Each time a time window expires, the computed
speed is updated. - It is possible to specify 2 speed comparison
values - Lower limiting value
- Upper limiting value
- Frequency range max. 10 kHz
- Time window 10 ms to 10 s (programmable)
Counting and measuring
12Period measurement (BA 5)
- Acquires the exact amount of time between rising
counter edges - A positive edge at the gate input starts the
period measurement, a falling edge terminates it,
and the computed value is retained until the next
enable. - It is possible to specify 2 period comparison
values - Lower limiting value
- Upper limiting value
- Measuring range 100 µs to 120 s
Counting and measuring
13Proportioning (BA 6)(FM 350-2 only)
- When the gate is opened, the proportioning
functions are counted on a one-shot basis. - In this mode, 4 of the module's counting
channels are combined into one proportioning
channel. - When the main counting direction is up, the count
proceeds from zero toward the end of the counting
range. - Four comparison values may be specified for each
proportioning channel. - When the comparison values are reached, the 4
digital outputs can be set or reset and/or
process interrupts triggered in dependence on the
parameter settings. - Counting width 32 bits
Counting and measuring
14Counting and measuring with application modules
FM 352-5
- FM 352-5
- High-speed Boolean processor
- Integral I/O
- Cycle time 1 µs
-
Counting and measuring
15Positioning
- Positioning methods
- Rapid traverse/creep feed
- Position control
- Multi-axis continuous-path controls
- Synchronized applications, e.g. for positioning
axes and palletizers - Control of drives
- Servo motors
- Stepper motors
- Asynchronous motors
Positioning
16Positioning with SIMATIC
Function
Product
Solution
Positioning
17Positioning with FM 351, 451 rapid
traverse/creep feed drives
- 4 outputs per axis
- Rapid traverse/creep feed
- Forwards, backwards
- Low price
- Through use of low-cost rapid traverse/creep
feed drives -
Positioning
- FM 451
- For 3 axes
- FM 351
- For 2 axes
18System overview
MPI
SIMATIC S7-300
P P
HMI
Machine
FM 351
Field PG
OP
Positioning
.
M
C
P
U
- STEP 7 programming
- FM parameter initialization
- Sequential control
- Start/stop positioning
- S7 CPU interfaced to FM via technology function
block
- Position encoderSSI absolute,incremental
19Positioning with FM 353, 354stepper/servo motors
- Exact positioning with stepper motors
(pulse/direction interface) - FM 353 (1 axis)
Positioning
- Position control with maximum precision and
dynamic response using servo motors (/-10 V) - FM 354 (1 axis)
20Functional Diagram --- FM353
Power section for stepper motors
MPI
CPU
FM 353
FM STEPDRIVE
PG, PC
OP
Positioning
SIMOSTEP stepper motor
Human-machine interface Fault diagnosis
Drive interface STEP Pulses, direction signal
STEP 7 programming FM parameterizing
Sequence control Starting/stopping of positioning
21Functional Diagram --- FM354
MPI
PG/PC
OP
Positioning
SIMODRIVE 611U
Human-machine interface Fault diagnosis
Encoder interface SSI/incremental
servo motor
STEP 7 programming FM parameterizing
Drive interface /- 10V
Sequence control Starting/stopping of positioning
22Intelligent motion controlFM 357-2
- Interpolation, synchronization for four axes
- Low wear through jerk limitation
- Safety and precision through "look-ahead"
- Optional drive interface
- /- 10 V analog
- Pulse/direction
- PROFIBUS DP
Programming according to DIN 66025 or in
high-level language
Positioning
23Automation concept for multi-axis operation
Positioning
24Possible configurations
Positioning
- Max. 3 FM 357-2 per CPU (max. 1 FM with Firmware
version H) - Central or distributed configuration
- Local bus segment with up to 2 I/O modules for
fast reaction(on right side of FM only !)
25Ordering Data
- FM 357-2 Hardware 6ES7357-4AH01-0AE0
- FM 357-2 L Systemfirmware 6ES7357-4AH03-3AE0 on
coded memory card configuration package - FM 357-2 LX Systemfirmware 6ES7357-4BH03-3AE0 on
coded memory card configuration package - FM 357-2 H Systemfirmware 6ES7357-4CH03-3AE0 on
coded memory card configuration package
Configuration Package (german, english, french,
italian)contains parameterization tool,
electronic documentation, S7-Technology blocks,
OP-Example masks - Printed Manual 6ES7357-4AH00-8?G0(germanA,
englishB, frenchC, italianE) - Edit-FM Program editor (stand-alone) 6FC5263-0AA03
-0AB0(suitable for FM 353/354, FM 357 and FM
357-2) - copy protected, including backup-function for
series commissioning and module exchange without
PG/PC
Positioning
26Synchronization of axes Master value coupling
and table interpolation
Positioning
27On-the-fly measurement with Hot-spot area
Positioning
28Restart after emergency stopRapid restart
Positioning
29Spline interpolation Complex path control
using points
Positioning
30Gantry function High-quality portal movement
without canting
Positioning
31Path velocity dependent analog output
Positioning
32Synchronous actionsMotion control with Interrupts
Positioning
33Handling functionsTeach in
Positioning
- Teach in of robots and handling machines using
the PHG or HT 6
34Handling functionsCoordinate transformation
Positioning
- Coordinate transformation for SCARA- or
Articulated-arm systems like robots and handling
machines
35Closed-loop control
- Miscellaneous closed-loop control structures
- Fixed setpoint control
- Follow-up control
- Cascade controls
- Ratio controls
- Automatic blendingcontrols
- Analog variables
- Pressure
- Flow
- Temperature
Closed-loop control
36Closed-loop control with SIMATIC
Function
Product
Solution
Closed-loop control
37Why to use a hardware controller?FM 355 PID
Control
- SIMATIC FM355 controller offers a lot of
benefits - Backup facility
- Continuation of closed-loop control in the event
of stop or CPU failure, function module
continuous work with follow-up mode or safety
mode - Saves CPU-Resources like e.g. Memory
- Suitable Peripheries onboard
- A lot of possibilities for value acquisition
- All current types for control elements
- Control structures and processing functionscan
be adapted comfortable through parameter
assignment
Closed-loop control
38FM 355, FM 355-2 backup controllers with
self-optimization
- FM 355 C
- 4/16 closed-loop controllers, each with 1 analog
output - For actuators with proportional action
(continuous output) - FM 355 S
- 4/16 closed-loop controllers, each with 2 digital
outputs - Either for actuators with integral action
- Or binary trigger actuators with proportional
action - With/without position feedback signal (step
controller) - FM 355-2 specialized for temperature control
- PID controller with integral self-optimization
- Enhanced accuracy
- Cycle times and Resolution fix on 100 ms and 14
Bit
Closed-loop control
39PID temperature control Application example
thermoform molding
- Pilot use in heat-sealing machine
Closed-loop control
40Cam controls
- Function switchdepending on
- Position
- Time
- Speed
- Integral I/O guarantees fast response
-
- Examples
- Presses
- Packaging machines
- Wood processing
Cam controls
41Cam controls with SIMATIC
Cam controls
42FM 352, electronic cam controllers
- 128 cams on 32 traces
- Onboard digital outputs
- 13 for FM 352
- Highly flexible
- Online modification of parameters
- Many different encoders can be connected
- Super-fast
- 20 µs response time for maximum accuracy and
repeatability
Cam controls
Technische Folien
43FM 352-5 high-speed Boolean processor
- Cycle time 1 µs
- Integral digital I/O
- 16 DI, 8 DO
- Connection facility for position encoder
- SSI, incremental 5 V /24 V
- Programming
- In LAD or FBD with command/block library
Cam controls
Technische Folien
44System integration
Cam controls
45Comparison of Program Execution between an FPGA
and a PLC
Cam controls
46Fields of Application
- Fast response speed applications
- For example, for equipment automation with high
clock-pulse rates (cigarette manufacturing,
packaging industry, etc.) - Applications with a maximum absence of jitter
- Applications that for performance reasons can no
longer be accomplished using a standard PLC
Cam controls
47Speed Measurement
- Objective
- Determine vehicle speeds of up to 300 km/hr using
two photoelectric barriers - Accuracy lt0.1 (lt5 µs)
Cam controls
48Solution for example Speed Measurement
- How speed measurement is accomplished
- An internal base frequency of 500 kHz is
generated - A detection by the first light scanner triggers a
counter with the generated base frequency - A detection by the second light scanner stops the
counter - The count can be read and be converted into speed
Cam controls
49Homepage www.siemens.com/simatic-technology
Internet