Universal Robots Forum

Robot Analog Output via RTDE

Hi,

I want to set one of the analog standard outputs AO0, AO1 via RTDE.

The RTDE documentation says about the standard_analog_output_0 the following: Standard analog output 0 (ratio) [0..1]
Now, what does ratio mean? I just want to specify the voltage for that port. Does this mean adjusting the value to be between 0 and 1 and 1 being 10 Volt?

Additionally: What is the minimum set of variables that need to be set to do this? I suppose standard_analog_output_type being one of them.

Yes.
However whether 0.0 and 1.0 being respectively 4 mA or 0 V and 20 mA or 10 V is depending on the value of the AOT (analog output type) bits. But it is ratio of full scale out.

Thank you @jbm

Now that I connected our setup I get the error when starting up:

SafetyA: C192A20: Safety system fault: SPI output error detected

This happened after connecting a micro controller (attached to a small gripper) to the PWR and GND connections of the POWER TAB for power and two connectors to the AO0 and AG of the analog output.

What does this mean?

//Edit: Okay fixed that.

The SPI output error comes, if there is no 24V present, at the 24V rail.
Typically if the jumpers between PWR and 24V are missing, loose or if an external PSU is used and is not active.