# System State Signals

The System State signals are the following:

- [out]Set Offline:

  Setting this bit puts the vision system into an offline state (Forced Offline - Protocol is Offline). Clearing this bit puts the vision system back into an online running state.

- [in]Online:

  The vision system sets this bit when it can run the currently loaded job. The online state is typically set from the In-Sight Vision Suite editor, a native mode command (SO0/SO1), a discrete input, a WebHMI, or from a PLC. All of the conditions listed before must be set for the vision system to be online. If any of these conditions are not set (1) then the vision system is forced offline and the condition causing it can be checked by reading the Offline Reason field.

- [in]Offline Reason:

  This is a 3-bit field is for identifying why and which condition caused the vision system to be forced offline. If the PLC keeps the vision system in the forced offline state, then this value becomes 3 (lower 2 bits are set to 1).

- [in]Current Job ID:

  This is a 16-bit integer that denotes the ID number of the currently loaded job in the vision system or 65535 (-1 signed) if the current job does not have an ID number. This value is updated when the job is changed or loaded on the vision system regardless of the method used to change the job (PLC, In-Sight Vision Suite, WebHMI, discrete inputs). Supported values are 0-999 if the job has an ID in its name, or 65535 (-1 signed) if not.