I hope I can explain this right. I have a fuel system that has a fuel cleaning system . I have a calendar with multistate buttons in the background. The 2 states on each button is 0 and the date such as 27th of that month.I have a tag for each month of the year, with 32 dim array. So if the operator selects Tuesday
the 27th , number 27 in the array will be compared to my wall clock ( time.day)
when the 27th is equal to the actual day ( 27th ) a cleaning cycle will start. My question is , right now when it is looking at the "27th" , it could be April 27th , May 27th , etc. What I would like to do is have a Greater Than instruction looking at , let's say , the tag "May" and look at all 32 DINT off the array.
Greater Than
Source A May May has an active date
?????????? -------------------------------------( )--------
Source B. 0
If any dates have a value in Tag "May" , be looking to compare the day , knowing the 27th is now May.
How can I compare a entire Tag with a 32 Dim , without breaking it down to each DINT , such as 1,2,3,4. ?
Hope I didn't confuse you too much. Thanks so much.
the 27th , number 27 in the array will be compared to my wall clock ( time.day)
when the 27th is equal to the actual day ( 27th ) a cleaning cycle will start. My question is , right now when it is looking at the "27th" , it could be April 27th , May 27th , etc. What I would like to do is have a Greater Than instruction looking at , let's say , the tag "May" and look at all 32 DINT off the array.
Greater Than
Source A May May has an active date
?????????? -------------------------------------( )--------
Source B. 0
If any dates have a value in Tag "May" , be looking to compare the day , knowing the 27th is now May.
How can I compare a entire Tag with a 32 Dim , without breaking it down to each DINT , such as 1,2,3,4. ?
Hope I didn't confuse you too much. Thanks so much.