Bosch 6000 User's Guide Page 187

  • Download
  • Add to my manuals
  • Print
  • Page
    / 268
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 186
172
6000 Series Programmer's Guide
Compiled Motion — Sample Application 2
Here’s an example of replacing a mechanical cam using a compiled Following profile. There is
evenly spaced product coming in on a feeder belt. The feeder belt may vary in speed. The cam
that you are replacing controls a push arm that will push the product into a box for shipping.
You would also like the arm to retract at a faster rate than it extends. In other words, you
would like to have a smooth push to load and a fast retract to set up for the next product.
Since this is a cam, this profile must repeat continuously for each product or master cycle but
won’t start until the first product is detected.
Product
Product
Detecter
Push Arm
Box
The feeder belt is the master and the master cycle length (space from the front of one product
to the front of the next) is 12000 master (encoder) counts on the feeder belt. The push of the
product will start 2000 counts into the master cycle. The push will take place over 6000
master counts, and the retract over 2000 master counts. The distance the push arm (slave)
must travel is 4000 counts. Assume the detector is wired to trigger A. Below is a graph of
this Following profile.
Profile
1
Ratio
Master Distanc
e
0
2
3
2000 8000 10000 12000
D(slave) = 4000
D(slave)
= -4000
Program
; Setup code
FOLMAS21 ; Master is coming in on encoder 2
FOLEN1 ; Enable Following
INFNC17-H ; Assuming input 17 is trigger A (1 axis products)
INFEN1 ; Enable inputs
; Motion program
DEL EXPL2 ; Delete program (in case it already exists in memory)
DEF EXPL2 ; Begin definition of program example 2
TRGFNA1 ; Launch profile upon receiving trig A
; (1st product detected)
PLOOP0 ; Loop continuously to mimic a mechanical cam
; Program first move - dwell
FOLRN1 ; Set up ratios - numerator
FOLRD1 ; and denominator
FOLMD2000 ; Over a distance of 2000 master steps
D0 ; slave will not move
FOLRNF0 ; and end at zero ratio
GOBUF1 ; Build motion
Page view 186
1 2 ... 182 183 184 185 186 187 188 189 190 191 192 ... 267 268

Comments to this Manuals

No comments