Hi friends,
i have a question about enabling historical logging on ewon flexy after the plc has booted up only.
I have an s7-300 that at startup via OB100 initialize some values in some db.
At the end of the OB100 i have a merker that is set to 1 to inform that the first plc cycle is finished,
i want to enable the historical logging only in this condition because before that i log inconsistent data.
The way to iterate via script to all tags and enable the historical logging on each tag is not praticable because not all tags have the historical logging enabled ;
I’m trying to disabling the 3 topics in the io-server via a script using:
SETSYS SYS,“IOSrvData1:EnabledA”,“0”
SETSYS SYS,“IOSrvData1:EnabledB”,“0”
SETSYS SYS,“IOSrvData1:EnabledC”,“0”
so normally i have only the Topic A enabled, and i have only a tag configured on the Topic A to monitoring when the OB100 finish the first plc cycle; when the tag change from 0 to 1 i enable via script the other 2 topics that are configured in all other my tags.
is this the best way to enable/disable all the history logging or there are some other way?
regards