Interact Posted November 7, 2016 Report Share Posted November 7, 2016 The documentation on the long integer store function says: " Setting SB82 before a Store function causes the 'A' value to be treated as a 32-bit 'long' value; the long value is then broken up into the 2 16-bit MIs constituting the 'B' value. Resetting SB82 before a Store function causes the 'A' value to be treated as a 2 16-bit values; the values are then stored as a long 32-bit 'B' value. " (see http://www.unitronics.com/KnowledgeBase/U90Ladder/Ladder/Functions/Special_functions/_Long__Integer_functions.htm) I have tried this, but it seems to me that the JAZZ does exactly the opposite. I need to use a Reset to convert a 32-bit value to two 16-bit BCD values. Am I doing something wrong? Or is the documentation at fault? 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.