Hi everybody, has somebody created a Modbus TCP master configuration where there are multiple channels and some of them are triggered in a cycle mode and others in Application mode? I can make it work with the app mode but just having one channel. there is an example attached when configuring the Modbus Slave Channel tab
some PLCs place the bytes into the memory as little endian and others as big endians. You will have to check when this happen and to do the swapping of the words when needed
Hey zkid, I am sorry your question was not answered and I hope you found the solution. If you don't mind since you seem to have a good understanding of the TCP sockets. I am working with modbus TCP and it uses the MainTask as its bus cycle task. This task has a very small code but when checking its max cycle time, sometimes it reaches to 21ms! So my theory is, do we open and close TCP connection in each modbus cycle transmission? As that would explain reaching 21ms sometimes, right?. But I dont know...