Universal Robots Forum

Change digital tool ouput mode (PNP to NPN)

How can I change the digital tool output mode from PNP (sourcing) to NPN (sinking) with an URScript?
Like e.g. set_tool_voltage(0)