String Variable
-
Hello, I have some problems with a string variable which comes from my PLC. The data source has a 5 seconds update period but the string value is updated only every 30 minutes. So if the value changes in the PLC will be updated only after 30 minutes, not instantly or at every 5 seconds.
Does anybody know why is updating that point at 30 minutes and all the numeric points are updating at 5 seconds?
Thank you!
-
Hi sky_watcher, welcome to the forum! I'm not sure "Dashboard Designer & Custom AngularJS Pages" is the section you were looking for.
What protocol are you using? It sounds like it's probably BACnet. I wonder, is your String point on a COV subscription and the others are not?
-
@phildunlap Yes, I'm using BACnet.
Here are the point settings in mango, and I'm using COV subscription.
And also I've noticed that I have only discarded pools for my database:
-
I think your BACnet data source is probably failing to initialize, but I'm not sure why. Do you have any events on your /ui/events or /events.shtm pages that are related to this data source or the BACnet local device? What are your settings on your local device?
I would consider stopping Mango, then starting on the command line to see if something was getting to stderr. It's really odd that ALL the poll would abort. The first poll is extremely uncommon to abort. What version of Mango is this?
Have you been watching your Mango/logs/ma.log file for any exceptions?
-
@phildunlap Hi, I've restarted the Mango as you suggested, and now I don't have any discarded poll but in the events page I have this two errors: "'BACnetDB': Error reading value for point BACnetDB - StringWritable: No response from instanceId 140" and "BACnetDB': Error reading value for point BACnetDB - StringWritable: errorClass=device, errorCode=timeout".
In the ma.log file I don' t have any ERROR message only a WARN massage, I'll put it below:
WARN 2018-08-07T05:01:06,859 (org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.registerHandlers:114) - Neither 'urlMap' nor 'mappings' set on SimpleUrlHandlerMapping
Thank you!
-
Hmm, sounds like it should be polling values then, for points that are not configured to be on COV subscription. So, you could change this point to not be a COV point, then it should update every five seconds with the poll.
-
@phildunlap Yes, this was the problem, I've changed that option and now update the point every 5 seconds.
What does COV subscription?
Thank you!
-
You're welcome!
COV stands for 'change of value' and is a way described in the BACnet protocol to inform a device that you would like it to push an update to you if a particular value changes. It's meant to help reduce the traffic on the transport medium, which for MSTP is usually more limited than IP
-
@phildunlap Thanks again!