Online and Offline States

The In-Sight vision system has three possible states: Online, Offline and Paused.

The current Online/Offline status is indicated on the status bar in the lower right corner of the In-Sight ViDi adapter.

State Status Indicator Description

Offline

While offline, the vision system cannot respond to external acquisition triggers or send and/or receive data to and/or from the job. In this state, the vision system is waiting for a job to be loaded by the In-Sight ViDi adapter, or to execute a previously loaded job.

While developing your job in the Spreadsheet Editor, you can press the button (or F6) to acquire a new image and execute the cells in the spreadsheet.

Online

The online state is used when the job has been developed and you are ready to either deploy or test your job.

While online, the job is actively running, processing triggers, and executing spreadsheet functions and logic. You can interact with the job via the Web Pages created for the application. Changes to the loaded job cannot be made while the vision system is actively running the vision application, performing I/O operations and acquiring images, unless the job is placed into the paused state.

When the job is online, the In-Sight ViDi adapter can be closed and the job can be monitored and interacted with using a Web browser, or simply left to operate on the vision system without being monitored or outside interaction, just relying on the external interactions designed into the job. If edits to the job need to be performed, connect to the vision system using the In-Sight ViDi adapter, and press the button to go offline.

For the vision system to be in an online state, the following three independent Online states must be in agreement: 

  • $System.OnlineEnableHmi = True

    This tag's state is typically controlled by a WebPage Status Online-Pause control element.

  • $System.OnlineEnableComm = True

    This tag's state is controlled by the Industrial Communications protocol, by toggling the state of the Online and Paused bits.

  • $System.OnlineEnableDiscrete = True

    This tag's state is controlled by Discrete I/O Settings.

When all of the above tags are in agreement, the $System.OnlineEnabled tag will be True.

Note: For more information on the tags, see the System Tags and $ Functions topic.

Paused

The paused state is used when the job has been deployed, but you want to pause interactions with external devices or make changes to the vision system without taking it offline. For more information, see the Pause While Online topic.