Skip to Main Content
Centro de soporte de Cognex
Logo

How to Switch Jobs on In-Sight Vision Suite Camera (In-Sight 3800/In-Sight 2800/In-Sight 8900) via Modbus TCP Communication

This article explains how to switch jobs on In-Sight Vision Suite camera (In-Sight 3800/In-Sight 2800/In-Sight 8900) via Modbus TCP communication.

05/03/2026

Details

Procedure to load or change the job on In-Sight Vision Suite camera In-Sight 3800/In-Sight 2800/In-Sight 8900 using Modbus TCP. 

  1. Save each job file starting with an integer value between 000–999.
    Example: 01_Job1, 02_Job2, 03_Job3, etc.
  2. Enable Modbus TCP on the In-Sight Vision Suite camera as described in the documentation
    How to enable the Modbus TCP communication
  3. Modbus TCP supports four distinct address spaces. There are 2 bit address space and 2 word (16-bit) address spaces.
    1. Coil: Bit type address space. Output from PLC, input to vision system
    2. Discrete Input: Bit type address space. Input to PLC, output from vision system
    3. Holding Register: Word type address space. Both Input & Output from vision system
    4. Input Register: Word type address space. Input to PLC, output from vision system
Block NameAddress SpaceOffsetSchneider Form AddressingQuantity
Vision ControlCoil0000000 – 0000311 – 32
Holding Register0400000 – 4000011 – 2
Vision StatusDiscrete Input0100000 – 1000311 – 32
Holding Register100400100 – 4001011 – 2
InputHolding Register2000402000 – 4040001 – 2001
OutputHolding Register7000407000 – 4090041 – 2005
Input Register2000302000 – 3040041 – 2005
String CommandHolding Register1000401000 – 4019991 – 1000
String Command ResultInput Register1000301000 – 3019991 – 1000
Holding Register6000406000 – 4069991 – 1000

Note : For detailed bit mapping and complete descriptions of each behavior, refer to the documentation.

Loading a Job Using Holding Registers

  1. Ensures the camera is online
    Set Bit 40100.7 = HIGH
  2. Check the Current Job ID
    Read Register 407000 (WORD format)
  3. Set Camera Into Communication Offline Mode
    Set Bit 40000.7 = HIGH
  4. Write the Job ID to Be Loaded
    Write the desired Job Number to Register 402000 .Example values: 00, 01, 02, 03, …
  5. Execute the Load Command
    Set Bit 40000.4 = HIGH
  6. Verify Job Load Completion
    Monitor Bit 40100.5 (Command Completed)
    When HIGH, the job has been successfully loaded.
  7. Confirm the Job Loaded
    Re-read Register 407000 to ensure it matches the expected Job ID.
  8. Reset Bits
    Turn OFF Bit 40100.7 and Bit 40000.4

Recursos relacionados