zhangzhitao
級別: 家園常客
|
各位師傅,向大家請教個關(guān)于如何寫歐姆龍拔碼開關(guān)程序的問題。我公司有幾臺鋁材擠壓機(jī),因生產(chǎn)需要,有時是一支鋁棒擠完前梁鋸就切一次料,而有時則是兩根或是多支鋁棒擠完才切一次,我就想用拔碼開關(guān)來控制前梁鋸臺,但我對拔碼開關(guān)不太了解,希望知道或是有這方面資料的師傅幫下我。郵箱968756904@qq.com. |
---|---|
|
jxh668
jxh668
級別: 工控俠客
|
In this example, DSW(210) is used to read an 8-digit number from a digital switch and outputs the resulting value constantly to D0 to D3. The digital switch is connected through CIO 3 and CIO 104. Since 8 digits of data are being read, C1 (D32000 in this case) is set to 0001 hex. D32001 is used as the system word. |
|
---|---|---|
|