@Christoph-Hart Ohh, awesome, that works fine. You can also specify the slot that way.
Content.makeFrontInterface(600, 600);
const var rm = Engine.getGlobalRoutingManager();
const var cable = rm.getCable("Slot_01");
const var value = cable.getValue();
Console.print(value);
Thanks a lot! :-)