I need a DLL to comunicate with omron CP1E PLC by serial communication.
My first problem is to manage multithreading .
actually, when i send a command, sometimes i send various command to PLC ( by multithead ). When i have a response, can't know what's command is replying the PLC.
@01RRxxxxxx ( to read a register )
@01RHxxxxx ( to read holding )
@02WRxxxxx ( to write register )
@02HRxxxxx ( to write holding )
my principal problem is ....
when i try to modify only one bit in a complet register, first must read the complete register, to modify the value and write the new complete register. It's too slow and must manage various commands.
other ways will be appreciated.
7 pekerja bebas membida secara purata $234 untuk pekerjaan ini
Hi. Hope you are doing great. I have confident in your task. You have to make 2 thread and use event or mutex to do sync. Let's discuss more detail in chat. Thank you.
Hi, Hope you are doing well. I have full experience about C#/.NET and Modbus so that I can handle your project perfectly. I will be very happy to discuss about your project via chatting. Thank you.