Jump to content

Long integer documentation error?

Recommended Posts

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?


Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...