Bosch 6000 User's Guide Page 196

  • Download
  • Add to my manuals
  • Print
  • Page
    / 268
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 195
Chapter 5. Custom Profiling
181
Sensors
3" 4" 4" 5" 5"3" 4"
1
2
3
3"
3"
Program
(portion
only)
VAR1=0 ; Initialize product count
VAR2=0 ; Initialize move distance variable
VAR3=0 ; Initialize velocity
A10 ; Moderate acceleration
MC0 ; Start with preset move
WHILE(VAR1<5 AND VAR2<18) ; Loop until cycle complete
WAIT(IN.1=B1) ; Wait for start of next product
VAR1=VAR1+1 ; Update product count
IF(IN.2=B1) ; If not a 3" product
IF(IN.3=B1) ; If it is a 5" product
VAR3=5 ; Set velocity
VAR2=VAR2+5 ; Update distance
ELSE ; If not 5", must be 4"
VAR3=4 ; Set velocity
VAR2=VAR2+4 ; Update distance
NIF ; End of 5" case check
ELSE ; 3" inch case
VAR3=3 ; Set velocity
VAR2=VAR2+3 ; Update distance
NIF ; End of 3" case check
V(VAR3) ; New velocity
D(VAR2) ; New distance
WAIT(IN.1=B0) ; Wait for end of this product
GO1 ; Implement new distance and velocity
NWHILE ; Sampler-pak completed product detection
WAIT(AS.1=B0) ; Wait for move to complete
OUT1 ; Output to indicate stacking complete
Page view 195
1 2 ... 191 192 193 194 195 196 197 198 199 200 201 ... 267 268

Comments to this Manuals

No comments