現(xiàn)在取料倉(cāng)有4個(gè),觸摸屏可以設(shè)定料倉(cāng)數(shù)量,最大可設(shè)4,因?yàn)橹挥?個(gè)料倉(cāng),步進(jìn)電機(jī)控制位移
當(dāng)設(shè)定1個(gè)料倉(cāng),設(shè)定1倉(cāng)數(shù)量:直接在1倉(cāng)位置取料,當(dāng)?shù)竭_(dá)取料數(shù)量或取料探針感應(yīng)料倉(cāng)無(wú)料,機(jī)器停止
當(dāng)設(shè)定2個(gè)料倉(cāng),各設(shè)數(shù)量:先取1倉(cāng),1倉(cāng)取到設(shè)定數(shù)量或感應(yīng)探針感應(yīng)無(wú)料,切換2倉(cāng)取料,2倉(cāng)取到設(shè)定數(shù)量或探針感應(yīng)無(wú)料,機(jī)器停止
3倉(cāng)4倉(cāng)以此類推
要怎么寫比較簡(jiǎn)潔,或者有什么指令可以簡(jiǎn)結(jié),現(xiàn)在自己寫的自己都感覺(jué)又臭又長(zhǎng)