Search the Community
Showing results for tags 'udp'.
Hello guys&girls, I'm new to Unitronics PLC programming and I'm facing some problems. I'm working with a USC-B5-T24 which needs to receive through UDP protocol some datas from a C++ program. I hadn't find in the unitronics examples programs doing this. Can someone give me the guidelines to set my PLC to receive datas from my C++ program ? Thanks in advance !
Hi everyone! I´m using the four sockets in a Vision 130, and I need more! So, I tried to redifine a socket in run time according to some conditions, but I find out that once the socket was defined, I can´t redefine it. The socket is first initialized as TCP / Port 502 / Server. A Modbus IP configuration is attached to this socket, and running as Modbus IP Slave. Then, I close the socket... ...and redefine it as UDP The result is that the socket never loose the Modbus definition, and can´t connect via UDP. When the second socket definition is executed, the socket state goes from 20 to 34. If I insert a reset of the PLC before the second definition, all runs correctly. So, I think that the only way to "release" the socket definition is restarting the PLC. Is this right? Or (more likely) I am doing something wrong? Thank you very much!!