Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.
Reading BACnet local time and date
-
I am have issue with reading current BACnet PLC date and time. I use following code.
PropertyIdentifier pidTime = new PropertyIdentifier(57); log.warn( "Time "+ localDevice.getConfiguration().getProperty(pidTime)); log.warn("Sys time " + tmptime.toString()); tmptime = new DateTime(); // Reading local device time/date value Encodable deviceTime = localDevice.getConfiguration().getProperty(pidTime);
I get system time instead of real PLC time. What am I doing wrong? Should it be conduct on RemoteDevice? If yes, how. Please help.