-
Notifications
You must be signed in to change notification settings - Fork 353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reading 32 bits number from two registers #177
Comments
@Fluxanode |
I have not been working on this lately and never received an answer. Sorry. It would be nice if someone bothered to answer... |
So, this it's not a issue to be solved, but follow the solution. This is not a resource of the library, Is just C ways to access memory. When write the two 16 bis value use this name: When read as a 32 type use this: |
Olá alguem pode me ajudar, estou tentando ler dados de um medidor e recebo o padrão (IEEE 32-bit floating point). Não consigo de maneira alguma converter esse padrão em decimal. no exemplo do fabricante ele fala que 0x00007042 (IEEE 32-bit floating point) é = 60 em decimal. Mas não consigo entender nem criar um programa que faça essa conversão. |
@mftadvantage Email me your issue |
I need to get a single value from a holding or input reg that is in two reg addresses.
I want to read 8006 (8007) as the date then read 8006 (time) to store in two separate vars.
Floating Point (FP) 4bytes 2 registers
Holding Reg
REG DES Datatype
8006 Real-Date FP
8008 Real-Time FP
Can you give me an example how this is coded using your lib?
The text was updated successfully, but these errors were encountered: