ReadCCLinkBitBuffer

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 Communicate 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.

ReadCCLinkBitBuffer Inputs

Syntax: ReadCCLinkBitBuffer(Event,Buffer)

Parameter Description

Event

Specifies the event on which to read the specified Buffer structure. This parameter must be a reference to one of the following:

  • The Image data structure in cell A0, containing the AcquireImage function. For more information, see AcquireImage.
  • A cell containing an Event function. For more information, see Event.
  • A cell containing a Button function. For more information, see Button.

Buffer

Specifies a reference to a Buffer data structure created by a FormatInputBuffer function, which contains automatically formatted data.

Note: The maximum length for output data is 256 bytes.

ReadCCLinkBitBuffer Outputs

Returns

A Buffer structure which contains the read data and the format; or #ERR:

  • If an input parameter is invalid.
  • If the In-Sight vision system is not connected to an In-Sight CIO-MICRO-CC I/O module.
  • If an item in the FormatInputBuffer function has a Data Type other than Bit or 16 Bit Integer.