Jump to content

Gaylord Williams

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by Gaylord Williams

  1. the exchange data format is not precised in my doc , but i can see it with Artics Tools,(a tool to read in the variator) the area is in 16bits format Real. it's an AD 5000 from Nidec (no public data) i thought about a correcting formula but it's not constant few example of missprecision to help you to understand : real value 1500 showed value 1498 3000 ==>2992 750==>748 1250==>1248 1000==>1000 i tried to correct with corrected value = 1498 + (1500 - 1498) * (1500 / 1498) = 1500.33 but for 2992 + (3000 - 2992) * (3000 / 2992) = 3002.34 it's still not precise
  2. Hi guys, In a VAR i am reading in a data exchange zone, 16 reals words of 16 bits floatting format. In Visilogic. The MFs are 32-bit format. I tried to read directly from the MFs to get a readable value, but the words overlap with the others register words. To solve this problem i used Fernando's technique i saw in his topic, I moved my readed MI to another memory zone, 1 word out of 2, in order to transfer this zone to the MFs via the "structure" function and then be able to read them. However, I have a very small loss of precision(exemple 1498 instead of 5000 , and for power 147, 2663 instead of 147,00 its not a lot but significant in my case. My question is: Is there a way to read a 16-bit word in real floatting format? whitout doing what i did Thank you for your time guys
  3. Hi , it's my first post, sorry if i didn't post at the good place. I'm working on Visilogics , V700 PLC , and i want to communicate with a VAR to pick up Real Value , i recieve 2 Words of 16 Bits , the first for MSW and second for LSW. this is my parameter's value. I need to interpret this value , but the function in Visilogics to convert Integer to Real are for FIXED point , not FLOATTING point , it means it doesn't work in my case , so i came here to ask you guys if there is something i can do , to avoid having to dissect my both words into mantisse and exosant , and use a formula. And if there is no function to do it , can you explain to me how to make it simple with this example: 110,1 parameters give me 17 116 for MSW and 13 107 LSW. This is my first automatician job (that will make me validate my graduate) and i'm still learning , this is the first time i encounter that case , where i have to do it manually so i really need your help please.
×
×
  • Create New...