You are on page 1of 6

S id e La b e le r

EI

La b e le r S witc h

M58 X0 the firstbe


should a lamultiple
rm M
( M64 ) of 16
STAR Emerge
Stop nc y Se
rvalf-pre
tion se
M64
CALL P1
Se
rvalf-pre
tion se Turn
e procon pr
e dure
No
lve dla be l signa l so
CALL P2
HMIa reac omman
de numbe (par)g Stop

CALL P3
Insta
tion lliza
Switc
P:2 h to HMI pa ge
( M1038 )
1ms switc
ing ma rk h
M1078
TMR T0 K5
PLSY order
Y0 pulse pulse
output, stop
output
stop maa nd
rk eva presesr
lf tion
T0
RST M1078
pulse
output,stop PLSY orde r
eva pre sesr
lf tion Y0 pulse
output
stop maa nd
rk
X0
RST M65
Eme
Stoprge nc y HMI(no
e l) la b

RST M210
la be lling s
igna

ZRST D1030 D1031


Y0 pulse
utput ouno Y0 pulse
c ouno
t Low cword utput
ting
wordHigh
MOV K2 D0
HMI recaomma
de anumbe (pag n
r)
MOV K0 D1
HMI
dmona reccaontro
omma
(c om n
l)
RST M58
STAR
M1078
TMR T0 K5
PLSY order
Y0 pulse pulse
output, stop
output
stop maa nd
rk eva presesr
lf tion
T0
RST M1078
pulse
output,stop PLSY orde r
eva pre sesr
lf tion Y0 pulse
output
stop maa nd
rk
La b e l m a in p ro g ra m

M64 M550 X1
ZRST D1030 D1031
Se
rvalf-pre
tion se labe l swit
c h(HMI) Produc
nsor t se Y0 pulse
utput ouno Y0 pulse
c ouno
t Low cword utput
ting
wordHigh
M51 HMI
e se t c ommand a re a r
ZRST D1 D4
la be l te st HMI
dmon comma
a (c om n HMI
a recontro d(re sec omma
t) n
l)
SET M100
la be lling s
igna
M100 run 1P
TMR T200 D500
la be ling
igna l s dispe
de la ynsing 1P

T200 pulse output


DPLSV D504 Y0 Y1
dispe
de la ynsing 3E pulse
ut outp (R)se
in25 rvo p
nne cno
t co
M101 pulse
2P output, run
DPLSY D504 D502 Y0
run 2L 3E 2L pulse
ut outp
M1029 la be l count a dd1
INCP D450
ES/
SC/ EX/
SA/ SS及
SX: la be l c oun
ting
PLSY、PLSR
指令脈波輸
RST M101
run 2L

M150
CALL P4
le ngth me a
sure aing
uto c ount
Te s t la b e ling c o ntro l

M51 M64
SET M210
la be l te st Se
rvalf-pre
tion se la be lling s
igna

ZRST D1030 D1031


Y0 pulse
utput ouno Y0 pulse
c ouno
t Low cword utput
ting
word High
M210
DPLSV D504 Y0 Y1
la be lling s
igna 3E pulse
ut outp (R)se
in25 rvo p
nne cno
t co
M101
DPLSY D504 D502 Y0
run 2L 3E 2L pulse
ut outp
M1029
RST M101
ES/
SC/ EX/
SA/ SS S及
X: run 2L
PLSY、PLSR
指令脈波輸
4H & 5L c a lc ula ting

M64 4H&5L c a n't be 0

> D550 K0 > D552 K0 ( M103 )


HMI 4H HMI 5L Se
rvalf-prese
tion la
ingbe l miss
a be/l no l
M103
> D1030 D550 INCP D41
la
ingbe l miss Y0 pulse
ouno HMI 4H missing la
a bel/ no l utput
t Low cword bel
ng c ounti
M103 no la be l solve d
> D1030 D552 RST M64
la
ingbe l miss Y0 pulse
ouno HMI 5L Se
rvalf-pre
tion se
a bel/ no l utput
t Low cword
SET M65
HMI(no
e l) la b

MOV K4 D1
HMI
dmona reccaontro
omma
(c om n
l)
MOV K2 D0
HMI recaomma
de anumbe (pag n
r)
M1000
>= D1030 K3000 RST M64
monitoring
sc re e nl op
of Y0 pulse
utput ouno Se
rvalf-pre
tion se
enorma
ned c onta t Low cword
RST M58
STAR

RST M210
la be lling s
igna

SET M65
HMI(no
e l) la b

MOV K4 D1
HMI
dmona reccaontro
omma
(c om n
l)
MOV K2 D0
HMI recaomma
de anumbe (pag n
r)
c o nve yo r c o ntro l
M64 M556
( Y2 )
Se
rvalf-pre
tion se cwitc
onve yor s
h(HMI) c onve yor
HMI s ta tus

M64 M65 X0
MOV K0 D40
Se
rvalf-pre
tion se HMI(no
e l) la b Eme
Stoprge nc y
X0 M64 M65
MOV K1 D40
Eme
Stoprge nc y Se
rvalf-pre
tion se HMI(no
e l) la b

X0
MOV K2 D40
Eme
Stoprge nc y
M65
MOV K3 D40
HMI(no
e l) la b

FEND

Turn o n p re p ro c e d ure

P1 M1000
Turn RST M65
e procon pr
e dure monitoring
sc re e nl op
of HMI(no
e l) la b
enorma
ned c onta
MOV K2 D0
HMI recaomma
de anumbe(pag n
r)
ZRST D1030 D1031
Y0 pulse
utput ouno Y0 pulse
c ouno
t Low cword utput
ting
word High
SRET

Ac tio n a fte r s to p

P2 M1000
Stop ZRST M100 M101
monitoring
sc re e nl op
of la be lling s
igna run 2L
enorma
ned c onta
SET M1334
CH0
)tput (Y0,Y1
pulse ou
pa use
SET M1335
CH1
)tput (Y2,Y3
pulse ou
pa use
SET M1078
PLSY orde r
Y0 pulse
output
stop maa nd
rk
SRET

P3 M1000
Insta RST M150
tion lliza monitoring
sc re e nl op
of le ngth me a
sure
enorma
ned c onta
ZRST D1030 D1031
Y0 pulse
utput ouno Y0 pulse
c ouno
t Low cword utput
ting
wordHigh
RST D518
stic
ngthke r le

ZRST D550 D552


HMI 4H HMI 5L

SRET

P4 M1000
aing
uto c ount MOV D1030 D518
monitoring
sc re e nl op
of Y0 pulse
utput ouno stic
ngthke r le
enorma
ned c onta t Low cword
MUL D518 K3 D552
stic
ngthke r le HMI 5L

DIV D552 K2 D550


HMI 5L HMI 4H

SET M150
le ngth me a
sure

SRET

P re -p e e le d c o ntro l

I201 M1000 Y0
RST M100
monitoring
sc re e nl op
of pulse
ut outp la be lling s
igna
enorma
ned c onta
Y0
RST M210
pulse
ut outp la be lling s
igna
Y0
SET M101
pulse
ut outp run 2L
IRET

END

You might also like