Remote Operations Forum
Support forum for Schneider Electric SCADA systems, radios and RTUs. From commissioning integration devices and software, to enhancing existing installations or troubleshooting.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-09-15 12:51 AM
Hello,
I was curious to try to get all the parameters from dlog file to internal variables and put them to Modbus registers.
At first I used DLOG_F function block to create log and logged some events. After that I used ROPEN_F function to open the file and than used F_READ_STRING function. This function output is STRING[256] or bigger. And after that I stuck at point where I couldn't convert that kind of string to anything except to ASCII array. And now from ASCII array I can get only the part of Local Time but I can not get anything more (unix time, value, etc...).
Maybe I'm trying to do an impossible thing ? or is there any kind of opportunity to get normal values from such a big string ?
Regards, Jonas
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-09-15 07:30 PM
You should be able to use the normal Control Expert string handling methods to parse the data.
Look under Help/ EF EFB DFB Libraries/ Standard Library/ Strings
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the forum - and gain access to more than 10,000+ support articles along with insights from experts and peers.