SetDeEnergizeOutputs

Configures the De-Energize Outputs While Offline setting found in the Discrete I/O Settings dialog.

Note: 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.

SetDeEnergizeOutputs Inputs

Syntax: EV SetDeEnergizeOutputs(DeEnergizeOutputs,WriteProcSet)

Parameter Description
DeEnergizeOutputs
  • 0 = Disabled (default)
  • 1 = Enabled

WriteProcSet

  • 0 = Settings are not saved in the proc.set file. The settings do not persist if the In-Sight vision system/sensor is power cycled.
  • 1 = Settings are saved in the proc.set file. The settings persist after the In-Sight vision system/sensor is power cycled.

SetDeEnergizeOutputs Outputs

Returns a status code, followed by the number of characters (in bytes) for the results, then the results in XML format. The status codes are:

Status Codes Description
1 The command was executed successfully.
0 Unrecognized command.
-2 The command could not be executed.
-6 User does not have Full Access to execute the command. For more information, see User Access Settings Dialog.

SetDeEnergizeOutputs Example

To configure the sensor to de-energize outputs when placed Offline, issue the following command: EV SetDeEnergizeOutputs(1,1)

The In-Sight sensor responds with a status code (1), followed by the number of characters, in bytes (18). Finally, the value (1) is returned.