ReadProfinetBuffer
Reads (consumes) data sent by a remote client using PROFINET protocol.The referenced Buffer data structure, which is created by a FormatInputBufferfunction, defines how the received data is interpreted.For more information, see FormatInputBuffer.
- For In-Sight vision systems running In-Sight 5.1.0 and later firmware, when a job containing this function is loaded, it will automatically be replaced by the ReadUserDataBuffer function (the Protocol parameter will be set to Default). For more information, see ReadUserDataBuffer.
- This function is only available on In-Sight vision systems running In-Sight firmware 4.x.x, and is not available on In-Sight vision systems running In-Sight firmware 5.1.0 and later. For a complete list of models and supported firmware versions, see Firmware Versions.
ReadProfinetBuffer Inputs
Syntax: ReadProfinetBuffer(Event,Buffer)
Parameter | Description |
---|---|
Specifies the update event on which to readdata. This parameter must be a reference to one of the following:
|
|
Specifies a reference to a Buffer data structurecreated by a FormatInputBuffer function,which defines how the received data is interpreted. Note: The maximum length for input data is 4,000 bytes.
|
ReadProfinetBuffer Outputs
Returns |
A ReadPNIO data structure containingthe data sent by a client or #ERR if any input parameters are invalidor a connection from a client has not been established. |
Results |
Data in the ReadPNIO structure isaccessed using the GetBufferDatafunction.For more information, see Input/Output. |