The robot's coordinate values appear incorrect in the PLC

Hello, I’m receiving TCP position data from a UR5 to a Siemens PLC via Profinet connection. However, the data shown on the PLC differs from the data displayed on the robot pendant. How can I obtain the actual position data of the robot to the PLC? Could you please assist me with this?

Hi,

Ex: TCP position X (float) [m]

The X pose shows in Meters [m] but in pendant it will show in Milli meters [mm], or check the register assigned is correct? or Check in w.r.t Base coordinate system.

Hope above may useful to get the correct values.

Thanks
Ashok