Saltar al contenido principal

Scanners Reference

Camera​

float Distance​

  • Description: Get/Sets the distance the camera is able to detect parts

bool StartCam​

  • Description: if true camera starts to read WorkParts Type

int DetectedWPType​

  • Description: Returns the WorkPart detected type

bool Detection​

  • Description: returns true if the camera detects movement in the centered middle square of the camera screen

CameraRemote​

float CameraRotX​

  • Description: Get/Sets the camera rotation in axis X

float CameraRotY​

  • Description: Get/Sets the camera rotation in axis Y

float CameraZoom​

  • Description: Get/Sets the camera zoom (0 to 180)

void TakeSnapshot(string path)​

  • Description: saves in the passed path, a png file with format dd_MM_yy HH_mm_ss.png with the camera capture image.

RFID​

void WriteRFID(int n)​

  • Description: Writes the code 'n' in the detected WorkPart

int ReadRFID()​

  • Description: returns the code readed in the detected WorkPart

VisionSensor​

bool StartCam​

  • Description: if true the sensor starts to scan

int NumParts()​

  • Description: Returns the number of detected WorkParts.

Vector3 GetCoordinates(int sel)​

  • Description: returns the position of the selected 'sel' WorkPart coordinates, relative to the camera position.

Vector3 GetMeasures(int n)​

  • Description: returns the size of the selected 'sel' WorkPart (X: width, Y: height, z: length).

int WPId(int n)​

  • Description: returns the type of the selected 'sel' WorkPart.

Vector3[] Coordinates()​

  • Description: returns a Vector3 array for all the detected WorkParts with their coordinated position.

Vector3[] Measures()​

  • Description: returns a Vector3 array for all the detected WorkParts with their sizes (X: width, Y: height, z: length).

int[] WPIds()​

  • Description: returns an int array for all the detected WorkParts with their workpart type information.

float GetPartRotation(int n)​

  • Description: returns the rotation in Y axis for the selected 'n' WorkPart.

float[] GetRotations()​

  • Description: returns a float array for all the detected WorkParts with their Y axis rotation value.

Vector3 GetPartRotations(int n)​

  • Description: returns the rotation for the selected 'n' WorkPart.

Vector3[] PartRotations()​

  • Description: returns a Vector3 array for all the detected WorkParts with their rotation value for X,Y and Z axes.

bool MeasMode​

  • Description: if true returns the WorkPart dimensions, if false returns the WorkPart position.