Ask our Experts
Didn't find what you are looking for? Ask our experts!
Share Your Feedback – Help Us Improve Search on Community! Please take a few minutes to participate in our Search Feedback Survey. Your insights will help us deliver the results you need faster and more accurately. Click here to take the survey
Support forum for Schneider Electric SCADA systems, radios and RTUs. From commissioning integration devices and software, to enhancing existing installations or troubleshooting.
Search in
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.
You’ve reached the end of your document
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.