Hi Everyone,
Doing a project with a Automation Direct P2000 PLC. I am using the most up to date version of the Productivity Suite Software.
Using a HMI I will set what days of the week that I want the event to happen. Then I want to check the Current Day of the Week against that array or ? to see if I need to run the event.
I wanted to solicit some ideas on how to do this. The P2000 does have an Current Day of Week tag that will give me a 1=Mon to 7=Sun so I don't need to do any logic on that side. Just wondering the best way to store the days I want the event to run and then best way to check the current day against that.
Thanks!!
Doing a project with a Automation Direct P2000 PLC. I am using the most up to date version of the Productivity Suite Software.
Using a HMI I will set what days of the week that I want the event to happen. Then I want to check the Current Day of the Week against that array or ? to see if I need to run the event.
I wanted to solicit some ideas on how to do this. The P2000 does have an Current Day of Week tag that will give me a 1=Mon to 7=Sun so I don't need to do any logic on that side. Just wondering the best way to store the days I want the event to run and then best way to check the current day against that.
Thanks!!