LeonMötter Posted March 8 Report Share Posted March 8 I have been working on putting some pretty complicated math (at least complicated to me, some people may disagree) in to a PLC (in my case it is a V560). I am running into some problems (i think) with the capacity of MF's. it looks like i am loosing precision (read the number of digits after the point) as the value increases. That is to be expected the only problem is i can not find how this is defined. If i know that i can hopefully adjust the formula's to stay within limits to keep the results as accurately as possible. For some more background information the math we are trying to do is calculating a model of the machine process in realtime, and then use the model to adjust machine. it is al lot of iterative math based on sensor input. we are talking about somewhere between 20 to math blocks that need to do about 500 to 1000 cycles to calculate the model. is is basically calculating a simulation and comparing that to the data. We have done some test with a small part and i am actually pretty surprised by the performance of the PLC. The problem is that somewhere we are losing precision in the calculations as described above and we are not sure where. if we know what te limits are we can (hopefully) adjust the program. Quote Link to comment Share on other sites More sharing options...
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.