Saltar al contenido principal

Sensors Reference

Inductive Switch

float Distance

  • Description: Get/Set the distance the switch is able to detect parts.

bool Status

  • Description: Returns the status (whether the switch has detected a part or not).

float DistanceMeasurementValue

  • Description: If configured as a Distance Measurement Sensor, returns the distance to the detected object in millimeters.

Photocell

float Distance

  • Description: Get/Set the distance the photocell is able to detect parts.

bool Status

  • Description: Returns the status (whether the photocell has detected a part or not).

PhotoBarrier

bool Status

  • Description: Returns the status (whether the PhotoBarrier has detected a part or not).

Capacitive

float Distance

  • Description: Get/Set the distance the capacitive switch is able to detect parts.

bool Status

  • Description: Returns the status (whether the switch has detected a part or not).

float Distance (Analogic)

  • Description: If the IsAnalogic property is set to true, returns the distance at which the switch detects the part.

bool IsAnalogic

  • Description: If true and a part is detected, returns the distance at which the switch detects the part.

Mechanic Switch

float ActivationAngle

  • Description: Get/Set the angle from which the switch is activated when a part is touching.

bool Status

  • Description: Returns the status (whether the switch has detected a part or not).

Light Sensor

float LightIntensity

  • Description: Returns the detected light intensity.

ColorSensor

bool Work

  • Description: If true, it activates the sensor; if false, it does not send color values.

float Red / float Green / float Blue

  • Description: Returns the amount of red, green, or blue color detected (0 to 1).