mc controls Posted February 18, 2014 Report Share Posted February 18, 2014 Hello, I am using a V1040 communicating with a Weigh cell display via Modbus. Coms are all working fine, but - The Weigh Cell display returns 3 MI's first is Decimal point then 2 MI's are whole number. The Vision only deals in signed numbers?? The decimal is sent as an unsigned INT as a fraction of 1. Eg: If the number is 2.45kg. The decimal point INT will be 29490 ( 29490 / 65535 = 0.45) The problem is once decimal number is above 32767 it becomes a negative number in the Vision 1040. Is there a simple way around this??? Please Help have spent many hours on this already. Matt Quote Link to comment Share on other sites More sharing options...
Gabriel Franco Posted February 18, 2014 Report Share Posted February 18, 2014 You mentioned 2 MIs are whole number, so you must convert those 2 MI to one ML. You may use COPY MEMORY or STRUCT functions. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.