RobotStudio event

Distance Sensor SmartComponent

Hi there,

i try to create a Distance Sensor as SmartComponent.
I used the line sensor for detecting a part.
When i start the simulation and look at the properties of the sensor the coordinates from the start and end point will be the actual position in cell.
That should be fine.
My problem is that the the start and endpoint in the logic dont change and have the values to the local origin from the smart component.

Best regards

Comments

  • Have you tried changing the local origin - right click on the graphical component->modify->local origin?