# User Data Signals

The User Data Signals are the following:

- [out] User Data:

  The User Data byte array field has data written into it by PLC logic which is sent to the vision system and can then be read into the Spreadsheet using the ReadUserDataBuffer, ReadLatchedUserDataBuffer and GetBufferData functions. The PLC logic populates the bytes in this field with the data needed for the tools in the Spreadsheet to run correctly for the part inspected or application. The User Data typically consists of tool parameters sent as boolean, 8-bit integer, 16-bit integer, 32-bit integer, 32-bit float or real and string data up to 4000 bytes total depending on the protocol being used.

  The Set User Data bit needs to be used by default to move the user data from the user data holding buffer into the Spreadsheet in the vision system.

  As described above, the Enable User Data Bypass can be turned on to disable the Set User Data handshake and write the user data directly into the Spreadsheet.

- [out] Set User Data:

  The rising edge of this signal moves the user data in the user data holding buffer (written from the PLC as noted above in 10.2.1) into the User Data field for the Spreadsheet to use. This bit needs to stay set to 1 in the PLC logic until the Set User Data Ack bit is returned from the vision system with a value of 1.

- [in] Set User Data Ack:

  This bit is set to 1 in the vision system to acknowledge completion of the Set User Data functionality. The user data sent is now available for the Spreadsheet to use the next time the Spreadsheet runs, typically from a trigger.