Bootstrak Skip to main content

8. Device Settings – Part 3 (Signal Input and Output)

Streszczenie: Ustawienia ID3000 cz. 3: sygnały wejściowe (tryby wyzwalania wewnętrzne i zewnętrzne: software, LineIn, licznik, TCP, UDP, port szeregowy, self trigger, zatrzymanie wyzwalania) oraz sygnały wyjściowe (LineOut, inwerter, źródła zdarzeń).
EN: ID3000 settings part 3: signal input (internal/external trigger modes, software, LineIn, counter, TCP, UDP, serial, self trigger, stop trigger) and signal output (LineOut, inverter, event sources).

Dotyczy: przemysłowy czytnik kodów Hikrobot serii ID3000 (złącze M12 17-pin, Fast Ethernet, RS-232; obsługa przez klienta IDMVS)
Źródło: dokumentacja producenta (Hikrobot ID3000 Series Industrial Code Reader User Manual, V3.1.0); opisy rysunków – opracowanie Multiprojekt

[NAV]

8.3 Signal Input Settings

In the signal input module, you can set the trigger related parameters. You can enable trigger mode to let the acquisition of image data occur only when the trigger source is generated.

8.3.1 Set Trigger Mode

The device has 2 types of trigger mode: Internal trigger mode and external trigger mode.

Internal Trigger Mode

In this mode, the device acquires images via its internal signals.

External Trigger Mode

In this mode, the device acquires images via external signals like software signal and hardware signal. The trigger source of external trigger mode includes software, physical lines, counter, TCP, UDP, and serial.

8.3.2 Enable Internal Trigger Mode

In the internal trigger mode, the device acquires images via its internal signals. You have 2 methods to enable the internal trigger mode:

  • Click I/O Control Settings → Input → Trigger Mode, and select Off as Trigger Mode.
  • In the live view page, click Draw ROI icon to enable the internal trigger mode.

8.3.3 Enable External Trigger Mode

In the external trigger mode, the device acquires images via external signals like software signal and hardware signal. You have 2 methods to enable the external trigger mode:

  • Click I/O Control Settings → Input → Trigger Mode, and select On as Trigger Mode.
  • In the live view page, click Clear ROI icon to enable the external trigger mode.

Set and Execute Software Trigger Mode

In software trigger, the software sends trigger signal to the device via I/O interface to acquire images.

Steps

  1. Click I/O Control Settings → Input → Trigger Mode.
  2. Select On as Trigger Mode.
  3. Select Software as Trigger Source.
  4. Click Execute in Trigger Source to send trigger commands.
    You can also enter Auto Trigger Time, and then enable Enable Auto Trigger to let the client software automatically send trigger signal to device according to the interval you set.

Input parameters for software trigger mode

Figure 8-20 Set and Execute Software Trigger Mode

Figure description (text version): Input group: Trigger Mode On, Trigger Source Software, Trigger Delay (us) 0.00, Auto Trigger Time (ms) 1000 (greyed), Enable Auto Trigger switched on, Trigger Software Execute button.

Set and Execute Hardware Trigger Mode

  1. Click I/O Control Settings → Input → Trigger Mode.
  2. Select On as Trigger Mode.
  3. Select the specific line as Trigger Source according to actual demands.
  4. Set Debounce Time and Line Out Trigger In Polarity according to actual demands.

Note:

  • When selecting Rising Edge or Falling Edge as Line Out Trigger In Polarity, you can set Trigger Delay.
  • When selecting Level High or Level Low as Line Out Trigger In Polarity, you can set Start Delay Time and End Delay Time according to actual demands.

Input parameters for hardware trigger mode (LineIn 0)

Figure 8-21 Set and Execute Hardware Trigger Mode

Figure description (text version): Input group: Trigger Mode On, Trigger Source LineIn 0, Trigger Delay (us) 0.00, Debounce Time (us) 1000, Line Out Trigger In Polarity Rising Edge.

Set and Execute Counter Trigger Mode

Counter specifies that the trigger source will be generated after the set number of valid signals appears. For example, if you set the Count Number to 3, the trigger source will be generated after 3 signals appear.

Steps

  1. Click I/O Control Settings → Input → Trigger Mode.
  2. Select On as Trigger Mode.
  3. Select Counter 0 as Trigger Source.
  4. Set Trigger Delay, Count Number, Count Source and Line Out Trigger In Polarity according to actual demands.

Input parameters for counter trigger mode (Counter 0)

Figure 8-22 Set and Execute Counter Trigger Mode

Figure description (text version): Input group: Trigger Mode On, Trigger Source Counter 0, Trigger Delay (us) 0.00, Count Number 1, Count Source Off, Line Out Trigger In Polarity Falling Edge.

Set and Execute TCP Trigger Mode

TCP start specifies the TCP server as the source for the trigger signal. When the server receives the specified string text, the trigger signal will be outputted.

Click I/O Control Settings → Input → Trigger Mode, select On as Trigger Mode and select TCP Start as Trigger Source.

Set Trigger Delay, Tcp Trigger Port, and Tcp Start Trigger Text according to actual demands.

Input parameters for TCP trigger mode

Figure 8-23 Set and Execute TCP Trigger Mode

Figure description (text version): Input group: Trigger Mode On, Trigger Source TCP Start, Trigger Delay (us) 0.00, TCP Trigger Port 2001, TCP Start Trigger Text "start".

Set and Execute UDP Trigger Mode

UDP start specifies the UDP server as the source for the trigger signal. When the server receives the specified string text, the trigger signal will be outputted.

Click I/O Control Settings → Input → Trigger Mode, select On as Trigger Mode and select UDP Start as Trigger Source.

Set Trigger Delay, Udp Trigger Port, and Udp Start Trigger Text according to actual demands.

Input parameters for UDP trigger mode

Figure 8-24 Set and Execute UDP Trigger Mode

Figure description (text version): Input group: Trigger Mode On, Trigger Source UDP Start, Trigger Delay (us) 0.00, UDP Trigger Port 2002, UDP Start Trigger Text "start".

Set and Execute Serial Port Trigger Mode

Serial start specifies the serial port as the source for the trigger signal. When the serial port receives the specified string text, the trigger signal will be outputted.

Click I/O Control Settings → Input → Trigger Mode, select On as Trigger Mode and select Serial Start as Trigger Source.

Set Trigger Delay, Serial Baudrate, Serial Data Bits, Serial Parity, Serial Stop Bits, and Serial Start Trigger Text according to actual demands.

Input parameters for serial port trigger mode

Figure 8-25 Set and Execute Serial Port Trigger Mode

Figure description (text version): Input group: Trigger Mode On, Trigger Source Serial Start, Trigger Delay (us) 0.00, Serial Baudrate 9600, Serial Data Bits 8, Serial Parity No Parity, Serial Stop Bits 1, Serial Start Trigger Text "start".

Set and Execute Self Trigger Mode

Self trigger mode allows you to trigger the device according to the trigger period you configured.

Steps

  1. Click I/O Control Settings → Input → Trigger Mode.
  2. Select On as Trigger Mode.
  3. Select Self Trigger as Trigger Source, and set Self Trigger Period and Self Trigger Count.
  4. Click Execute in Self Trigger Start to start, and click Execute in Self Trigger Stop to stop.

Input parameters for self trigger mode

Figure 8-26 Set and Execute Self Trigger Mode

Figure description (text version): Input group: Trigger Mode On, Trigger Source Self Trigger, Self Trigger Period (ms) 300, Self Trigger Count 0, Self Trigger Start (Execute), Self Trigger Stop (Execute), Trigger Cache off.

8.3.4 Stop Trigger

The device supports stopping trigger via TCP, UDP, I/O, and serial port. You can also set code reading timeout duration or max. barcode amount to be read to stop trigger. After stopping trigger is completed, the device cannot make response to trigger again.

Stop Trigger via IO

You can stop a trigger via IO: Enabling IO Stop Trigger Enable first, select specific sources from IO Stop Trigger Selector, and then set the trigger polarity as the condition to stop trigger.

Stop Trigger parameters with IO stop trigger on LineIn0

Figure 8-27 Stop Trigger via IO

Figure description (text version): Stop Trigger group: TCP Stop Trigger Enable off, UDP Stop Trigger Enable off, IO Stop Trigger Enable on, IO Stop Trigger Selector LineIn0.

When selecting SoftwareTriggerEnd as IO Stop Trigger Selector, you can click Execute in Software Stop Trigger to stop current trigger.

Stop Trigger parameters with software trigger end

Figure 8-28 Software Trigger End

Figure description (text version): Stop Trigger group: TCP and UDP Stop Trigger Enable off, IO Stop Trigger Enable on, IO Stop Trigger Selector SoftwareTriggerEnd, Software Stop Trigger (Execute).

Stop Trigger via Serial

When the specified serial port receives the specified string text, the trigger will be stopped.

The client software sends stop trigger command to the device after Serial Stop Trigger Enable is enabled.

You should enter Serial Stop Trigger Text, Serial Baudrate, Serial Data Bits, Serial parity, and Serial Stop Bits according to actual demands. The Serial Baudrate includes 4800, 9600, 19200, 38400, 57600 and 115200, and Serial Data Bits is 8.

Stop Trigger parameters via serial port

Figure 8-29 Stop Trigger via Serial

Figure description (text version): Stop Trigger group: TCP, UDP and IO Stop Trigger Enable off, Serial Stop Trigger Enable on, Serial Stop Trigger Text "stop", Serial Baudrate 9600, Serial Data Bits 8, Serial Parity No Parity, Serial Stop Bits 1.

Stop Trigger via UDP

When the UDP server receives the specified string text, the trigger will be stopped. The client software sends stop trigger command to the device after Udp Stop Trigger Enable is enabled. You should enter Udp Trigger Port and Udp Stop Trigger Text according to actual demands. The range of Udp Trigger Port is from 1025 to 65535, and the default port is 2002.

Stop Trigger parameters via UDP

Figure 8-30 Stop Trigger via UDP

Figure description (text version): Stop Trigger group: TCP Stop Trigger Enable off, UDP Stop Trigger Enable on, UDP Trigger Port 2002, UDP Stop Trigger Text "stop".

Stop Trigger via TCP

When the TCP server receives the specified string text, the trigger will be stopped. The client software sends stop trigger command to the device after Tcp Stop Trigger Enable is enabled. You should enter Tcp Trigger Port and Tcp Stop Trigger Text according to actual demands. The range of Tcp Trigger Port is from 1025 to 65535, and the default port is 2001.

Stop Trigger parameters via TCP

Figure 8-31 Stop Trigger via TCP

Figure description (text version): Stop Trigger group: TCP Stop Trigger Enable on, TCP Trigger Port 2001, TCP Stop Trigger Text "stop".

Stop Trigger via Timeout Duration

Note: TimeOut Stop Trigger Enable is only available when the device mode is set to Normal and the Trigger Mode is On.

When the trigger time reaches the specified maximum value (in ms), the trigger will be stopped. You can enable TimeOut Stop Trigger Enable, and set Maximum Output Limited

Time according to actual demands. The range of Maximum Output Limited Time is 0 to 10000 ms.

Stop trigger via timeout duration parameters

Figure 8-32 Stop Trigger via Timeout Duration

Figure description (text version): Parameters: TimeOut Stop Trigger Enable on, Maximum Output Limited Time (ms) 10000.

Stop Trigger via Code Number

Note: CodeNum Stop Trigger Enable is only available when the device mode is set to Normal and the Trigger Mode is On.

This function means that the code quantity outputted by the device is restricted to the settings you configured here. You can enable CodeNum Stop Trigger Enable, and set CodeNum Stop Trigger Min and CodeNum Stop Trigger Max according to actual demands.

  • If the outputted code quantity is smaller than configured CodeNum Stop Trigger Min, and the device will output codes continuously.
  • If the outputted code quantity is smaller than configured CodeNum Stop Trigger Max, and the device will stop outputting codes.
  • If the outputted code quantity is between configured CodeNum Stop Trigger Min and CodeNum Stop Trigger Max, and the device will read and output codes according to trigger signals.
  • If CodeNum Stop Trigger Min is same with CodeNum Stop Trigger Max, and the device will stop outputting codes when the number of outputted codes reaches the configured number.

Stop trigger via code number parameters

Figure 8-33 Stop Trigger via Code Number

Figure description (text version): Parameters: CodeNum Stop Trigger Enable on, CodeNum Stop Trigger Min 1, CodeNum Stop Trigger Max 3.

8.4 Signal Output Settings

8.4.1 Select Output Signal

The device’s output signal can control external devices like PLC, flashing light, etc. Click I/O Control Settings → Output → Line Out Selector to select output signal.

Output parameters: Line Out Selector, Inverter, Activation Event

Figure 8-34 Select Output Signal

Figure description (text version): Output group: Line Out Selector LineOut 0, Line Out Inverter off, Line Out Activation Event Off.

8.4.2 Enable Line Inverter

The level inverter function allows the device to invert the electrical signal level of an I/O line, and meets requirements of different devices for high or low electrical signal level.

You can go to I/O Control Settings → Output → Line Out Inverter to enable it.

Note: The Line Out Inverter function is disabled by default.

Output parameters with Line Out Inverter enabled

Figure 8-35 Enable Line Out Inverter

Figure description (text version): Output group: Line Out Selector LineOut 0, Line Out Inverter on, Line Out Activation Event Off.

8.4.3 Set Event Source

The device supports outputting different trigger signals according to the event source you select.

Click I/O Control Settings → Output → Line Out Activation Event to select event source.

The device supports following event sources, including Off, Acquisition Start Active, Acquisition Stop Active, Frame Burst Start Active, Frame Burst Stop Active, Exposure Start Active, Soft Trigger Active, Hard Trigger Active, Counter Active, Timer Active, No Code Read, Read Success, and Light Strobe Long.

Note: You need to set different parameters when selecting these event sources.

Line Out Activation Event drop-down list of event sources

Figure 8-36 Set Event Source

Figure description (text version): Output group with the Line Out Activation Event list expanded: Off, AcquisitionStartActive, AcquisitionStopActive, FrameBurstStartActive, FrameBurstStopActive, ExposureStartActive, SoftTriggerActive, HardTriggerActive, CounterActive, TimerActive (list continues).

Select Acquisition Start Active

If acquisition starts, the output signal will be triggered. When you select Acquisition Start Active as Line Out Activation Event, you can set its output delay time and duration.

Line Out Delay Time

It sets the delay time for outputting the output signal.

Line Out Duration

It sets the time duration of the output signal.

Output parameters with AcquisitionStartActive event

Figure 8-37 Select Acquisition Start Active

Figure description (text version): Output group: Line Out Selector LineOut 0, Line Out Inverter off, Line Out Activation Event AcquisitionStartActive, Line Out Delay Time (us) 0, Line Out Duration (us) 1000.

Select Acquisition Stop Active

If acquisition stops, the output signal will be triggered. When you select Acquisition Stop Active as Line Out Activation Event, you can set its output delay time and duration.

Line Out Delay Time

It sets the delay time for outputting the output signal.

Line Out Duration

It sets the time duration of the output signal.

Output parameters with AcquisitionStopActive event

Figure 8-38 Select Acquisition Stop Active

Figure description (text version): Output group: Line Out Selector LineOut 0, Line Out Inverter off, Line Out Activation Event AcquisitionStopActive, Line Out Delay Time (us) 0, Line Out Duration (us) 1000.

Select Frame Burst Start Active

Note: The Frame Burst Start Active is not supported when the trigger polarity is level high or level low.

If the burst of a frame starts, the output signal will be triggered. When you select Frame Burst Start Active as Line Out Activation Event, you can set its output delay time and duration.

Line Out Delay Time

It sets the delay time for outputting the output signal.

Line Out Duration

It sets the time duration of the output signal.

Output parameters with Frame Burst Start Active event

Figure 8-39 Select Frame Burst Start Active

Figure description (text version): Output group: Line Out Selector LineOut 0, Line Out Inverter off, Line Out Activation Event Frame Burst Start Active, Line Out Delay Time (us) 0, Line Out Duration (us) 1000.

Select Frame Burst Stop Active

Note: The Frame Burst Stop Active is not supported when the trigger polarity is level high or level low.

If the burst of a frame stops, the output signal will be triggered. When you select Frame Burst Stop Active as Line Out Activation Event, you can set its output delay time and duration.

Line Out Delay Time

It sets the delay time for outputting the output signal.

Line Out Duration

It sets the time duration of the output signal.

Output parameters with FrameBurstStopActive event

Figure 8-40 Select Frame Burst Stop Active

Figure description (text version): Output group: Line Out Selector LineOut 0, Line Out Inverter off, Line Out Activation Event FrameBurstStopActive, Line Out Delay Time (us) 0, Line Out Duration (us) 1000.

Select Exposure Start Active

Note: For different models of device, when selecting Exposure Start Active as Line Out Activation Event, the specific parameters may be different. The actual product you purchased shall prevail.

If you select Exposure Start Active as Line Out Activation Event, you can set its output delay time, duration, and ahead time.

Line Out Delay Time

It sets the delay time for outputting the signal.

Line Out Duration

It sets the duration for outputting the signal.

Line Out Ahead Time

It sets the ahead time for outputting the signal.

Output parameters with ExposureStartActive event

Figure 8-41 Select Exposure Start Active

Figure description (text version): Output group: Line Out Selector LineOut 0, Line Out Inverter on, Line Out Activation Event ExposureStartActive, Line Out Delay Time (us) 0, Line Out Duration (us) 1000, Line Out Ahead Time (us) 0.

Select Soft Trigger Active

If you select Soft Trigger Active as Line Out Activation Event, you can set its output delay time, duration, and execute outputting signal manually.

Line Out Delay Time

It sets the delay time for outputting the output signal.

Line Out Duration

It sets the time duration of the output signal.

Line Trigger Software

Click Execute for manually outputting the output signal.

Output parameters with Soft Trigger Active event

Figure 8-42 Select Soft Trigger Active

Figure description (text version): Output group: Line Out Selector LineOut 0, Line Out Inverter off, Line Out Activation Event Soft Trigger Active, Line Trigger Software (Execute), Line Out Delay Time (us) 0, Line Out Duration (us) 1000.

Select Hard Trigger Active

If you select Hard Trigger Active as Line Out Activation Event, you can set its output delay time, duration, trigger source, and trigger activation.

Line Out Delay Time

It sets the delay time for outputting the output signal.

Line Out Duration

It sets the time duration of the output signal.

Hardware Trigger Source

It sets the hardware trigger source, including LineIn 0, LineIn 1, and LineIn 2.

Hardware Trigger Activation

It sets the trigger activation of input signal, including Rising Edge and Falling Edge.

Output parameters with Hard Trigger Active event

Figure 8-43 Select Hard Trigger Active

Figure description (text version): Output group: Line Out Selector LineOut 0, Line Out Inverter off, Line Out Activation Event Hard Trigger Active, Hardware Trigger Source LineIn 0, Hardware Trigger Activation Rising Edge, Line Out Delay Time (us) 0, Line Out Duration (us) 1000.

Select Counter Active

Counter active means that the counter triggers the output signal. When you select Counter Active as Line Out Activation Event, you can set its output delay time and duration.

Line Out Delay Time

It sets the delay time for outputting the output signal.

Line Out Duration

It sets the time duration of the output signal.

Output parameters with CounterActive event

Figure 8-44 Select Counter Active

Figure description (text version): Output group: Line Out Selector LineOut 0, Line Out Inverter off, Line Out Activation Event CounterActive, Line Out Delay Time (us) 0, Line Out Duration (us) 1000.

Select Timer Active

If you select Timer Active as Line Out Activation Event, you can set its output duration and period.

Line Out Duration

It sets the time duration of the output signal.

Line Out Period

It sets the time period of the output signal.

Output parameters with TimerActive event

Figure 8-45 Select Timer Active

Figure description (text version): Output group: Line Out Selector LineOut 0, Line Out Inverter on, Line Out Activation Event TimerActive, Line Out Duration (us) 1000, Line Out Period (us) 1000.

Select No Code Read

If you select No Code Read as Line Out Activation Event, you can set its output delay time and duration.

Line Out Delay Time

It sets the delay time for outputting the output signal.

Line Out Duration

It sets the time duration of the output signal.

Output parameters with NoCodeRead event on LineOut 2

Figure 8-46 Select No Code Read

Figure description (text version): Output group: Line Out Selector LineOut 2, Line Out Inverter off, Line Out Activation Event NoCodeRead, Line Out Delay Time (us) 0, Line Out Duration (us) 1000.

Select Read Success

If you select Read Success as Line Out Activation Event, you can set its output delay time and duration.

Line Out Delay Time

It sets the delay time for outputting the output signal.

Line Out Duration

It sets the time duration of the output signal.

Output parameters with ReadSuccess event on LineOut 2

Figure 8-47 Select Read Success

Figure description (text version): Output group: Line Out Selector LineOut 2, Line Out Inverter off, Line Out Activation Event ReadSuccess, Line Out Delay Time (us) 0, Line Out Duration (us) 1000.

Select Light Strobe Long

If you select Light Strobe Long as Line Out Activation Event, you do not need to set any parameters.

Słowa kluczowe

Hikrobot ID3000, trigger mode, software trigger, hardware trigger, counter trigger, TCP trigger, UDP trigger, serial trigger, self trigger, stop trigger, line out, line inverter, event source, NoCodeRead, ReadSuccess