24 - 09 - 2017

Timers library

Block DayOfWeek 

This block has a digital output for every day of week. For example, the output Monday gets high level every Monday, between 0.0h and 23.59h. The output WorkDay is at high level for days between Monday and Friday, output WeekEnd is at high level at Saturday and Sunday. The block has no parameters.

Block TimeInterval

Describes the time interval in which the output to be at high level.

Parameters:

  • OnOffInterval – describes the time interval;

Example:

8:20;16:10 - output will be at high level the in period 8.20 h to 16.10h every day;

22:00;6:00 - output will be at high level in period 22.00h of the first day until 6.00 h on the next day. This will happen every day.

 

Block TimeOut

When the input Start gets high level, the output gets high level for the period of TimeOutMin minutes. At this time if the Stop input gets high level the operation will stop before the time has elapsed. When the timeout elapsed, the output OnEndTimeOut become to hight value for one second.

Parameters:

  • TypeTimeOut - the type of TimeOut parameter. It can be in seconds, minutes, hours;
  • TimeOut - the timeout of the block;

 

Block TimeOutExt

This is an extended version of the TimeOut block. When the block is in timeout process, it can be stopped with hight level of input Pause. When the input SetTimeOut become to hight level, the parameter TimeOut will gets value of input InTimeOut. Outputs Elapsed and Remaining show what happend with timeout, when the block is in timeout process.

Parameters:

  • TypeTimeOut - the type of TimeOut parameter. It can be in seconds, minutes, hours;
  • TimeOut - the timeout of the block;

 

Block DelaySignal

The block allows the input digital signal In to be delayed. The delay duration is specified in the parameter TimeOut. Time can be seconds, minutes, hours, determined by the parameter TypeTimeOut. TypeDelay parameter defines the front of the delay. Can be rising front - DelayOn, back front DelayOff, on both fronts DelayBoth. The input Clear stops the timeout process and clears to low level the output Out.

For example, if TimeOut parameter is 3, TypeTimeOut is seconds, TypeDelay is DelayOn, then 3 seconds after the input signal In become to hight level, the output Out will become to hight level too.

Parameters:

 

  • TimeOut - the timeout of the block;
  • TypeTimeOut - the type of TimeOut parameter. It can be in seconds, minutes, hours;
  • TypeDelay - front of delay: rising front - DelayOn, back front DelayOff, on both fronts DelayBoth;

 

 

Demo diagram: DelaySignal.nsm