theglen
Guest
T
Hi Everyone,
I have one problem when i'm trying to write a driver to communicate with multiple VersaMax PLCs. My driver able to read and write to single PLC successfully. When it comes to multidrop, i got problems.
--------
| PC |------||----------------------------------
-------- | |
-------- --------
| PLC1 | | PLC2 |
-------- --------
|| = HE693SNP232(Convertor from RS232 to RS422)
In my test program, I have 2 buttons to read / write to PLC. For eg, Button1 for PLC1 and Button2 for PLC2. When I read from PLC1 then read from PLC2, I able to read PLC1 only but not PLC2. The problem is: after I read from PLC1, PLC2 doesn't work already.
If I remove the convertor, my application able to read both PLCs successfully. That's meant my application is working without convertor and is not working with convertor. I've tested the convertor with Cimplicity, it able to read PLCs with or without convertor. I've monitorred my cable. My application and cimplicity are sending same data to PLC but my one doesn't work. Can anyone tell me what's happenning? Any points that I have to concern? Thank you very much.
Regards,
Glen
I have one problem when i'm trying to write a driver to communicate with multiple VersaMax PLCs. My driver able to read and write to single PLC successfully. When it comes to multidrop, i got problems.
--------
| PC |------||----------------------------------
-------- | |
-------- --------
| PLC1 | | PLC2 |
-------- --------
|| = HE693SNP232(Convertor from RS232 to RS422)
In my test program, I have 2 buttons to read / write to PLC. For eg, Button1 for PLC1 and Button2 for PLC2. When I read from PLC1 then read from PLC2, I able to read PLC1 only but not PLC2. The problem is: after I read from PLC1, PLC2 doesn't work already.
If I remove the convertor, my application able to read both PLCs successfully. That's meant my application is working without convertor and is not working with convertor. I've tested the convertor with Cimplicity, it able to read PLCs with or without convertor. I've monitorred my cable. My application and cimplicity are sending same data to PLC but my one doesn't work. Can anyone tell me what's happenning? Any points that I have to concern? Thank you very much.
Regards,
Glen