2/8/2011 5:53 AM | |
Posts: 41 Rating:
|
Hi friends last week i am having doubt on modbus communication.Now i am able to communicate pc with plc using modbus. but now i am able to read or write only output coil. notable to read input. i attached the program what i used for read or write output coil...plz check ones... guide me now, how can i read plc inputs???? regards krk Attachmentslave.zip (245 Downloads) |
2/8/2011 7:52 AM | |
Posts: 41 Rating:
|
hi greg, i am using master as visual basic.using that visual basic program coil is able to read or write. but if i tried to read input status,from plc i am getting same response i.e,,,assume i0.0-true i0.1-false i0.2-false now i am try to read 1st input,i got true,but again if try to read 2 nd input that time also it is giving true. AttachmentPLC.zip (238 Downloads) |
2/8/2011 8:31 AM | |
Posts: 88 Rating:
|
probably the problem in your VB code, try to use modscan32 as master and scan your modbus traffic(work 100%). Best Regards, Greg. |
2/13/2011 6:07 AM | |
Posts: 41 Rating:
|
Hi can anyone tell me the protocol to use in VB to read digital input from PLC using modbus regards kannan |
2/26/2011 7:07 AM | |
Posts: 151 Rating:
|
hello suvarn i don't work with visual basic for modbus communication but i have this file for reading and writing to vb for modbus communication. i hope it help you. AttachmentMBUS.zip (225 Downloads) |
Follow us on