FreeProtocol macro communication, INPORT buffer limit – Support Elsist https://support.elsist.biz/forums/topic/freeprotocol-macro-communication-inport-buffer-limit/feed/ Fri, 30 Oct 2026 09:17:24 +0000 https://bbpress.org/?v=2.6.20 it-IT https://support.elsist.biz/forums/topic/freeprotocol-macro-communication-inport-buffer-limit/#post-66706 FreeProtocol macro communication, INPORT buffer limit https://support.elsist.biz/forums/topic/freeprotocol-macro-communication-inport-buffer-limit/#post-66706 Wed, 03 Aug 2022 08:55:59 +0000 CarlCarls I try to use FreeProtocol to recieve some bytes, but limit with INPORT function is 1024 bytes. Recieve bytes in packet are over this limit (for example 1500 bytes).

I heard about INPORT3 (Discription: Recieved but unread data will be stored in device buffer until next reading command command. The space of data buffer is 1024 bytes). Function INPORT cuts recieved bytes in 1024 bytes.

How can i use this device buffer to read left bytes? What means INPORT3? Any real examples to use INPORT3?

]]>
https://support.elsist.biz/forums/topic/freeprotocol-macro-communication-inport-buffer-limit/#post-66725 Rispondi a: FreeProtocol macro communication, INPORT buffer limit https://support.elsist.biz/forums/topic/freeprotocol-macro-communication-inport-buffer-limit/#post-66725 Wed, 03 Aug 2022 12:22:28 +0000 Sergio Bertana Unfortunately the INPORT and INPORT3 have the same limit of 1024 bytes. If the TCP packet is longer than the limit the exceeding bytes are lost.

I’ve no suggestions how to solve your problem to receive long packets with the Weintek terminal.

Just for your informations we manufacture a programmable devices (PLC) that can easily manage TCP communications and probably can be used to solve the problem. For example the MPS056 can be used.

By using the SysTCPServer and SysTCPClient you can manage TCP connection, in the programming manual you can find all the available program object

]]>