ReadCCLinkWordBuffer
Reads data from a referenced Buffer data structure, created by a FormatInputBuffer function, from the CC-Link network using the CC-Link protocol upon on an Event trigger. For more information, see FormatInputBuffer and Communicating with a Mitsubishi Automation Controller on a CC-Link Network via an In-Sight CIO-MICRO-CC I/O Module.
Note:
- 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.
- CC-Link is only available on In-Sight vision systems using 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.
- The In-Sight vision system must be connected to an In-Sight CIO-MICRO-CC I/O module to enable this functionality. For more information, see I/O Module Configuration.
- When an In-Sight vision system is configured to communicate with a Mitsubishi Automation Controller over CC-Link, the protocol only supports the transfer of data between the vision system and the automation controller.
ReadCCLinkWordBuffer Inputs
Syntax: ReadCCLinkWordBuffer(Event,Buffer)
Parameter | Description |
---|---|
Specifies the event on which to read the specified Buffer structure. This parameter must be a reference to one of the following:
|
|
Specifies a reference to a Buffer data structure created by the FormatInputBuffer function, which contains automatically formatted data. Note: The maximum length for output data is 256 bytes.
|
ReadCCLinkWordBuffer Outputs
Returns |
A Buffer data structure which contains the data read and its format; or #ERR:
|
Results | Data in the Buffer data structure is accessed using the GetBufferData function. For more information, see Input/Output. |