26 - 09 - 2017

Digital library

 

 

Block Not

Negative logical operation.

 

Block And

Logical AND operation over two input signals.

 

Block AndUni

Logical AND operation over up to 50 input signals. The block has an Input property, which allows easy to set number of inputs.

 

Block AndNot

Represents the logical AND operation over  two input signals. The AND result is converted with negative logic. This block has no parameters.

 

Block Or

Logical OR operation over two input signals.

 

Block OrUni

Logical OR operation over up to 50 input signals. The block has an Input property, which allows easy to set number of inputs.

Block OrNot

Represents the logical OR operation over  two input signals. The OR result is converted with negative logic. This block has no parameters.

 

 

Block EnableUni

 

The user can add many twin-sets of inputs/outputs. Every output is equal to logical AND between corresponding input of the twin-set and the input Enable. The block is suitable to Enable/Disable many devices together.

Parameters:

  •  InOut – can change the number of twin inputs/outputs;
  • NegativeEnable - if the parameter is checked, then every outpu is logical AND between corresponding input and NOT of input Enable;

 

 

 

 

 

Block OnOffPWM

Very powerful block which can be used for description of time periods for Pulse-Width Modulation (PWM):

http://en.wikipedia.org/wiki/Pulse-width_modulation

When the period starts, the output signal becomes in high level, at the end of period, the output signal becomes in low level. It is possible to define many different periods in one block for every different day of the week. Every subsequent period is separated from the preceding with the ‘&’ symbol. Format of a  period is:

  •  First part – days of week separated with dot. 1 means Monday, 2 – Tuesday, 3 – Wednesday, 4 – Thursday, 5 – Friday, 6 – Saturday, 7 – Sunday;
  •         Second part is time period description – start time in format hh.mm, stop time in format hh.mm, duration of the ON period, duration of the whole On-Off period. Elements of the second part are separated with a dot;
  •          First and second part are separated with symbol ‘;’.

Parameters:

  •  TimeDescription – description of time periods.

Examples:

1.2.3.4.5.6.7;7.40.22.50.2.10 - At days of week 1, 2, 3, 4, 5, 6, 7, the output will gets High level in period between 7.40h and 22.50. High level in this period will continue 2 minutes, then it will change to Low level for 10-2=8 minutes, then again 2min Hi and 10-2=10min Low. At 22.50 output will be Low until 7.40, then it will start again 2 High, 10-2=8 Low....

1.2;7.40.22.50.2.10&5.7;12.10.17.20.6.8 - At day of week 1 and 2 (Monday and Tuesday) the output will switch from High for 2 min to Low for 10-2=8 min between 7.40h and 22.50h. At day of week 5 and 7 (Friday and SunDay) the output will switch to High level for 6 min and Low for 8-6=2 min between 12.10h and 17.20h

 

Block PWMSec

Another block based on Pulse-Width Modulation (PWM).

http://en.wikipedia.org/wiki/Pulse-width_modulation

When the Start input gets High level, the output will begin to switch from low to high level and vice versa. High level will continue OnSec seconds then it will switch to low lever for OffSec seconds. Switching between high and low level will stop when the input signal Start gets low level.

Parameters:

 

  • OffSec - time of output in seconds in low level;
  • OnSec - time of output in seconds in high level;

 

Block DigitalDivider

This block divides input signal by parameter Divider. On every Divider input changes from 0 to 1, output will change once;

Parameters:

  • Divider;