Hi everybody!!!
I have a problem with the date data... I have a SLC500 /3 which has to start a system with 6 motors. The motors can be started manually or automatically to a certain hour of the day (H1). This hour is passed through a PanelView (300 Micro) and the system (in automatic mode) is working for a time (T1) which is also specified through the PanelView...
My question is.. If I take the data from the PanelView in a string format.. I can use an "EQU" with the data of the PLC (in the files s40 + s41)to compare the current hour with the hour passed by the PanelView (h1).. but how can I compare that the current hour is in the interval of the hour passed by the PanelView plus the range (current hour <=H1+T1)?
thanks a lot in advance
Greetings
Nespi
I have a problem with the date data... I have a SLC500 /3 which has to start a system with 6 motors. The motors can be started manually or automatically to a certain hour of the day (H1). This hour is passed through a PanelView (300 Micro) and the system (in automatic mode) is working for a time (T1) which is also specified through the PanelView...
My question is.. If I take the data from the PanelView in a string format.. I can use an "EQU" with the data of the PLC (in the files s40 + s41)to compare the current hour with the hour passed by the PanelView (h1).. but how can I compare that the current hour is in the interval of the hour passed by the PanelView plus the range (current hour <=H1+T1)?
thanks a lot in advance
Greetings
Nespi