Professional Documents
Culture Documents
APPLICATION NOTE
Omron ATC-Europe
Application Notes
Omron ATC-Europe
Application Notes
CONTENTS
1. INTRODUCTION
1. INTRODUCTION
Later it is explained how Omron can meet the requirements and offer a solution that
fits the application.
Every part of the machine is discussed in detail, it is explained the operation itself and
how to program this operation with the Omron solution. Some example programs are
provided too so, this document is an useful tool to help both, to select the suitable
Omron products according to your machine, and to program the products as the main
subroutines are pre-made.
2. MACHINE OVERVIEW
The pack is a soft plastic bag made from a roll of plastic film. See some
examples in the picture:
Fig. 1
The products are solid and they come at a fixed separation on top of a
conveyor in the horizontal direction. The plastic film is wrapped around
the film while the product is feed at a constant speed. The product flow
is continuous and for this reason it is possible to get high production
rates.
Although there are many variations and every machine has differences
from another one due to the OEM technology, the packaging material
and the goods to be packed, we can say that the horizontal flow
wrapper is one of the most standard machine into the packaging
market.
UNWINDER
Sensor for
empty coil LONGITUDINAL
SEALER
External
E encoder for slip
compensation
TRANSVERSAL
Registration
SEALER
mark
PRODUCT PRESS
INTRODUCTION BELT
MAIN CONVEYOR
Fig. 2
Some parts of the machine must always be present; some other varies
depending on the material used in the bags and on the goods to be
packed.
BRIEF DESCRIPTION:
The bag material comes from a plastic film coil that is unwinded. This
plastic film is wrapped around the product by some mechanical
elements called formers while the product is moving. This plastic film is
fed by the longitudinal sealer in synchronization with the product at the
same time that it seals the film creating a tube with the product inside.
This tube with the products inside must be sealed transversally (and
cutted transversally too) to form the individual bags. This sealing is
done on the fly.
* * *
The main conveyor is the responsible to feed the products to the rest of
the machine with a constant separation. Typically consist on a conveyor
with some spacers that are running at a constant speed called the “line
speed”. In each spacer there is one product so, the position of every
individual product is perfectly known.
This part of the machine usually runs at the commanded speed with no
corrections.
* * *
This part is the responsible to put the products from the production line
into the main conveyor. This device puts one product between two
spacers in the main conveyor.
PRODUCT INTRODUCTION
Sensors for product
adjustments
Product separators
Fig. 3
When the plastic film is of a single color or has a random design, the
movement is just a synchronization with the main conveyor but, if the
film has an specific design that must be in a defined position on respect
on the product, in this case it is necessary to superimpose a correction
to the synchronized movement, depending on the detection of a printed
mark in the film pattern.
Another topic to consider is the slip. When the longitudinal sealer moves
one turn, the plastic film usually moves a bit less than the sealer wheel
perimeter, and this difference depends on several factors as:
- The adherence of the material to be feed.
- The mass of the material to be feed, this factor is very
important when there is no unwinder system.
- The line speed. The faster speed, the more slip.
If the slip is compensated in one or other way, the corrections for the
mark will be very small. This is the desired behavior.
The last comment is that a few machine makers consider this axis as
the machine master axis, and the correction is done in the other axes.
This is not the most usual way of doing it, anyway.
* * *
The mission is to guide the product, this is specially important when the
machine is packing products that can move or roll easily because of
their rounded shape or its low weight.
* * *
The horizontal sealer consists on two rotary cylinders that have one, two
or four heated seal heads (in some machines this can be changeable to
pack a wider product range). A servomotor drives this cylinder.
This axis must be synchronized with the main conveyor during the angle
where the sealing is done, and must change the speed in the other
angles in such a way that during one sealing cycle of the sealer, the
main conveyor has fed one product.
This movement changes when the product length changes and/or the
number of seal heads changes.
* * *
THE UNWINDER
One optional device is the unwinder. For the smaller machines, the
longitudinal sealer is, at the same time, unwinding the plastic from the
coil. But this system is valid if the plastic coil is not very big and the
plastic is rather rigid so, it is not deformed by excessive tension during
the acceleration. Usually it exists some kind of accumulator system.
For bigger plastic coils and delicate material it is usual to have some
kind of unwinding system and a material accumulator. Those unwinding
systems tend to be very simple as no precision is required. Normally it is
used an AC motor with a frequency inverter in speed or PID control.
* * *
SPECIFICATION EXAMPLE:
ITEM VALUE
Bag Width 10 mm minimum up to 300 mm maximum
Bag Length 40 mm minimum up to 410 mm maximum
Bag high 1 mm min. to 90 mm max.
Machine Speed 120 pack/min (Single Horizontal sealer Jaw)
200 pack/min (Double Horizontal sealer Jaw)
Power Requirements 220-240Vac single phase, 4.5 KW
Film Width 650 mm
Maximum Roll Diameter 350 mm
Machine Finish Stainless Steel
Machine dimensions 4440mm L x 965 mm W x 1820 mm H
Available Option Film feed (Unwinder)
Print registration system
another axis (the master). All the correction must be made ‘On the fly’,
that is, while the machine is moving.
Main
conveyor MASTER
Speed
Time
Press belt
Speed
Time
Transversal
sealer speed
The rest of the axes will make their movements following the (virtual)
master. So, for the virtual master we need
- Speed control
The Press belt is running in synchronization with the virtual master axis.
So:
- Synchronization.
NS5-SQ11B-V2
MX2
UNWINDER
ETHERNET-IP
NJ301-1200
E
ETHERCAT
G5-ETHERCAT
G5-ETHERCAT TRANSVERSAL
PRESS BELT SEALER
G5-ETHERCAT G5-ETHERCAT
MAIN CONVEYOR LONGITUDINAL Fig. 6
SEALER
MOTION CONTROLLER
SERVO SYSTEM
4x R88M-K75030H-S2 750W,3000rpm
servomotor
4x R88D-KN08H-ECT 800W, EtherCAT
servodrive
4x R88A-CAKA005SR-E Motor power cable
4x R88A-CRKA005CR-E Motor encoder cable
4x R88A-FIK107-RE Filters
1x R88A-CNW01C IO connector (to
connect the
registration)
4x R88A-CSK003S-E Safety connector cable
(3m)
INVERTER
HMI
OTHER
3. MACHINE SECTIONS.
In this section it is described in detail the different sections of the machine and
the way of solving it with the Omron products. It includes technical description
of the different topics and references to the different program examples.
The main conveyor consists on a belt where the products are traveling
in predefined position. In most cases, this distance is guaranteed by
some mechanical
spacers in the belt
(see the picture). Product to be Spacer
That means that, for packed
changing the
product format, it is
necessary to change
those mechanical
spacers. In some
other cases, a
product introduction
system is the
responsible to do
that action. This axis
is the machine
Fig. 7
master, and is
working in speed
control. The speed of the machine is usually described in bags/minute
and is selected in the HMI. The rest of the axes in the machine are
making their movement in synchronization with this axis
In practice, it is better that the machine has a virtual master and the
main conveyor is linked 1:1 to this virtual master.
TECHNICAL HINT
What is a virtual axis?
A virtual axis is one axis that exists internally in a motion controller for computational
purposes. You can order any movement to this virtual axis as it was a real one and you can
read the position that is updated every motion cycle. In fact, a virtual axis can be considered
just a “profile generator”, based in the motion commands, a command position is generated
every motion cycle. As there is no position loop, the feedback position is equal to the
command position and the following error is zero.
VIRTUAL AXIS
MOTION
COMMANDS FROM
PROGRAM
MOVE...
CAM...
JOG...
PROFILE COMMAND = FEEDBACK
GENERATOR POSITION POSITION
The “command position in the virtual axis is used in the program for calculation, to add this
profile to a real axes, etc.
The actions that require the use of an external input (Latch, Pot/Not, …) are not available in
a virtual axis.
TECHNICAL HINT
Why we need a “virtual machine master”
When, in a machine, all the axes make movements linked to another axis that is the master, we have
two potential problems that are solved by the use of a virtual axis.
LONG.
SEALER
MAIN
PRESS
CONVEYOR
TRANSV.
SEALER
Transmitted vibration
If the Master has some undesired vibration, this vibration is transmitted to the slave.
Slave
Master Ratio 1:1 Speed
Speed
Time Time
The master axis tends to be a “low rigid axis” (material feed, conveyor) so, the vibration is smoothed
but the slave axes tends to be “high rigid axis” so, a small vibration tends to be amplified.
Synchronization delays:
When a slave follows a master the slave always has a certain delay due to bus transmissions,
conversions and adjustments.
The slave is delayed by a number of cycles compared to the master (although this can be
minimized by synchronizing with the master command, in case the master is a controlled
axis)
Master
Speed
Time
Ratio 1:1
There is Delay
Slave
Speed
Time
TECHNICAL HINT
With the use of a virtual axis, Those potential problems can be eliminated.
LONG
SEALER
TRANS
SEALER
VIRTUAL 1
MAIN PRESS
CONVEYOR BELT
Transmitted vibration.
“Real
Ratio 1:1 master”
Speed
Master
Speed
There is vibration
Time Slave
There is no vibration Speed
Time
Vibration is not transmitted
Synchronization delays
The “Real master” and the slave have the same delay so, no relative delay
Virtual
Master
Speed
Time
Ratio 1:1
There is Delay
“Real
master”
Speed
Time
There is NO Delay
Slave
Speed
Time
This is the code if we have a Virtual master axis and the Main conveyor
follows it
b. Longitudinal sealer
configuration.
If the plastic film has a certain design we have to put the design in a
certain position relative to the product, for this we need:
- To detect the difference between the real position of the
design and the expected position.
- To apply the correction while keeping the synchronization
COMPOSED MOVEMENT
Longitudinal
Registration Registration
Seal Speed
Total
movement
Time
=
Longitudinal SYNCHRONISATION
Seal Speed
Synch. With
master
Time
Phase
correction
+
PTP MOVEMENT
Time
Fig. 9
TECHNICAL HINT
Why the registration is needed?
When we have a design that must be centered in the pack, showing the brand logo, etc,
we can never guarantee that the ‘design length’ is exactly same that the ‘product length’.
Note that we use the word ‘product length but it includes the gap between products too.
Of course, both lengths are nearly same, but the precision is never infinite… And the
error is accumulative!!
For example, if the product length is 100mm (guaranteed by the spacers) but the real
pattern is 100.1 mm and we have no correction, we are accumulating an error of 0.1mm
per pack. Of course, in a few packs we will not note the difference but, after 500 packs,
we will have an error of 50 mm!!!
Using the mark, every pack we correct the difference between the desired position and
the real position of the mark respect on the product. The correction is very small and do
not affect to the dynamics. And besides, if we loose one mark some other time, nothing
happens, the error in one bag is very small and will be corrected in the next one.
∆d 50∆d 500∆d When the mark
is detected
here...
WITHOUT CORRECTION
… the product is
supposed to be here. Any
difference must be corrected.
Fig. 10
In Fig.10 you can see the displacement in the printed pattern when the
product is packaged without the print correction.
TECHNICAL HINT
How the G5 captures the registration?
The G5 has three fast registration inputs with a delay of about 7µs and two hardware latch circuits
(that means that we can capture two of them at the same time). This latch captures in real time the
position of the axis in the moment that the latch input has a rising edge.
The encoder in the motor is a serial encoder that sends its position every 82µs to the drive. The position
of the motor in the precise moment in which the mark arrived is the result of the interpolation between
two consecutive samples. The result is very accurated.
This value is sent to the motion controller via EtherCAT to apply the correction in a transparent way
for the user.
Position
82µs Time
The difference between the “registered” position (Where the mark is)
and the “theoretical” position of the mark (where the mark was
supposed to be) gives the phase that we must advance (or delay).
Note: All the pieces of code in this document have been tested and are
supposed to be correct but in order to guarantee a good
understanding of the main movements, the programs have been
simplified. In a real machine, the user must add the necessary
sequence handling, HMI interface, manual modes, stop/start
sequence, etc.
To make the proper comparison of the “real Latch position” with the
“expected latch position” and to avoid that the position counter is
counting-up indefinitely and reaches overflow (that is annoying to
handle), it is necessary to reset the count position back to zero after
every cycle. The command to do that operation is MC_SETPOSITION.
If the mark, for any reason, does not arrive, the feeder moves the
theoretical bag distance with no correction. One missing mark does not
affect to the operation of the machine because the error is small so it
continues working. But if we start missing many consecutive marks, that
means that something goes wrong (broken paper, dirty photocell, …)
and the machine must stop. For this, we keep a counter of “missing
consecutive marks” that is resetted when a valid mark is received.
TECHNICAL HINT
How the Full closed encoder works?
In many application we have a servomotor that is moving the material via a mechanical
transmission. Due to this mechanical transmission, the movement in the material do not
corresponds with the movement in the motor so we want to put an external encoder that is
measuring the real position of the material, and to make the positioning using this external
encoder as feedback.
The position loop uses the external encoder, but the other loops (speed loop and torque loop
follows the motor encoder, as it is shown in the drawing.
As a recommendation, if the slip is quite big, it is recommended to decrease the gains in the
position loop.
External Encoder
- +
P PI
Position + -
Reference
Position Loop
Motor Encoder
To activate the “Full closed encoder” in the G5, you have to change
next parameters:
− Pn001 (Object 3001.00hex)=6 “Enable Full closed control”
− Pn323 to Pn328 for the external encoder setup
Fig. 10
The press belt is moving simply synchronized with the virtual master at
a ratio of 1:1. The mission is to keep the shape of the bag and to avoid
that the product is moving on respect on the paper, as at this point of
the machine there is no spacers
that keeps the product in the right Plastic film tube Product
position. This is especially
important with products with round
shape that can roll.
Of course it is necessary to add all the sequence to start, stop, etc, but
the motion part is just this one.
The transversal sealer has to seal the bags in the transversal direction
while the packs are moving in the
conveyor so the pack is Sealer with two
completely sealed (and, normally, seal jaws installed
cutted at the same time).
2π ⋅ JawRadius
Natural _ sealer _ lenght =
N _ Jaws
So, if the product length is longer than the natural length of the sealer,
after the synchronization area the sealer must decrease its speed or
even stop.
If the product length is shorter than the natural length of the sealer, after
the synchronization area, the sealer must increase its speed.
And if the product length is equal to the natural length, the movement is
a synchronization 1:1.
Synchronization
during sealing angle
Sealer Speed
Speed
Master Speed
Speed
Natural_Lenght > Product Length
Time
Speed Natural_Lenght = Product Length
Time
Speed Natural_Lenght < Product Length
Time
Speed Natural_Lenght << Product Length
Time
Fig. 14
The limit condition between the last two cases (decreasing speed to
completely stop depends on the selected ramps but, in the limit, it is:
Time
Fig. 15
In practice, the shapes are not trapezoidal but S-shaped for smooth
movement. We draw trapezoidal profile just for the simplicity of the
explanation
We do not show here the complete calculation, but we will give a couple
of hints about the best way to do it:
and another one is the difference between natural length and product
length:
Time
=
Speed Synchronization:
Natural length=Product length
Speed
+
Adjustment=
Time
Time
This Movement starts just
after the synchronization Fig. 16
The Horizontal sealer needs to know the absolute position inside one
turn so it needs a homing system. One good alternative to the homing
system is to use absolute encoders, the big advantage is that it is
possible an automatic restart of the machine after an emergency stop.
e. The unwinder.
The unwinder is an optional device that not all the machines have. If
this device is not existing, it is the longitudinal sealer who is unwinding,
at the same time that feeds the plastic film.
Here you can see a diagram showing this last configuration: Unwinding
with a PID.
PID
Calculation Inverter
Setpoint
P gain External
A72
Process
Error Freq. Motor
I gain
+ A73
+
D gain Sensor
A74
Setpoint
via
EtherCAT
and
application
program.
Fig. 13
The advantage of one configuration like this one is that the unwinder
works independently of the rest of the machine.
A.78=100 (or other value) to select the limit level of PID effect
With this software tool you can make your application programs and
also you can access to the servodrives and inverter parameters from a
single connection point. It is also possible to make tuning, traces and
even frequency analisi in the servodrives.
Then, you can focus all your efforts in the machine operation itself.
Of course, the details change from one machine to another.
After power on, the machine goes to Standby mode, that is, all the
motors stopped and no movement. The machine operator can select
either to go to manual mode or automatic mode.
Manual mode is the mode used to prepare the machine (for example, to
pass the plastic film through all the machine) the operations that can be
done in this mode are:
- Homing the transversal sealer and the main conveyor.
- Jog the longitudinal sealer (forward & reverse) and stop
after the mark (not explained in the examples) and the
rest of the axes
- Make an individual bag operation
All those axes movements can be commanded from the HMI just by
setting the suitable bits, or can be commanded internally from an NJ
program.
If the machine operator push the stop button or other stop condition
occurs (as the ‘empty coil’ sensor), the machine returns to Standby.
If any error occurs, the machine performs an emergency stop and goes
to alarm status. When the error is corrected and resetted the machine
returns to Standby.
In this section we are going to discuss two advanced functions that the most
advanced machines have, that improves the performance of the machine and
add more functionality. That functionality is rather easy to implement with
SYSMAC NJ.
a. No product no feed.
NORMAL OPERATION
A product missed in the main conveyor
means an empty bag after the
longitudinal sealer.
Fig. 22
This strategy is valid if only one product is missing (so we do not have
to advance a big space in a short time) and the machine is not going to
full speed (so we have a margin to accelerate and speed up the main
conveyor.
- The rest of the machine stops and waits that the “empty product”
passes and re-start when the new one is coming.
LONG.
VIRTUAL SEALER
MASTER
PRESS BELT
AUXILIARY
VIRTUAL
MAIN
CONVEYOR
TRANSV.
SEALER
Fig. 23
Main
conveyor
Speed
No product Time
VIRTUAL
MASTER Speed
Time
AUXILIARY SYNCHRONIZATION
VIRTUAL
Speed
Time
Transversal
sealer speed
Fig. 24
1 Prod Time
The Main conveyor part remains as before. The code for theTransversal
sealer and press belt is the same with the only difference that, now, the
Master is the new Auxiliary Virtual master.
b. No gap no seal
It is possible that, occasionally, the product can move inside the pack
before the horizontal sealing is done. The reason why this may happen
can be, for example, that the product is defective, that the press belt is
not properly adjusted, etc.
If, in that situation, the sealing is done, the machine will be stopped
because the sealer crashes with the product. The possible effects
depends on the machine and the products to be packaged, but can be
serious like:
It is clear that, although this effect is not likely to occur, if this happens,
it is a big trouble that can stop the production during a long time so, it is
clever to find a way to avoid the situation.
! STOP
The solution is to detect the “gap” via the suitable sensor. That mean, to
verify that in the space dedicated to the sealing there is no product. In
this case the standard sealing is done.
On the contrary, if the “gap” is not detected, that mean that there is a
product in the sealing zone and we must skip one sealing operation:
Detection of next
product inside the
GAP
The next movement
Main must be a stop
conveyor MASTER during a product
Speed length
Time
Go to “Stop” position
Wait
Accelerate to
Transversal synchronization
sealer speed
For programming that, we will follow similar strategy that for the “no
product, no feed” functionality, that is, we execute a certain CAM table
that, normally is the normal cycle for the cut and, depending on the
information from the “gap sensor” when the current cycle finishes, we
will change the current CAM by a new one.
In the example above the signal for the gap detection is a local variable.
Use the suitable signal in your machine.
When designing the different CAMS, the sequence and the start
position of the sealer, consider that in the “Stop” position, the sealer
does not have mechanical contact with the product.
When a bag with no gap is coming we stop to a safe position and keep
stopped while products without gaps are coming. When the gap comes
again, we start a new movement considering the current stop position
and continue the cycle normally.
In fig 27 you can see a drawing with the movements in case of a “no
gap no seal movement”. In the example we draw a sealer with two Jaws
so, the natural length corresponds with 180º of the sealer cylinder.
Transversal
sealer speed
1 Prod
Fig. 27
Omron is the right partner to support you in automating your horizontal flow
wrapper machine.
The system is easy to install and to program. This shortens the machine
production time and simplifies the commissioning.
The program examples are available and can be used freely with the
understanding that are simply examples and the code can be used as a
guideline but needs to be adapted to the particular machine needs.
NOTES
Omron ATC-Europe
Josep Pla 2, Building B2, 10th Floor.
E-08019 BARCELONA
Spain