不錯(cuò).....不愧為德國(guó)佬的..........細(xì)節(jié)做得很好......在每個(gè)工件經(jīng)過(guò)檢料時(shí)計(jì)算這工件到各個(gè)工位的距離計(jì)數(shù)器值(為避免計(jì)數(shù)器復(fù)位做了處理),再為各個(gè)工位定個(gè)入倉(cāng)表格,工件離開(kāi)檢料時(shí)同樣,,利用檢料開(kāi)始表格和檢料離開(kāi)表格的棧頂數(shù)值和計(jì)數(shù)器實(shí)時(shí)值比較,實(shí)現(xiàn)了工件在各個(gè)工位動(dòng)作,,,,,這程序?qū)Τ鯇W(xué)PLC的學(xué)員是有點(diǎn)困難.....其實(shí)有更易理解的構(gòu)思.....給每個(gè)經(jīng)過(guò)檢料的工件定個(gè)虛擬計(jì)數(shù)器就行,,,(同樣做高速計(jì)數(shù)器復(fù)位處理),,,虛擬計(jì)數(shù)器在完成最后的工位動(dòng)作就復(fù)位,,,,