Int ern at i onal  Journ al of  Advance s in  A p p li ed Sciences ( IJ A AS)   Vo l.   7 , No .   4,   Decem ber   201 8 , p p.   322 ~ 333   IS S N: 22 52 - 8814, DO I: 10 .11 591/ijaas .v 7 .i 4.pp3 22 - 333          322       Journ al  h om e page http: // ia es core .c om/ onli ne/index .ph p/I JAAS   A utom ation of  DM PS   M an ufacturin by  us ing  L ab V iew &   PLC       F. F areez a 1 C hunch Ra m b ab u 2 ,   S.  Krish naveni 3 , Abel  Ch erne t Ka biso 4   1,3 Dr.  M.G.R .   Ed uca t iona l   &   Res ea rch   Instit u te, Chenna i ,   Ind ia   2,4 Arba  Minch   Univer sit y ,   Arba   Minch  21 ,   E thi o pia       Art ic le  In f o     ABSTR A CT   Art ic le  history:   Re cei ved   A pr   24 , 201 8   Re vised  Jun ,  201 8   Accepte J ul   28 , 2 01 8       Thi Pap er   is  to   ena bl the  Sieme ns  (Program m abl e   Logic   Control)  CP 313 - 5A  to  comm unic ate  wi th  th e   Lab  VIEW   and   to   cont rol   th pro c ess  accurac y   b y   imag proc e ss ing.   The   comm unic at ion  b etw ee CP 313 - 5A  and  La b   VIEW   is  v ia  OP (OLE   for   Pro ce ss   Contro l). Pr o ce ss   Ac cur a c y   is  a chieve d   with  th use   of   La bvi ew  Im age  Proce ss ing  and   Gra y   Sca le  m at c hing  Pat te rn .   Acc ura c y   in  th gra y   sca l m at ch ing  will   pur ely   d epe nd  on  th c alibra ti on   of   the   ca m era  with  respe ct  to  the   co rre sponding  ima ge.   The   d igi t al   o utput   from   the   l abvi ew   is   c om m unic at ed  to   PLC   vi a   Et h ern et   Protocol  for   t he  industrial   proc ess  con trol.  W it th use   of   La bvi ew  th e   dead  ti m e   whil e   using  th norm a l   image  vision  m odule   in  PLC  ca n   be  m ini m iz ed .   La bvi ew  uses  the   gra y   sc ale   m at chi ng  t ec hn i que  which  is  m ore   a cc ura te   than  the   norm al   i m age   vision  m odule   used  in   PLC   Ke yw or d:   Cam era   Ether net   Lab View   PLC   Pr oc ess C on t rol     Copyright   ©   201 8   Instit ut o f Ad vanc ed   Engi n ee r ing  and  S cienc e   Al l   rights re serv ed .   Corres pond in Aut h or :   F.  Fa reeza   Dr .  M. G. R.  Ed ucati on al  &  Re search  Insti tute ,   Chen nai,  India .   Em a il far eeza f ay az@gm ai l.c om       1.   INTROD U CTION   To  a uto m at t he  DMPS  m ixing   sta ti on   for  achievin bette accu racy  in  the  proce ss  with  the  us of   Lab view  Im ag Acquisi ti on   m od ule  and  P LC   Ma chine  vi sion   is  br oa te rm Ma ny  m at he m at ic a t heories,  i m age  acq uisit ion ,   im age  pro cessi ng  a nd  a na ly sis,  et c.  for m   the  whole   m achine  visio w or l d.  The re fore,   to   def i ne  m achin visio is  a   di ff ic ult  ta s k,  if  t hese  t hings  a re   co ns ide re d.   P ages  a nd  pa ges   co uld  be   wr it te on   these d iffe re nt top ic s.   F or  this   reas on,  t he  m ai c on ce ntrati on o f   this  t hesis d oc um ent  was  to  de vel op  si m pl e   m achine  visio ap plica ti on   us in s of twa re   read il avail able  in  the  m ark et T he  softw are  us e in  t his  thesi s   pap e r was  La b -   VI E W.  Howe ver, the   b asi r equ i rem ents to  un der sta nd a  m achine  visio n sy ste m  are  dis cusse in the f or thc om ing  secti ons .       2.     LIT ERATUR E SU RV E Y   It  is  re ported   t hat  m ere  ph ysi cal   exam inati on   a nd  La borat or s ham bling   repor is   not  he lpf ul  in  t he   Pr oc ess  A ccu r acy The  re aso be hind  it   wa the  at m os ph e ric  co nd it io ns   especial ly   the  tem per at ur a nd  the   m oister  con te nt   m ay   aff ect   th Process  acc uracy   Anj al i   Seta ( 20 14),   disc us se a bout  th var i ous  a dv a ntage s   on  La b view - P LC  based   pro cess  co ntro f or   sm al stat in  with  di gital   inputs  via  Modb us   com m un ic at io Pr ot oc ol  [ 1].  F or syt et   al   (2009 c on t rib uted  a   m et ho w her e   m easur of  Im age  Col or  in   gray   scal e   patte r wh ic is  m or accurate  tha Col or   m at c hing  Tec hn i que  by  Com par ison   with  re fer e nce  im age  [2 ] .   Papa dopoul os ,   et   al   (20 08),   desc ribe novel  a ppr oac t a uto m at e an  i ndus tria proces by  the   Im age   m at ching   Tec hniq ue  with  t he   us of  se par at i m age   acqu is it ion   m od ule  [ 3].  Siem ens  Indu st rial   Au t oma ti on (20 08)  e xp la in ed  the  operati on  of   t he  CP 315 -   Se ries  ty pe  of   Program m able  con t ro ll ers  [ 4] N.   N.   B arsoum ,   et  al (2 01 1)  e xpla ins r em ote co nt ro l a pp li cat ion over a wid e area which is  co m m on ly  u sed  i in dustrie these   days. Ethe r net m od ule w as  use f or  ac hievi ng r em ote co ntr ol [5].   Nargal ka A kshay , et al (2005), is to e nab le   the A ll en  Bra dl y PLC  ( P rog ra m m able Log ic   Con tr ol)  SLC - 500  t c omm u nicat e w it h t he    Evaluation Warning : The document was created with Spire.PDF for Python.
IJAAS     IS S N: 22 52 - 8814     Autom ation of  DMP SM anufac turin g by  us in L abVie &   PLC  ( F. F ar ee za )   323   Lab  V IE W.   T he  c omm un i cat ion   betwee S LC - 50 a nd  L ab   VIE is  vi O PC  ( OLE   f or  P ro ces C ontr ol).   Dev el op m ent  of  O PC  us in RS  Lin u OP C   Ser ve r.  OP C   i an   in dustry  st and a r pro vid e real   tim plug - a nd - play   softwa re  te chnolo gy  for   process  c ontr ol  an fact or a ut om a ti on   [ 6].   F ai rch il d,  M.  ( 2005 ).   P r opos e d   ne w   featur e  of C olor m at ching  Tec hn i qu e  b y C om par ison   with  a ref e re nce im age  [7 ] .       3.     DMPS     DMPS  (D im eth oxic   P rop on ic   aci d)   is  m ixed  gr a dual ly   unde co ntr olled  te m per at ur with   Edib le   Oil  (S un flo wer)  for  bette qu al it y.  For  t his  proces 12  To of  E dib le   Oil - Sunf l ower   is  ta ke f or  batch i it 12K of   Sun flo wer   oil  co ncen t rated  with  120  Gr am of   DM PS  s olu ti on  is   m ixed  gr a du al ly   un de c ontr olled   tem per at ur e F or   t he  pr e par at ion   of  DMP con ce ntrate S unflo wer  oil  12kg  of  oil  is  ta ken  in  vessel   (sm al l   ta nk)  an it   wa m ai ntained  at   650  with  th us of  heate coils  then  DM PS  So l utio is  do s ed  gr a dual ly   to  it  with  t he   us e   of  dosi ng  pu m p.   Durin this   pr ocess   the   c olou of  t he  s unfl ower   oil  in   the   t ank  gets  c ha nged  due   the  c on ce ntrati on  of  DMP S.  Wh e the   C olour   of  t he  DMP Co nce ntrated   Sun flo wer  Oil  gets  c hange t Lim colo ur   t he  cam era  will   sense  it   and   se nd t he   sign al to  La vie .T he  c omm and   f ro m   the  la vie w il be  com m un ic at ed  to  P LC - Sim e ns   CP 315 - wh ic gove rn s   th w ho le   process   with   the  us o f   la dd er  lo gic   pro gr am m ed  in it .   Fo r   the   prep ara ti on  o f   DMP S co nce ntrate S unflo wer  oil 1 2kg  of o il   is  ta ken  in  a  v essel  ( sm all  ta nk)   and  it   was   m ain ta ined   at   65 wi th   the   us e   of   heater   coils  then   DM PS   S ol ution  is  dose gra du al ly   to   it   with   the  us e   of  do si ng   pum the  c on t ro of   t he  dosin pu m p,   A gitat or   a nd  dos ing   pum is  go ve r ned   by  the   PLC  Om ro n - C pm 2a. Tem per at ur e   c on t ro l   of  t he  ve ssel  is  c ontrol le local ly   with  t h us e   of   te m per at ur c ontrolle r   with  si gnal from   tem per at ure  tra ns m i tt er  connecte with  RT D - P T1 00.T he  sta t us   sig na of  t he  te m per at ure   con t ro ll er is  g i ven to t he  P LC Om ro n - Cpm 2a  f or  t he  c on t rol  o f  the  process .   As  t he  c oncent rati on  of  DMP inc reases   the   col or  of  t he  s unfl ow e Oil  ch ang e to   li m c olor  wh i c is  sense with  the  us of   cam era  an the  im age  is  proce sse in  la bvie a nd   t he  sta tus  si gn al   is  s har e t PLC   for fu rthe act ion via  OP C   ser ver o la bvie w   wh i c is  receiv ed by PLC  via  OP C cl ie nt .         Fig ure   1 .   Bl oc k Diag ram       Evaluation Warning : The document was created with Spire.PDF for Python.
                          IS S N 2252 - 8814   IJAAS    Vo l.   7 ,  No.  4, Decem ber   20 18  32 2     333   324       Fig ure   2 .   Proce ss D ia gr am       3.1 .     Process  Seq ue nce   1.   Pu s bu tt on  O N - ):A gitat or Do si ng  P um and  Heate ge ts  powe redhea te r   us es   sep ar at tem per at ure   con t ro ll er l oop uses  tem per at ur e  Co ntr oller   2.   Cam era Starts  sensing a nd  w hen it  r eac hes  t he req uire c ol our  it   passes  t he  sig nal to plc   via La b view   3.   Wh e Im age  and   te m per at ur e   sat isfie condi ti on   agita to an dosin pu m stop a nd   t he  ou tl et   act uato r   sta rts drop ping       3.2 .     Te chniques  U sed   1.   PLC  Siem ens  CPU  315 - A us es Lad de L og i c Pro gr am m ing   with    2.   Step - L ogic  L abV ie w Uses  Gr a phic al  p r og ram m ing   3.   PLC - La bV ie w C omm un ic at io is  with t he us e of La bV ie w OPC  Se r ver an d Om ro C X - On e  Se rv e r       4.   COMPO NEN TS OF  M ACHINE  VISIO NSYSTE M   m achine  vis ion   syst em   t ypic al ly   con sist of   m achine  vis ion s of t war (m achine  visio too ls an a   ca m era  (im age   acqu isi ti on  de vice).  B utm any  oth ert hingsne edto beconsi de redforam achinev isi on syst e m .Eacho f   the  com ponen t h as  it ow sign ific a nce.  S no ne  of   th e   com po ne ntsc an  be   isolat ed   or   s eg reg at e d.  The  i m po rtant c ompone nts ar e  d is cusse in bri ef i the  foll owin gsub - sect io ns .     4.1 .     Ill uminat i on   Illum inati on   re fer to  t he  li ght  source that   are  avail able  arou nd   t he  ob je ct   being   a nal yz ed.   It  is   sign ific a nt  that   the  obj ect (s unde a naly sis  be   cl early   visibl to  the   im age  acqu isi ti on  devi ce.  It  e ns ures  that  m uch   of   the   in form ation  is  re ta ined   in   the   a cqu i red  im age,  an no  m uch  im age  processi ng  nee ds   t be   do ne;   thu s  m aking  th e m achine v isi on appli cat ion  si m pler  to  de ve lop .   Illum inati ng   obj ect (s)   does  not  m ean  avail abili ty   of   hu ge  a m ou nt  of  li ght  around  t he  ob j ect it   ref ers   the  li gh ts  to  be   adjuste in  pro per   way.  Prop e il lum inatio ni nvolv e the   righ inte ns it and   c orrect  d i recti on  of  li ght.  It  s ho uld  be   done   in   way   that   sh a dow   f or m at ion  is  c hec ked  a nd   m axi m u m   cont rasts  ca be   ac hieve from  the r egi on  of interest   of  the ob j ect (s ).   ( Mo -   vim ed  cus tom  i m aging  s olu ti ons,  20 07. )   The  li ght so ur c es  m ay  b e flu oresce nt li ghts o LE li ghts o r  h al ogen  li ghts , etc. LED  li gh ts are m or pr e ferred   ove r   the  oth er   ty pe of  li ght  sources because   of  their   lo ng  li fe  an le ss  energy  c on s um pt ion .   Dep e nd in g upo the  ar rangem ent of li ghts, il l um inati on  can   be direct   or  i nd irect .         Evaluation Warning : The document was created with Spire.PDF for Python.
IJAAS     IS S N: 22 52 - 8814     Autom ation of  DMP SM anufac turin g by  us in L abVie &   PLC  ( F. F ar ee za )   325   4.2 .     Ima gea c quisi t ion   Im age  acqu isi ti on   is  t he  m os i m po rtant  pa rt  in  m achin visio syst e m It  inv ol ves  captu rin a i m age  of   t he  obj ect   t be  a naly zed  with   the  help  of  cam era.  Dif fer e nt  ty pe of  cam eras  can  be  us ed   f or  i m age  acqu isi ti on;  th ey   can  incl ud e   an  ordina ry  m ob il ca m era ty pical   di gital   ca m era,  or  even  web ca m But  ca m eras  that  are  ta il or e s pe ci al ly   fo in dustria us are  a lso  avail able.   Dep e ndin on   the  sens or  te ch no l ogy   us e d,   dif fer e nt  ca m eras can be  classi fied  i nto   two  cat e gories  as foll ows:     CM OS   cam eras     CC cam eras   “The  se nsors  cou l be  m at rix  sen sors  or   li ne  sen sors.  A i m age  sensor   conve rts  an  opti cal   i m age  i nto   a el ect ro nic  sig na l”     Choosin m achine  visio ca m era  can  be  di ff ic ult  ta sk.  H ow e ve r,   reso l ution ,   sen sit ivit y,  an ty pe  of   ca m era - m on ochro m or   col or ,   sho uld   be  co ns i der e wh e bu yi ng  one.  (A L LIE Visio Tec hnol og ie GMBH,  2006. )   Also ,   the  i nterfac the  cam era  us es  f or   c omm un ic at ion   shou l be  co ns i de red.  T he  a vaila ble  inter faces  include   US B,  Ethe rn et ,  Fire wire,  et c.     4.3    CCD C ameras   CC (Cha rge - co uple Dev i ce)  cam era  us es  the  CC se nsor  te c hnology.  The  m ai featu res  of  thes e   sens or s  ( a nd  he nce cam eras)   are li ste as  fol lows .  (Visi on  Syst e m s O y. 2012. )   The  m os com m on   ca m era  sensors  In - c om in cha r ges  are  store E qu i valen to  fil m of   tra diti on al   film   ca m eras.   Con sist   of p i xe ls wit a  ty pical  size of 1 0µm  x   10 µm .     These a re  both  colo a nd m on ochr om e.     These a re lig ht - sensiti ve  d i ode senso rs.       Each  pix el   has   a m ic ro - le ns  fo f oc us -   in the  li gh t i nt t he  s ens or  s urface .     Disad va ntage of   these  sens or s is the  possibil it y of   ov e e xpos ure .           Fig ure   3 .   CC D  Cam era       4.4 .     Depth  of F ie ld   Dep t of  Fiel (DOF is   the   m easur e   of  the   di sta nce  betwee t he  nea rest  a nd  the   fa rthe st  obj ect s   in   a   scene t hat can   be  ca ptured  b the cam era an d be acce pta bly sharp i the  im age      4.5 .     Constr ucti on   of t he  S t ati on   The   syst em   con sist of  cy li nders sens or s,   m oto r   as   the   ph ysi cal   c om po ne nts.   As   the   PLC  us e i the  sta ti on   re quires  a dd it io na sign al   m od ul es  for  the  I/O  (in pu ts  a nd   ou tpu ts)  de vices,   sign al   m od ule fro m   Be ckhoff  ( w w w.beck hof f. c om was  us e d.     4.6 .     Sy s tem  C om munica tion   The  PLC  was   interface to  the  com pu te us in S MPI   adap te r T he  bu c ouple r,   L C310 was   netw orke wit the  P LC  us in PRO FI B US   cable.  Als OPC   com m un ic at i on   was  done  usi ng   the  sam S MPI   adap te r.   A   di -   a gr am m atic   repr esentat ion  of  c omm un ic at ion   a m on the   syst e m   com po -   ne nt is  s how in   F igure  4 .     Evaluation Warning : The document was created with Spire.PDF for Python.
                          IS S N 2252 - 8814   IJAAS    Vo l.   7 ,  No.  4, Decem ber   20 18  32 2     333   326       Figure  4 .   Com m un ic at ion s a m on STE 7,   Lab VI E a nd  CPU31 5 - 2DP  and LC3 100       4.7 .     STE P 7   P ro fe ssion al   STEP   PR O FESS ION AL  (S TE in   s hort)   is  a utom at ion   s of tw a refro m   Siem e ns  I ndus try   ( w ww.siem ens. com ).   It   is   use f or  progra m   m ing sim a ti c   PLC   sta ti ons.   Figure   28   s hows   the   syst em   m ang e r   window  of   sim at ic  STEP 7, w he re  a cr e at ed pape r wit s om e b lock s is al so   s how n           Figure  5 .   Scree ns hot  of Sim ati c Ma na ger   (S T EP  7 )     STEP prov i de pro visio t c od t he  pr ogram   us ing   s even  dif fere ntl an - guages S om of   them   are  FBD  (F unct io Bl oc Dia gr am ),   L (La dder  Diagr am ),   an d   S C (S ta te m entList),   et c.   T he   use r   can   fr eel y   c hoos e   the  la ng uag e .   An   S TEP   7   auto   m at ion   pro gr am   m ay   co ntain   funct ion s   (F Cs ),  f unct ion  bl oc ks  (F Bs ),   orga nizat ion  bl ocks  (O Bs ),  se qu e nce   f unct io nal  c har ts   (SFC s),  et c.  B ut,  e ve ry  STE P   pro gram   m us hav e   OB1 because it  is the  m ai functi on.  D et ai ls about the STE P   7 p rogr am s ar e not cov e re din  this  thesis. T he  la ngua ge   us e f or the  aut om a ti on   of t he  syst e m  d escri bed in t his thes is   was FB D   STE P 7   L a b V IE W   MPI   OP C   P ro f ib u s     CP U315 - 2DP     LC3100   Evaluation Warning : The document was created with Spire.PDF for Python.
IJAAS     IS S N: 22 52 - 8814     Autom ation of  DMP SM anufac turin g by  us in L abVie &   PLC  ( F. F ar ee za )   327     Figure  6 .   FBD   cod e s in  STE 7       4.8 .     CPU3 15 - 2DP   CPU31 5 - 2DP  belo ngs  to  Sim at ic   30 gro up  of   P LC  co ntr ol le rs.   It  co ns ist of   dif fer e nt  ind ic at ors,  a   pro gr am   m ani pu la ti on  key,  and   m e m or card   slot.  It  has  serial - c onnecti on  ports on of  them   is  f or   interfaci ng   between   STEP a nd   t he  PLC  w her eas  t he  ot he is  for  co nnec ti ng   to   distri bu te m od ule.  Figure   30 alo ngside s hows  C PU3 15 -   2DP           Figure  7 .   CPU 315 - 2DP       4 .9 .     Ha rdw are   Config u ra tion   Hardwa re   co nf igurat ion   (HW)   n ee ds   to   be   done   befor e   a ny   pro gr am   can   be   do wn l oad e d   into   the   PLC .   In   the   hard ware   co nfi gurati on ,   the   ty pe   of   powe r   sup ply,  t he  C PU  m od el   (s uc as  C PU315 - 2DP ),  the   sign al   m od ules  an ( or)  oth er   distri bu te m od ules   bein us e ne ed  to  be  s pe ci fied  s oth at   t he  s of t war a nd  th e   hard war e ca i nter - c onnect . Fi gure  s hows   the  hard war e c onfi gurati on do ne fo this   pa pe r     Evaluation Warning : The document was created with Spire.PDF for Python.
                          IS S N 2252 - 8814   IJAAS    Vo l.   7 ,  No.  4, Decem ber   20 18  32 2     333   328       Figure  8 A e xam ple H ar dware c onfig ur at i on for si m atic PLC       5.     RESU LT S  AND DI SCUS S ION           F igure   9 .   Lab vi ew  F on Panel       Evaluation Warning : The document was created with Spire.PDF for Python.
IJAAS     IS S N: 22 52 - 8814     Autom ation of  DMP SM anufac turin g by  us in L abVie &   PLC  ( F. F ar ee za )   329         Figure  10 .   Step  7   Lad der  an d   Si m ulati on  Mo du le       The   outp ut   te r m inal   from   the   U nbundle by   Nam e   VI   was   on ce   agai wir ed   to   A rr ay - to - Cl us te r   VI,   w hose   out   put   te rm inal   was   al so   once   a gain   wire d   to   a no t her   U nbun dl eby   Nam e   VI.   This   ti m e   it   was   en   la r ge t get   ou t pu te rm ina ls.  The   fir st  ou tpu te rm inal  was   assi gn e t ‘B oundin B ox  [ 0]>x’ t he  seco nd  to  ‘Boundi ng   Box [ 1]>y ’; t he third t o‘ B oundin gBox  [2 ] > x’;  and   t he   f ourt h   to ‘Bou nd i ngBox [ 3]>y ’as  s how in  Fig ure 11           Figure  12 .   C ha ng i ng the cl us t er s iz e   Evaluation Warning : The document was created with Spire.PDF for Python.
                          IS S N 2252 - 8814   IJAAS    Vo l.   7 ,  No.  4, Decem ber   20 18  32 2     333   330       Figure  13 .   PL C Lad der &  Sim ula ti on  Mo dule       The  outp ut  te r m inal  from   that  final  A rr ay - to - Cl us te r   V wa s   co nnect ed   to   the  ‘Rect a ng le   in pu te rm inal  of  the  ‘I MA Q   O ver la Re ct ang le V I.   Also,   t he   in put   te rm inal   ‘I m age’of   this   VI   was   wire d   to   t he‘Im age  out’  ou t put   te rm inal  of   the   vision   a ssist ant.   Finall y,  the   ou t pu te rm inal  fr om   the  Overlay   Re ct ang l VI   was   wi re to  the   input t erm inal of t he ‘Im age  Disp la y’ VI.     5.1 .     Metho of   Inte rfa ci n g   CONFI GU R I NG PLC  DRI VER   Her we  c hoos RS - 232  DF1  dev ic es   an cl i ck  on  A dd  Ne w.   Ne xt  we  na m the  PLC  a nd  the sta rt  the con fig ur at i on in  C onfig ur e RS - 232 DF 1 dev ic es .     CR EATIN G   N E W   OP TO P IC    Creat new  OP T opic   a nd  sa ve  it   for  further  use All  the  in puts  a nd  ou t pu ts   that  a r avail able  i the PLC  will  be avail able  unde to pic  wh ic h we  hav e  create d       6.     CONCL US I O N     Fr om   the  pa per  perform ed,   it   was  obvious  th at   m achine  visi on   te c hnol og and   N Visio t oo ls  t og et her  can   be   us e f or  s or ti ng   ob j ect s   in   a   fact or y   pr oductio li ne.  I was   c onfirm ed  t hat  out  of  m any  m achine  vi sion   too ls,   the   patte rn - m at ching   al gorithm   cou l be  a ppli ed  for  t he  obj ect   sorti ng  purpose Also ,   it   was   cl ear   that  a   si m ple  web ca m   cou ld b e u se f or  pe rfor m i ng   m achine v isi on ta s ks Be c ause,  a w e bca m   was  us e f or   patte r m at ching ,   it   is   no t   f or  s ure  t ha it   can   be   use f or  dif fer e nt  m achine  visio a pp li cat ions.   But,  i t he   ap pl ic at ion   is  ind e pe ndent   of  dif fer e nt   i m age  proc essing  ta sks,  it   m i gh t   be   possi ble  to  us e   we bc a m instea of   ot he r   industrial  cam e ras.   The  patte r m at ching  was  do ne  at   dif fere nt  tim es  of   t he  da y;   ever ti m the  sc ore  ge nerat ed  by  the   visio assist ant  n ee ded ad just m ent f or the  correct  patte rn  m at ching. T his s hows  t hat p at te rn  m at ching is  base on   direct  c orre la ti on   m a trix  al gorithm The  scor ge ner at e f or   t he  im ag tem plate   was  900.   If   t he  sco re  wa s   increase over   900,  none   of  t he   ob j ect m at c hed  the   patte rn;   belo w   90 pa tt ern   m at ched ,   bu t   if  t he  sco re   was   belo ce rtai s cor e   ( f or  exam ple  850),  t he  obj ect s   wh ic te nd  to   be  of  the   sam patte rn  a lso  m at ched .   I t hat  case, the  aim  o f patt ern  m at ching   fail ed.   Althou gh  patte rn   m at ching   is   no a ff ect e by   li gh ti ng,  it   was  see that  sh a dow  f orm ation   o so m e   oth e obj ect over  t he  a naly zed  obj ect   hinder ed  to   m at ch  the  patte r sto re in   the  patte r te m plate So   to  say   that  pa tt ern  m a tc hin is   in depend e nt  of  li ght ing  m igh be   s om ewh at   unre al ist ic It  m igh be   sai th at   pa tt ern  Evaluation Warning : The document was created with Spire.PDF for Python.
IJAAS     IS S N: 22 52 - 8814     Autom ation of  DMP SM anufac turin g by  us in L abVie &   PLC  ( F. F ar ee za )   331   m at ching   not  a ff ect ed   by  li g ht ing   directl y,  but  the re  m igh be  s om oth e ind irect   cause   relat ing  to  li ght  that  aff ect pat -   te r m at ching .   It  was  al s c onfirm ed  that  P LC  co uld   be  i nteg rated  with   Lab VI E usi ng   OP c omm un ic at ion   protoc ol;  com m un ic at ion   wa ena bled  us i ng  NI  O PC  Ser ve rs   in  t his  thesis .   The  i nteg rati on  of   sim at ic   PLC  was  il lustrate in  t his  thesis  but  alm os al the  PLCs  can   be   integ rated  with   Lab VI E us i ng  N OP se rv e rs;   pro vid e the re  is an  OP dri ve f or the  PLC.   In  this   thesis  docum ent  it   wa possi ble  to   present   only   a   s i m ple  patte rn  r ecognit ion  te c hn i qu e   f or  t he  obj ect   so rtin g.  Although   the   ob j ect ive  of  s or ti ng   obj ect   us i ng  m achine  visio t oo l   wa m et it   wa reali zed  t hat  geo m et ric  m a t chin t oo l   w ould   be   m or r obus t   f or  s or ti ng  obj ect s.   T he   ob j ect us e in   the   pa pe r   wer e   al si m il ar;  def ining  only   one  pa ram et er  cou ld   be  e nough  in  s uch  co ndit ion  to  get  the  res ult.  But  t he  case   would  no be  t he  sam al ways.  T he  obj ect m ay   hav diff e re nt  s hap e an siz es;   in  suc ca se s,  it   is  not  en ough  t m at ch  only   the   patte r of  the   obj ect .   Me asu r ing   distance be tween  t w po i nts,  m easur in diam e te rs,   et c.  cou l be  a dd e t t he  appli cat ion  t o m ake it m or e pow e rful a nd er ror - fr ee .     The  m ai idea   was  t i nterf ac Lab V IE a nd  PLC  for  m ore  ef fecti ve  a nd   ef fici ent  proce ss  co ntr ol.  This  pa p er   of  i nterf aci ng  tw m os po we rful  te chnolo gies  r uling  the   in dus trie le ad   to  m any  new  feat ures  li ke  acqu i rin data  at   faster  rate,  c on t ro ll in the   process   accu ra te ly prov i ding   Mult i - Taski ng  operati ons,   Re m ot e   con t ro ll in a nd  seve ral  ot her  f eat ur es.   U sed   c orrectl y,  m ultit hr ea ding  offers   num ero us   be ne fits  inclu ding  m or e   eff ic ie nt  CP us e,  bette syst e m   reli abili ty and   im pr ove perform ance  on  m ulti pr ocess or   c om pu te rs.   Using  Lab VI E W,  w can   sta rt  t od ay   to  m axim iz per f orm ance  on  m ulti thread e ope rati ng  syst em an m ul ti pr ocess or  com pu te rs  w it ho ut  i ncr easi ng  ei ther  y our  de velo pm ent  tim or   the  com plexity   of  your   app li cat io n.   B ecause  the   m ulti thread in te chnolo gy  of   L abVIE is  im ple m ented  tr ans par e ntly no  ext ra  pro gr am m ing  i s r e qu i red to ta ke full a dv a nta ge o f  m ultithr e adin te ch nolo gies.       ACKN OWLE DGE MENTS   We , a utho rs of t his  pap e r wou ld  li ke  to  s how  our g rati tud e  to our  fam i ly , f r ie nd s  and c ollea gu e s fo s har i ng  their  pear ls  of  wisdom  w it us d ur i ng the c ourse  of t his r es earch  p a per.       REFERE NCE S   [1]   Anjal i   S,e t   a l(20 14). ,   Applicati o of  MO DBU to  Com m unic at e   the  PLC  and  L ab  VIEW   for   R ea l   Ti m e   Proce s s   Control ,   Int ernat ional   Journal  o f Emerging  Sc ie n c and   Engi n ee ri ng  ( IJE SE)   ISS N:  2319     6378,   Volum e - 1,   Iss ue - 11,   Sept ember  2 013   [2]   Fors y th, e t   a (2 009)  Com pute r V isi on:  A Mode rn  Approac h ,   [3]   Papadopoul os, E   et al ( 2008)   Pattern  Anal y sis   and   Mac hin In te l ligence   [4]   Siemens  Industri al   Autom a ti on,   ( 2008)  CP 315 - Serie Prog ramm abl Contr oll er ,   Sim ens,   Te chn ique  Repo rt   W 393 - E1 - 14.   [5]   N.  N.   Barsoum ,   et  a (2011)   Et her n et   Contr ol   AC   Motor   vi a   PLC   Us ing   LabV IEW,  Intelli g ent   Con trol  an d   Autom at ion,   201 1,   2 ,   330 - 339 .   [6]   Narga lka r   Aks h a y ,   e t   al  (2005)   Real   Ti m e   A utomate d   Contr ol  of   Industr ia l   Proce ss es  with   PLC  LABVIE W   Com m unic at ion” ,   Inte rnat ional  Journal  for   Re se arch  in   Scienc e &   A dvanc ed  Te c hnologi es   ISS N:   2319 - 2690  Iss u e - 1,   Volum e - 1,   pp  035 -     [7]   Fairc hil d ,   M.  (2 005).   Color  Ap per anceModeles.   Chic hest er,   UK W il e y - IS&T   p roposed  new  fea tur of  Color   m at chi ng  Techni que  b y   Com par i son wit a   ref erence   image.   [8]   ALLI ED  Vision   Te chno logi es  2 0 06.   Applicati on   Note:   Choosing   Mac hin Visi on  Camera .   Ac c essed  15th  Marc 2013. htt p: // ww w.a l li edv isiont e c. c om /fi le admin/ co nte nt/ PD F/S upport/ Applicat ion_ Notes/AL L_App lNote _Choosin g_A_M ac hine _ Vision_Camera.pdf   [9]   Basic   Photogr aph y   Tut or ia l 2001.   An  Introduc t ion   to  Exposure .   Ac ce ss ed   16th  Marc 2013. htt p: // ww w.silv er li ght . co . uk /t utorials/c om po se_e xpose/e xpos ure . html   [10]   Davie s,   E.  2012 .   Co m pute r   and   Mac hine  Vision.   4th  edi t ion.  W a lt ham:  Ac ade m i Press .   EURESYS   2005.   AD Te chno log y .   Ac ce ss ed  18th   Mar ch  2013.   ht tp: / /www . eur es y s . com/Products/gra bl i nk/ADRTec hnol og y . as p   [11]   Gonza lez,  R. ,   W oods,  R.   & E ddins,  S.  2009 .   Digit a Im age  Proce ss ing  using  Matlab.   2nd   edi ti on .   Ga te sm ark   Publishing.   [12]   Logi tech   2010.   Logite ch  HD   W ebCa m   C6 15.   Ac ce ss ed  15th  Marc h   2 013.   ht tp: / /www . logi t ec h . com/ en - us/product /hd - w ebc am - c615   [13]   Lode ’s  Com pute Gr aphi cs   Tut or ia l   2 004.   Im age  Filt eri ng .   Acc essed  30 t April   20 13.   htt p://lode v . org/ cgt utor/filtering . html   [14]   Mac hine  Vi sion,  pdf - fi l (eb ook) .   Acc essed   15th  J anua r y - 23rd   April  2013.   htt p://ww w.c se. usf.e du/~r1k/ Ma chi neVisionBoo k/Mac hin eVisio n. pdf   [15]   Movim ed  Custom   Im agi ng  Soluti ons  2007.   Il l um ina ti o n.   Acc essed  16 th   April  20 13.   htt p://ww w.m ovimed. com/Ill um i nat ion . htm   [16]   Nati ona Instru m ent 2013.   Co nnec t   L abVIE W   to   an y   industria Network   and   P LC.  Acc essed   1 3th  Janua r y   201 3.   htt p://ww w.ni . co m /whit e - pape r /5 407/e n   [17]   Nati ona Instrum ent 2012.   Introd uct ion   to  OP C.   Acc essed  7th   Ma rch   2013.   ht tp: / / ww w.ni . com/white - p ape r/7451 /en   Evaluation Warning : The document was created with Spire.PDF for Python.