# Build the Output Task - OutputFormat Task

The OutputFormat Task is constructed from a Compose Collection block, a Format PLC Output Buffer block and a Notify PLC block. In the Task, a byte array is being assembled by the Compose Collection and Format PLC Output Data blocks, and then sent to the PLC via the Notify PLC block, using the NDM InspectionComplete notification function.

Note: For more information, see the NDM Notification Functions and NDM Status Signals Descriptions topics.

1. The Compose Collection block is configured as shown below:

2. The Format PLC Output Data block is configured as shown below:

   Note: This configuration works for all of the supported protocols, EtherNet/IP, PROFINET and SLMP. Simply select the appropriate protocol from the Protocol setting. See the Format PLC Input Buffer Data Format Dialog topic for more information.

3. The Notify PLC block has the Selected Device property set to the Cognex Communication Card. If a Vision Controller is being used, it can be used as the Selected Device, as well. The Notify PLC block Notification Settings dialog is configured as shown below: