Hello everyone,
We need to extract MotorTorques (but in general num RAPID types values) from the PROFINET IRC5 device to my PCL
We managed to established communication between PROFINET device and controller but we bumped into some difficulties in understanding the device mapping for a proper conversion, this is our example at the moment:
The doc I followed is contained into: Technical reference manual - System parameters.
The core info should be the following in terms of our given example:
We should have understood the Maximum (Minimum) Bit Value: we would like 32 bit values for our num value mapping, we set them to +/- ((2^31)-1) (if Two complement encoding type is selected).
Concerning the others, Max (min) logical, physical, physical limit have been set 0 according to the doc we underlined in the green box, but here we’re not sure (also by considering the example proposed in the documentation where different values were given).
We’re also a bit confused about the Analog encoding type meaning (Two complement vs Unsigned): it is clear the semantic use of this according to the physical quantity to be represented, however the Max (min) logical, physical, physical limit: are +/- (3.4 * 10^38), which are the limits of 32 bit IEEE754 floating point convention (Single-precision floating-point format - Wikipedia), whereas AFAIK Two complement is in the domain of integers numbers.
Note: I found this related issue Analog output signal — ABB Robotics User Forums even though I was not able to grasp entirely the solution found, anyway let me know if I need to take actions to avoid duplication problems.
I thank you in advance for any insight on this.





