Configure Discrete I/O Lines

  1. From the Sensor Menu, click Discrete I/O Settings.

  2. Optionally, click I/O Module to open the I/O Module Configuration dialog and configure the I/O module. Once configured, press the OK button to close the I/O Module Configuration dialog and return to the Discrete I/O Settings dialog. For more information, see I/O Module Configuration.

    Note:
    • After the first successful connection between the vision system and an I/O module, an "(attached)" message is displayed next to the I/O module that is physically attached to the sensor.
    • If CIO-MICRO, CIO-MICRO-CC or CIO-WENET is the selected I/O module, when the OK button is clicked, the vision system attempts to establish EtherNet/IP communication with the module, using the specified IP address. If the IP address does not exist on the network, if EtherNet/IP is not enabled on the module, or if another device already has an EtherNet/IP connection to the module, an error message will appear.
  3. Select an input or output line to configure. The default settings vary depending on the In-Sight vision system being configured and the type of I/O module connected to the vision system:
  4. In-Sight 7000 Gen2 Series and 9912 only: If the line supports a bi-directional I/O, select Input or Output from the Direction drop-down.
  5. You can customize the default line Name by entering a new name specific to your application. The name may include up to 15 bytes, for reference purposes only; it does not change the functionality of the line and cannot be referenced.
  6. Choose an input Signal Type for the selected input line. Each input line can be configured for one of the following functions:

    Input Signal Type Description

    User Data

    General purpose input line; used to drive events in the spreadsheet or to set a value in the spreadsheet using the ReadDiscrete function.

    Event Trigger

    Triggers an event. To update the spreadsheet, the spreadsheet must contain an Event structure with its Trigger parameter set to this discrete input line number.

    Job ID Number

    Provides one bit of a Job ID Number, which is loaded when the State of a different input line with a Type of Job Load Switch is ON.

    Note:
    • To use the Job ID Number function, the job to be loaded must be saved with a numerical prefix of 0 to 127.
    • The least significant bit of the Job ID Number corresponds to the lowest numbered discrete input line on your I/O module.

    Online/Offline

    Forces the In-Sight vision system Offline or Online (0 = Offline, and 1 = Online). This input type may not be used on more than one input line simultaneously.

    Note: When the Signal Type is set to Online, the vision system may still be Offline if it has been set Offline manually in the In-Sight Explorer user interface or a Native Mode Set Online command, SO0, has been issued telling the In-Sight vision system to go Offline.

    Acquisition Trigger

    (Not supported on the CIO-1400)

    Triggers the vision system to acquire an image. To use this setting, the Trigger parameter in the AcquireImage property sheet must be set to External and a signal line must be physically connected to the input of the In-Sight vision system to use the Acquisition Trigger input. This input type may not be used on more than one input line simultaneously.

    Note:
    • If the AcquireImage function's Trigger parameter is set to External and an acquisition is missed, the ERR: Missed Acquisition discrete output will not be sent from the vision system. The ERR: Missed Acquisition signal is only supported when the AcquireImage function's Trigger parameter is set to Camera.
    • Faster trigger rates can be achieved by using the vision system's built-in acquisition trigger input (by setting the AcquireImage function's Trigger parameter to Camera) versus triggering the vision system with a general-purpose input line configured as an Acquisition Trigger (by setting the AcquireImage function's Trigger parameter to External).

    Job Load Switch

    ON reads all Job ID Number lines and loads the specified job. This input type may not be used on more than one input line simultaneously.

    Note: The In-Sight vision system must be Offline.

    Serial Receive
    (Direct I/O Only)

    Configures this line as a serial reception line.

    Note:
    • Serial Receive is only available when connecting to an In-Sight 70xx - 74xx series vision system with In-Sight Explorer 4.7.1 or later, and using In-Sight 4.7.1 or later firmware.
    • This input type is only valid for Line 1 when Direct I/O is selected.
    • There are two options for enabling serial communication for the In-Sight 70xx - 74xx series vision system: using the Breakout cable or using the CIO-MICRO or CIO-MICRO-CC I/O module. When connected to the Breakout cable (and there is no connection to an I/O module), the vision system allows one discrete input line and one discrete output line to be configured as Serial Receive and Serial Transmit, respectively.
  7. Select an Edge Type for the selected input line, which controls the sensitivity of the input line to edge transitions.

    • Rising Edge: Changes the state of the input line on the leading edge of a pulse.
    • Falling Edge: Changes the state of the input line on the falling edge of a pulse.
    • Both Edges: Changes the state of the input line on the leading edge and falling edge of a pulse. This option is only available when Event Trigger is the selected Type.
  8. Select a Signal Type for the selected output line. Each output line can be configured for one of the following functions:

      Output Signal Type Description

    Programmed

    (default)

    Enables a WriteDiscrete function in the spreadsheet to control the State of this output line. Either pulsed or steady-state.

    High

    Forces the output to HIGH (1).

    Low

    Forces the output to LOW (0).

    Acquisition Start

    Signals the vision system has initiated an acquisition. Always pulsed.

    Note: For the In-Sight 8405 vision system, the Acquisition Start signal is pulsed when the first pixel row is exposed. For more information, see In-Sight 8405 Rolling Shutter Operation.

    Acquisition End

    Signals the completion of vision system acquisition. Always pulsed.

    Note: For the In-Sight 8405 vision system, the Acquisition End signal is pulsed when the total image readout is complete. For more information, see In-Sight 8405 Rolling Shutter Operation.

    Job Completed

    Signals each time the spreadsheet has completed an update. Always pulsed.

    System Busy

    HIGH when the vision system is running a job or responding to user input, LOW when the vision system is idle.

    Job Load OK

    Signals the job loaded successfully. Always pulsed.

    Job Load Fail

    Signals the failure of a job load. Always pulsed.

    ERR: Missed Acquisition

    Signals that an acquisition trigger was received before an Acquisition End signal was sent, or that no image buffer was available for image acquisition when an acquisition trigger was received. Always pulsed.

    Note: The Trigger parameter in the AcquireImage property sheet must be set to Camera to use the ERR: Missed Acquisition output.

    ERR: Tracking Overrun

    Signals that the spreadsheet issued a delayed discrete output signal sometime after the time it was expected. Always pulsed.

    Note: This signal is not supported on CIO-1400 and CIO-MICRO.

    ERR: Tracking Queue Full

    Signals that the spreadsheet issued a delayed discrete output for a line where a different output had been previously scheduled to occur at the same time. Always pulsed.

    Online/Offline

    HIGH (1) when the vision system is Online, LOW (0) when the vision system is Offline.

    Strobe

    The rising or falling edge of the signal can be used to trigger a strobe.

    • NPN Configuration: If the Strobe/Light Control Trigger in the Output Details dialog is set to Rising Edge, the signal is HIGH when the image sensor is being exposed, otherwise the signal is LOW. If the Strobe/Light Control Trigger is set to Falling Edge, the signal is LOW when the image sensor is being exposed, otherwise the signal is HIGH. Always pulsed for the duration of the exposure. The Exposure time must be 0.50 ms greater than the strobe pulse duration specified on the external strobe device.
    • PNP Configuration: If the Strobe/Light Control Trigger in the Output Details dialog is set to Rising Edge, the signal is LOW when the image sensor is being exposed, otherwise the signal is HIGH. If the Strobe/Light Control Trigger is set to Falling Edge, the signal is HIGH when the image sensor is being exposed, otherwise the signal is LOW. Always pulsed for the duration of the exposure. The Exposure time must be 0.50 ms greater than the strobe pulse duration specified on the external strobe device.
    Note:
    • The In-Sight Micro 1000 series, In-Sight 5000 series (except the 5604), In-Sight 7000 Gen2 series, In-Sight 8000 series and In-Sight 9000 series vision systems support the Strobe signal type for the HSOUT 1 line.
    • The In-Sight 70xx - 74xx series vision system supports the Strobe signal type for the HSOUT 0 line.
    • For the In-Sight 5600 series, 5705, 5705C, 5715 and 9902L vision systems, the strobe behavior is inverted (i.e., for NPN wiring configurations, the Rising Edge and Falling Edge behave like a PNP configuration).
    • For the In-Sight 8405 vision system, the Strobe Start Position is fixed to All Rows Exposed and the output signal is pulsed only during the time that all pixel rows are exposed. If using a strobe with the In-Sight 8405 vision system, a minimum Exposure value of 72ms is recommended for a full frame image capture, to ensure that all pixel rows are exposed when the strobe is pulsed. For more information, see In-Sight 8405 Rolling Shutter Operation.
    • If using a strobe with the In-Sight 9902L line scan vision system:
      • The strobe should use a PNP wiring configuration and the Strobe/Light Control Trigger should be set to Rising Edge.
      • When the vision system receives an acquisition trigger, the output line sends a pulse and the strobe flashes for the duration of the Exposure time. Once exposure is complete, there must be a minimum of 100µs before the next acquisition trigger is received or the strobe might not function correctly.
    • The vision system and strobe device must be connected to the same ground for the strobe to operate correctly.

    Light Control

    (CIO-1460 Only)

    The rising or falling edge of the signal can be used to trigger a light. If the Strobe/Light Control Trigger in the Output Details dialog is set to Rising Edge, the signal is HIGH when the image sensor is being exposed, otherwise the signal is LOW. If the Strobe/Light Control Trigger is set to Falling Edge, the signal is LOW when the image sensor is being exposed, otherwise the signal is HIGH.  Always pulsed for the duration of the exposure. The exposure time must be 0.50 ms greater than the pulse duration specified on the external lighting device. For more information, see AcquireImage.

    Note:
    • The vision system and lighting device must be connected to the same ground for the lighting device to operate correctly.
    • This output type is only valid for HSOUT 1, when configuring the CIO-1460 I/O module for the In-Sight 5000 series vision system.

    I/O Module Standby

    (CIO -1450 and CIO-1460 Only)

    ON means that the I/O module has detected a communication error between the vision system and the I/O module, and is trying to re-establish communication. The line turns OFF when the I/O module detects that the error condition has been corrected.

    Note: This output type is only valid for lines 0 - 7 when configuring the CIO-1450 or CIO-1460.

    Lifeline

    (CIO -MICRO & CIO-MICRO-CC Only)

    HIGH when the vision system is actively connected to the CIO-MICRO or CIO-MICRO-CC. LOW when the connection with the vision system fails.

    Waveform

    Enables a Waveform function, WriteWaveformPulseTrain or WriteWaveformClocked, in the spreadsheet to control the State of this output line. For more information, see Waveform Functions, WriteWaveformPulseTrain and WriteWaveformClocked.

    Serial Transmit

    (Direct I/O Only)

    Configures the line as a serial transmission line.

    Note:
    • Serial Transmit is only available when connecting to an In-Sight 70xx - 74xx series vision system with In-Sight Explorer 4.7.1 or later, and using In-Sight 4.7.1 or later firmware.
    • This output type is only valid for output line 1 when Direct I/O is selected.
    • There are two options for enabling serial communication for the In-Sight 70xx - 74xx series vision system: using the Breakout cable or using the CIO-MICRO or CIO-MICRO-CC I/O module. When connected to the Breakout cable (and there is no connection to an I/O module), the vision system allows one discrete input line and one discrete output line to be configured as Serial Receive and Serial Transmit, respectively.

    Job Pass/Fail Cell

    (In-Sight 7000 Gen2 Series and In-Sight 9000 Series Only)

    When selected, the vision system's Pass/Fail LED and indicator ring illuminate green (pass) or red (fail) based on the current state of the specified Job Pass/Fail cell. The LEDs will not turn on if a Job Pass/Fail cell is not specified or if the Job Pass/Fail cell returns a Warning or None Job Status. For more information, see Job Pass/Fail Cell Setup Dialog.
  9. Click the Details button to open the Output Details dialog for the selected output line, if detailed settings are available for the specified output Type. For more information, see Configure Discrete Output Details.
  10. Optionally, check De-Energize Outputs While Offline to de-energize the outputs when the vision system is placed Offline.

    Note:
    • If the De-Energize Outputs While Offline checkbox is checked, and you place the vision system Online, output line(s) configured using the Discrete I/O Settings dialog are restored. Output line(s) configured using the WriteDiscrete function are not restored. The function's specified Event must occur for the output line(s) to be restored. For more information, see WriteDiscrete.
    • If the De-Energize Outputs While Offline checkbox is checked and the CIO-MICRO or CIO-MICRO-CC I/O module has an output line configured as a LifeLine signal type, the line will remain HIGH when the connected vision system is placed Offline.
  11. Click OK to accept the changes (changes are saved to flash memory), or click Cancel to undo the changes.