Jump to content

Recommended Posts

Posted

Hey Guys,

I am kind of new to Omron PLC. Can someone please share details on how can we de-normalize the data in Sysmac Studio? 

  1. Denormalize: 1.10112 × 2-3 = 0.0011011.
  2. Convert:
    Exponents 20   2-1   2-2   2-3   2-4   2-5   2-6   2-7
    Place Values 1   0.5   0.25   0.125   0.0625   0.03125   0.015625   0.0078125
    Bits 0 . 0   0   1   1   0   1   1
    Value             0.125 + 0.0625     + 0.015625 + 0.0078125 = 0.2109375
  3. Sign: negative

Result: be580000 is -0.2109375.

I want to perform kind this operation in Sysmac studio. Any help would be appreciated.

Thanks

 


Posted

I am not clear on what you are trying to do here..... is this some kind of custom number format that you are trying to use?  I think what you would need to do with a custom format like this is to create a union.  The union will allow you to look at individual bits as well as a WORD or DWORD value.

Posted

As Michael has suggested, a Union would be the easiest method to view it in different Data Types.

Where is the data coming from? Maybe we can help you simplify the process. If it is part of a group of data (EtherNet/IP for example) then a Structure may be helpful.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...