- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-09-15 12:51 AM
SCADAPack x70 DLOG_F parameters to elementary variables
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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.

