We have a custom made external axis that we control with I/O. So for DO1 it goes to first location, for DO2 it goes to second location … Is it possible to model that in Visual Components? All I´ve found was “real” external axes, where the robot incorporates it´s motion with the axis motion.
It’s fine. Here is an example where the robot tells the servo to move. You could change this, of course, by connecting the servo’s signals to a controller or other component.
When writing values to a signal map, the Connectivity feature doesn’t check that the signal has actually changed value. This results in the OnSignal event handler in zesty’s example to be called repeatedly on every value synchronization with the same “True” or “False” value. The example logic doesn’t seem to take that into account.
You have at least a couple of options:
Connect directly to the signals in the floor track, which would cause event filtering to happen in the Connectivity feature
Store the previous value for each signal in the script and filter there