CombineOutputBuffers

Allows the user to configure the outputs of multiple FormatOutputBuffer functions into a single Buffer data structure that is transmitted in a single communication packet. For more information on FormatOutputBuffer, see FormatOutputBuffer.

Note: The CombineOutputBuffers function supports a maximum of 128 elements, regardless of the size of the elements.

CombineOutputBuffers Inputs

Syntax: CombineOutputBuffers(FormatCell 1,Format Cell 2,Format Cell N)

Parameter Description

Format Cell 1

Specifies a referenced Buffer data structure output by a FormatOutputBuffer function.

Note: The maximum length for output data, when using Modbus TCP, EIP or PROFINET communications, is 4,000 bytes. When using SLMP or SLMP Scanner and iQ-R/Q/L Series or iQ-F Series is the selected Controller Type, the maximum length for output data is 1920 bytes. When using SLMP or SLMP Scanner and FX Series is the selected Controller Type, the maximum length for output data is 128 bytes. The maximum length for all other communications is 256 bytes.
Format Cell 2

Specifies a referenced Buffer data structure output by a FormatOutputBuffer function.

Note: The maximum length for output data, when using Modbus TCP, EIP or PROFINET communications, is 4,000 bytes. When using SLMP or SLMP Scanner and iQ-R/Q/L Series or iQ-F Series is the selected Controller Type, the maximum length for output data is 1920 bytes. When using SLMP or SLMP Scanner and FX Series is the selected Controller Type, the maximum length for output data is 128 bytes. The maximum length for all other communications is 256 bytes.
Format Cell N

Specifies a referenced Buffer data structure output by a FormatOutputBuffer function.

Note: The maximum length for output data, when using Modbus TCP, EIP or PROFINET communications, is 4,000 bytes. When using SLMP or SLMP Scanner and iQ-R/Q/L Series or iQ-F Series is the selected Controller Type, the maximum length for output data is 1920 bytes. When using SLMP or SLMP Scanner and FX Series is the selected Controller Type, the maximum length for output data is 128 bytes. The maximum length for all other communications is 256 bytes.

CombineOutputBuffers Outputs

Returns

A Buffer data structure containing the formatted data; or #ERR:

  • if any of the input parameters are invalid
  • if the size of the combined FormatOutputBuffer functions exceeds 4,000 bytes.