WriteCCLinkBitBuffer

Writes data from a referenced Buffer structure, created by the FormatOutputBuffer function, to the CC-Link network using the CC-Link protocol upon on an Event trigger. For more information, see FormatOutputBuffer 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.

WriteCCLinkBitBufferInputs

Syntax: WriteCCLinkBitBuffer(Event,Buffer)

Parameter Description

Event

Specifies the event on which to write 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 FormatOutputBuffer function,, which contains automatically formatted data.

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

WriteCCLinkBitBufferOutputs

Returns

The number of elements written 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 FormatOutputBuffer function has a Data Type other than Bit or 16 Bit Integer.