1
General Mach Discussion / Decimals when sending DRO's via MODBUS
« on: July 16, 2012, 06:31:22 AM »
Good afternoon,
I am sending the X-axis reading from Mach3 via MODBUS, but I am only receiving the integer part of the value.
For example, my x-axis position on Mach3 will be displayed as '+108.2145', but on my SCADA controller it is only displayed as '+108' without the decimals.
How can I overcome this problem so that the decimals will also be displayed?
I have tried using 2 registers in Mach3 when sending (i.e 32bits), but this still did not solve the problem.
Thank you for the assistance.
Kind regards
I am sending the X-axis reading from Mach3 via MODBUS, but I am only receiving the integer part of the value.
For example, my x-axis position on Mach3 will be displayed as '+108.2145', but on my SCADA controller it is only displayed as '+108' without the decimals.
How can I overcome this problem so that the decimals will also be displayed?
I have tried using 2 registers in Mach3 when sending (i.e 32bits), but this still did not solve the problem.
Thank you for the assistance.
Kind regards