Search the Community
Showing results for tags '.net driver'.
-
Hi, I hope you might help with the following issue: I wrote a simple python library, using the PCOM protcol & pySerial. To test it, I created a script that reads a few Memory Bit operands from a SM-43 via the built-in RS232-USB Bridge. The library and the script work perfectly, accept when it comes to reading more than seven bit operands: I used the online mode to set the MB100-107 to the values : 10101100. While the response comes back intact, ( checksum checks out etc) I'm getting different responses for the same request. The respective bytes in the payload of the response message vary between: 0x3521 0x3523 0x3544 0x3543 0x35cb Note that I made sure that the actual bit values in MB100-107 do not change The response is consistent, as long as I don't change the status of MB107. However, as soon as I'm toggling MB107 on and off again, i get a different response from the PLC afterwards. I also get a different response when I change the read request and then go back to the old read request. The first seven bits do not seem to be affected by this - They show 0x35 consistently. Maybe I overlooked something? Thanks in advance for any hint! Max
-
I've installed the latest .net driver from the website and attempted to implement into a VB.net application, (VS 2010 SP1 and .net 4.0) I'm getting the error and not able to compile. Any support would be fantastic.
-
Hello Everyone, I have a new project that would require me to integrate a V130 PLC into an existing .NET application. Basically I'll need to send a "recipe" to the PLC. This will involve setting a series of values (via serial) to a mix of MB's, and MI's. Then the PLC will run autonomously sending status information, and the .NET application will go into a listener mode and simply act as a terminal. So I'm kicking around the best method to do this, and would appreciate any advice on which would be the best method to go forward: Ideally I'd prefer to use the .NET driver, but I'm not sure it's best suited... Does the .NET driver support events? I would image this would require setting the .net driver off on a thread that simply polls a MB or series of MB's for a state change. The obvious approach is that I could use the PCOM protocol, but that would require a fair amount of coding, over the .NET driver. Another approach would be to simply use the protocol scan and send functions in visilogic and establish my own simple protocol for the back and forth. Are there any others options that would be well suited? Please note, I'd prefer to leave the system as it is today (PC <--(RS-232) ---> PLC). Any thoughts would be appreciated.
- 2 replies
-
- .NET Driver
- PCOM
-
(and 1 more)
Tagged with: