Hi all,
I'm trying to gather some information from a S7-224 Plc, and want to create a shift log. I think I know how to do the maths to achieve the desired percentage and store it to memory, but the problem is the activation of this process.
I want to trigger the setting of a flag to be "on" between the hours of say 06.00 - 18.00. Then another for 18.00 - 06.00.
After doing a lot of reading I think I need to use the READ_RTC, store it somewhere then compare a set location (Containing my desired trigger time)to this stored time. When they match - set my flag. Just not sure exactly how to achieve this.
Any assistance would be appreciated.
I'm trying to gather some information from a S7-224 Plc, and want to create a shift log. I think I know how to do the maths to achieve the desired percentage and store it to memory, but the problem is the activation of this process.
I want to trigger the setting of a flag to be "on" between the hours of say 06.00 - 18.00. Then another for 18.00 - 06.00.
After doing a lot of reading I think I need to use the READ_RTC, store it somewhere then compare a set location (Containing my desired trigger time)to this stored time. When they match - set my flag. Just not sure exactly how to achieve this.
Any assistance would be appreciated.