Hello everyone.
Im new in this forum and facing one problem I cant go around. I`m using NBS.TCP library to read and write directly into socket. Problem is that when TCP_Client connection is active TCP_Write is not writing anything until negative edge on TCP_Client xEnable.
System is running on Debian.
Anyone can give me some hint ?
Thank you.
Risto
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
@nothinrandom, Thanks for your replay.
I copied PLC Chat and used this as example. Even when i run same code as in PLC Chat i get same action. I will check differences with CoDeSys example.
Br.Risto
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello everyone.
I
m new in this forum and facing one problem I can
t go around. I`m using NBS.TCP library to read and write directly into socket. Problem is that when TCP_Client connection is active TCP_Write is not writing anything until negative edge on TCP_Client xEnable.System is running on Debian.
Anyone can give me some hint ?
Thank you.
Risto
@ristokarmas, I would highly recommend you upload your project, or at least some code for people to help troubleshooting. Going off your description, it could be anything really. Did you try to follow the CoDeSys example? https://faq.codesys.com/display/CDSFAQ/TCP%3A+Example+for+Server+and+Client
@nothinrandom, Thanks for your replay.
I copied PLC Chat and used this as example. Even when i run same code as in PLC Chat i get same action. I will check differences with CoDeSys example.
Br.Risto