Hello everyone I'm a new hand of codesys, I'm learning the tcp/ip of it, I build a simple FB named "make link" which package a tcp client like this: ip_addr_FB.sAddr := '192.168.0.16'; TCP_Client_FB( xEnable := GVL.switch, xDone => xDone, xBusy => xBusy, xError => xError, udiTimeOut := udi_timeout, ipAddr := ip_addr_FB, uiPort := 9999, eError => , xActive => xActive); and then I call it in a single task, wait another task named "write" call its handle, the task who call it like this: iMessageSize...
Hello everyone I'm a new hand of codesys, I'm learning the tcp/ip of it, I build a simple FB named "make link" which package a tcp client like this: ip_addr_FB.sAddr := '192.168.0.16'; TCP_Client_FB( xEnable := GVL.switch, xDone => xDone, xBusy => xBusy, xError => xError, udiTimeOut := udi_timeout, ipAddr := ip_addr_FB, uiPort := 9999, eError => , xActive => xActive); and then I call it in a signal task, wait another task named "write" call its handle, the task who call it like this: iMessageSize...
Hello everyone I'm a new hand of codesys, I'm learning the tcp/ip of it, I build a simple FB named "make link" which package a tcp client like this: ip_addr_FB.sAddr := '192.168.0.16'; TCP_Client_FB( xEnable := GVL.switch, xDone => xDone, xBusy => xBusy, xError => xError, udiTimeOut := udi_timeout, ipAddr := ip_addr_FB, uiPort := 9999, eError => , xActive => xActive); and then I call it in a signal task, wait another task named "write" call its handle, the task who call it like this: iMessageSize...