RobotStudio event

SmartComponent - Events for triggering a signal

Hi,

I'm quite new in programming and I just started with the development of SmartComponents.
I would like to check the position of a joint value. If it has reached a defined position, the SmartComponent should trigger a DigitalOutput (=limit switch).

My problem now is, how can I connect the joint value with a DynamicProperty? If this is possible, I could use the event "OnPropertyValueChanged" to trigger further methodes.

thanks, Henry

Answers