Activity for sinameshksar

  • sinameshksar sinameshksar modified a comment on discussion Codesys V2.3 πŸ‡¬πŸ‡§

    Hello I'm looking for a TCP socket client project example. Can you assist?

  • sinameshksar sinameshksar modified a comment on discussion Codesys V2.3 πŸ‡¬πŸ‡§

  • sinameshksar sinameshksar posted a comment on discussion Codesys V2.3 πŸ‡¬πŸ‡§

    Hello I'm trying to implement a TCP Socket Client in CodeSys. I am using SysSockCreate() with the following defined variables: iec_create_result : nbs.SysSocket.RTS_IEC_RESULT; socket_handle : nbs.SysSocket.RTS_IEC_HANDLE; socket_id := nbs.syssocket.SysSockCreate(nbs.syssocket.SOCKET_AF_INET, nbs.syssocket.SOCKET_STREAM, nbs.syssocket.SOCKET_IPPROTO_IP, ADR(iec_create_result)); However, I get a build error stating: "socket_id is not a valid assignment target". Do you have any idea what might be causing...

  • sinameshksar sinameshksar posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello Codesys Community, I implemented a simple TCP Client application using the TCPClient() ST function based on Halcon project(attached). It works fine with smaller packets of data but if I try to send messages larger than 56KB it stops working properly. Any idea what it can be? To me I need to increase the size of the TCP buffer but not sure how it should be done? Regards, Sina

  • sinameshksar sinameshksar posted a comment on discussion Codesys V2.3 πŸ‡¬πŸ‡§

    Hello Codesys Community, I implemented a simple TCP Client application using the TCPClient() ST function based on Halcon project(attached). It works fine with smaller packets of data but if I try to send messages larger than 56KB it stops working properly. Any idea what it can be? To me I need to increase the size of the TCP buffer but not sure how it should be done? Regards, Sina

1