# Format PLC Output Buffer

Used to combine a set of variables into a byte array, which is typically sent to a PLC.

You can specify a set of values (configured in the Format PLC Output Buffer Data Format Dialog), which will be represented as an input pin. For each value, you can also define a starting index, a type, a name and size (though the type may determine the size).

When the block is executed, the values of the input pins are converted into bytes, and the result is converted into a one byte array. If there are missing bits or bytes in the output array, they are substituted with zeroes. The newly created byte array overwrites the existing value of the output pin.

Property | Description
--- | ---
Name | Specifies the name of the block.
Array Length | Defines the length of the array, in bytes.
Data Format | Specifies the format of the output data, which is formatted using the Format PLC Output Buffer Data Format Dialog.