請問 MODBUS通訊問題


各位前輩您好:

   我想用永宏FBs-20MC (插 FBS-CB55)  RS485的PORT1或PORT2  讀取支援 MODBUS RTU協定的 表頭資料

請問我要抓的位址:4097  ID:03  我PLC須怎麼設定程式去抓資料,我要抓出裡面的值之後去判斷必須做甚麼動作

請問有類似的範例嗎?

另外 用 ISaGRAF 如何寫永宏PLC的程式?(不知道可不可以?)

對通訊這個部份不熟悉,拜託解釋詳盡一點!  謝謝各位前輩!

    




如果你始使用LabVIEW的話,請下載LabVIEW的ModBUS套件,目前是免費的,網址:http://sine.ni.com/devzone/cda/epd/p/id/4756

我發現泓格的網站有一個LabVIEW的Modbus的教學,你可以參考一下:labview_modbus_eng.pdf


<span =“apple-style-span”=“” style=“font-size: 16px; line-height: 24px; “>

<span =“apple-style-span”=”” style=“font-size: 16px; line-height: 24px; “>
<span =“apple-style-span”=”” style=“font-size: 16px; line-height: 24px; “>
   >>>另外 用 ISaGRAF 如何寫永宏PLC的程式?
<span =“apple-style-span”=”” style=“font-size: 16px; line-height: 24px; “>
<span =“apple-style-span”=”” style=“font-size: 16px; line-height: 24px; “>   可以耶, 用isa寫很快的喔, 只是您要先到 fatek 的網站
<span =“apple-style-span”=”” style=“font-size: 16px; line-height: 24px; “>
<span =“apple-style-span”=”” style="font-size: 16px; line-height: 24px; ">    抓一下 modbus 對應表  :D
Appendix-Modbus-Fatek.pdfhelper19740710.6436458333