Practical examples
5-2-7
Bag feeder program
5-2-7-1 Example
A bag feeder machine feeds plastic film a fixed distance that is set by the
operator. The figure shows a typical bag feeder that is part of the machine.
Bag feeder machines have two modes.
•
Without mark: Forward feeds the film a set distance, for films of a flat colour
•
With mark: Forward feeds the film to a printed mark on the film.
The program in this section shows the typical code for a bag feeder machine.
Position
Bag_distance-expected_pos+REG_POS
Bag_distance
REG_POS
Speed
MARK=TRUE
MOVEMODIFY
MOVEABS
REGIST(1)
IN(start_signal)
'================================================
'BAG FEEDER program
MARK=FALSE
Mark not detected,
no correction
MOVEABS
REGIST(1)
WAIT IDLE
DEFPOS(0)
Section 5-2
Time
MOVEABS
Time
WAIT IDLE
DEFPOS(0)
339