Yuhuu!!!
Is there anybody home...?!? :)
I need help!!!
User Profile
Collapse
-
Hi Plater!
That was the exactly the first idea that came up to me! I created PLC_Busy variable and control the synchronization with it. But the problem with that approach is when you hit the button to write and PLC is busy, program will simply skip over the procedure. Than I need to continue clicking the button until PLC become free and it is not certain that will ever happen.
So, I actually need some simple synchronization that will...Leave a comment:
-
Hi debasisdas!
I am writing SCADA program. mComDriver is a simple communication protocol driver for communication between PLC and PC. It comes with PLC, in this case Unitronics Vision 290. It has simple methods (mComDriver.Rea d_MemIntegers, mComDriver.writ e_MemIntegers,. ..) for reading and writing values from and to PLC. SCADA is reading values from PLC every 1 second (timer.interval = 1000) and has buttons for writing to PLC. The problem...Leave a comment:
-
deadlock
Hi!
Can someone explain me why I always end up with deadlock in the next piece of code. Deadlock occurs when I hit Button1 couple of times. Thanks!!!
[code=vbnet]
Public Module Module_Tags
'Tag
Public Class Tags
Public Shared objLock As New Object
Public Tag_Address As Integer
End Class
'Memory Integer
Public Class MI_Tag
...
No activity results to display
Show More
Leave a comment: