zhangzhitao
級別: 家園常客
精華主題: 0
發(fā)帖數(shù)量: 733 個
工控威望: 776 點
下載積分: 2370 分
在線時間: 591(小時)
注冊時間: 2006-11-21
最后登錄: 2024-08-07
查看zhangzhitao的 主題 / 回貼
樓主  發(fā)表于: 2011-03-08 20:26
   各位師傅,向大家請教個關(guān)于如何寫歐姆龍拔碼開關(guān)程序的問題。我公司有幾臺鋁材擠壓機,因生產(chǎn)需要,有時是一支鋁棒擠完前梁鋸就切一次料,而有時則是兩根或是多支鋁棒擠完才切一次,我就想用拔碼開關(guān)來控制前梁鋸臺,但我對拔碼開關(guān)不太了解,希望知道或是有這方面資料的師傅幫下我。郵箱968756904@qq.com.
jxh668
jxh668
級別: 工控俠客
精華主題: 0
發(fā)帖數(shù)量: 1429 個
工控威望: 2169 點
下載積分: 4006 分
在線時間: 829(小時)
注冊時間: 2009-12-21
最后登錄: 2024-09-21
查看jxh668的 主題 / 回貼
1樓  發(fā)表于: 2011-03-11 11:54
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.


來看看 ,有用的就下了。深圳的可找我呵