76
S TART
E xec ute feed , turn
cutter ON /OFF,
inc rem ent run ning
cou nt
M ac hine o perator
ente rs feed length a nd
batc h cou nt into HM I
Feed m aterial
Ou t
of
m ate rial?
B atch
com pleted ?
R egistratio n
M a rk
D etecte d?
E ND
Y E S
Y E S
Y E S
N O
N O
N O
A
A
Figure 12.8: Registration Application Flowchart
R e g i s t r a t i o n P r o g r a m C o d e
‘******** Parameter Setup ********
MUNIT = 51200 ‘One inch per rev @ 1/256 microstepping
VI = 0.500 ‘Base speed 1/2" per rev
ACCL = 50
DECL = 50
IOS 21 = 9,0,0
‘IO 21 is Start Input
IOS 22 = 10,0,0
‘IO 22 is Stop Input
IOS 23 = 0,0,0
‘IO 23 is Material Sensor
IOS 16 = 0,0,1
‘Differential IO point configured as registration
‘sensor input.
IOF 10 = 0
‘Give IO Group 10 highest speed response - 100ns
IOS 31 = 0,1,0
‘Cutter output: GP, output, low true
VAR Speed
VAR Feedlth
VAR Matsens = 23
VAR Cutter = 31
VAR TargetCt
‘Number of parts to make
VAR Count = 0
‘Running total
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
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from