Light Source

You are currently viewing the documentation for the latest version (2.2.0). To access a different version, click the "Switch version" button located in the upper-right corner of the page.

■ If you are not sure which version of the product you are currently using, please feel free to contact Mech-Mind Technical Support.

Description

This Step is used to connect and configure the light source controller to manage the light source’s operating mode and output intensity.

Before using this Step, add and enable a device in the Light Source Management window.

Currently only the following brands and models of light source controllers are supported:

Light source controller brand Light source controller model

CSTLightSource

CST-DPS2460B-4TD

J1LightSource

JL-DCV-6024-4-B

PPXLightSource

PPX-DCP2410-4G

Usage Scenario

This Step is used for applications requiring precise control of light sources in industrial cameras or machine vision systems.

Basic Concepts

  • Light source controller

    The light source controller is a hardware module that manages and adjusts light source equipment in industrial automation, controlling the on/off state, brightness, and operation mode.

  • Channel

    Channels are individual output lines on the light source controller used to independently control different light source groups (such as multiple LED groups). Each channel can be individually enabled/disabled and configured for intensity.

Workflow

The process of configuring this Step is shown below:

workflow
  1. Select a connected light source controller.

  2. Configure Light Source Settings.

  3. Configure Channel Settings.

  4. Run the Step for precise light source control.

Triggering Instructions

This Step has no input or output items and must be triggered by a control flow to turn the light source on or off.

Parameter Description

Light Source Controller

Parameter Description

Select Device

Select the light source from the drop-down menu.

Click the Device management button to open the Light Source Management window and manage available light sources and their parameters.

Device Brand

Specifies the brand of the light source controller. For display only. Modification not supported.

Light Source Settings

Parameter Description

Operating Mode

Specifies the operation method of the light source. Select Continuous on or Timed off.

  • Continuous on: The light source remains on continuously.

  • Timing Off: the light source automatically turns off after the set duration.

Trigger Delay

The time delay before the light source turns on.

Only visible in the Timed Off mode.

Light-on Duration

The time the light source remains on after turning on.

Only visible in the Timed Off mode.

If the same light source is used simultaneously by multiple light source Steps, the actual duration of lighting must account for the light-on duration settings of multiple Steps. For example, with the first Light Source Step set to a duration of 2s, the second Light Source Step to 0.5s, and a 1s interval between them, the cumulative lighting duration of the light source is 1.5s without a trigger delay.

Light Source Channel Settings

The number of channels is determined by the specific device model. Set the enable status and brightness parameters for each channel according to the actual light source wiring.

Parameter Description

Enable

Settings for this channel take effect only when this opinion is enabled.

Intensity

Sets the intensity of this light source for this channel. A higher value makes the light brighter. Effective only when the channel is enabled.

Troubleshooting

For common errors, see Error Code List. If the error code is inconsistent with the error message, please contact Technical Support for help.

CV-E0208

Error: Failed to connect to the light source controller.

Possible causes:

  • Incorrect communication parameters settings.

  • Abnormal cable connection.

  • The selected COM port is occupied.

Solutions:

  • Verify that the device communication parameters are correctly configured.

  • Check whether the cable connection is normal.

  • Ensure that the selected COM port is not occupied.

If the issue persists after the above checks, please contact Technical Support.

CV-W0215

Error: Failed to set the channel intensity value.

Solution: Check whether the light source controller is properly connected and verify that the communication parameters are correctly configured (especially the baud rate).

Is this page helpful?

You can give a feedback in any of the following ways:

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.