69
VAR Cutter = 31
‘************* Program ************
PGM 1
LBL FEEDCUT1
PRINT “Enter Feed Length “;
INPUT Feedlth
LBL Enterct
PRINT “Enter Total Parts Count “;
INPUT Targetct
BR Enterct, Targetct <= 0
LBL Mainloop
BR Webdone, ! IO Matsens
‘Production ends when the system
‘is out of material
MOVR Feedlth
‘Feed the material
HOLD 2
IO Cutter = 1
‘Turn on the Cutter output
DELAY 100
‘for 100 msec
IO Cutter = 0
‘Turn off the Cutter output
INC Count
PRINT “Parts Made “, Count
BR Mainloop, Count < TargetCt
PRINT “Batch Complete”
PRINT Count, “ Parts Made”
BR Alldone
LBL Webdone
PRINT “BATCH INTERRUPTED”
PRINT Count, “ Parts Made”
PRINT “Out of Material”
LBL Alldone
END
PGM
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from