unsigned integer

This is the main technical forum for discussing problems that were encountered by users while developing PROMOTIC applications, and their possible solutions.

unsigned integer

Postby NigelCG » Fri 24. Jul 2015 12:02:43

Hi there. I am new to SCADA software, but have been electronics for over 40 years working with microcontrollers.

I am retrieving data from a Hurtwood Staefit card running on Modbus which is sending the data correctly as unsigned int values in the range 0-4096. However when I try to display the values on display's, I only have a signed integer option available, which gives the wrong value. So how do I fool the system into displaying the value correctly?

Thanks in advance,
Nigel
NigelCG
 
Posts: 1
Joined: Fri 24. Jul 2015 11:44:10
Location: UK

Re: unsigned integer

Postby Petr Návrat » Mon 27. Jul 2015 6:57:37

Hi

You write: However when I try to display the values on display's, I only have a signed integer option available..
If you mean the display in your hardware (..Staefit card), then it is not question for Promotic.

Promotic driver PmModbusMr support unsigned integer - if you specify ".W" in ItemId (see http://www.promotic.eu/en/pmdoc/Subsyst ... dbusMr.htm).
But I dont know how you read or write data, so I cannot answer correctly.

Petr Navrat
Petr Návrat
Administrátor
 
Posts: 75
Joined: Thu 13. Dec 2012 14:32:08


Return to I don't know how to...

Who is online

Users browsing this forum: No registered users and 3 guests

cron