Gabriel Franco Posted February 14, 2014 Report Share Posted February 14, 2014 I am having trouble creating CSV file containing ML values. All values greater than 65535 are truncated to just the lower word, e.g 150000 (hex 249F0) is saved as 18928 (hex 49F0). Any idea, or is a normal behaviour? Quote Link to comment Share on other sites More sharing options...
MVP 2022 Joe Tauser Posted February 14, 2014 MVP 2022 Report Share Posted February 14, 2014 Post your code so we can see how your function blocks are configured. Joe T. Quote Link to comment Share on other sites More sharing options...
Gabriel Franco Posted February 14, 2014 Author Report Share Posted February 14, 2014 After some testing, I found the problem. Both IN parameters (Start of vector and Max vector length) must be ML. Previously I used MI for max vector length and ML for start of vector. 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.