18 - 09 - 2019

Digital library

Block And

License: Hobby, Industrial

Logical AND operation over two input signals.

 

Block AndUni

License: Hobby, Industrial

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

License: Hobby, Industrial

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

 

Block Or

License: Hobby, Industrial

Logical OR operation over two input signals.

 

Block OrUni

License: Hobby, Industrial

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

License: Hobby, Industrial

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

 

Block Not

License: Hobby, Industrial

 

 

Negative logical operation.

 

Block EnableUni

 License: Hobby, Industrial

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

License: Hobby, Industrial

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

License: Hobby, Industrial

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

License: Hobby, Industrial

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

Parameters:

  • Divider;

 

Block BoolConst

License: Hobby, Industrial


When the block runs, the output Out of the block is equal to the value of the Const parameter.

 

Block XOR

License: Hobby, Industrial


The output Y of the block returns a logical exclusive Or of inputs X1, X2.

The block's truth table is:

X1 X2 Y
0  0  0
0  1  1
1  0  1
1  1  0

 

Block FlipFlop

License: Hobby, Industrial


The block has two inpus, the truth table is shown below:
S R Y
0 0 Remain same as last state
1 0 1             
0 1 0
1 1 0

 

Block FlipFlop3In

License: Hobby, Industrial

The block contains flip flop logic with 3 inputs:
There are two cases, First, If “FL” = 0 the truth table will be:
S R Y
1 0 1
0 1 0
1 1 0
0 0 *
 
Second, If “FL” = 1 then the truth table will be:
S R Y
1 0 1
0 1 0
1 1 1
0 0 *

 

Block FrontChecker

License: Hobby, Industrial

The block is very powerful. It can check for changes of the level (low, high, or both front) of an unlimited number of digital inputs. For example, if the parameter Inputs is set to 3, the block will have 3 digital inputs X1, X2, X3. If the parameter CheckType is set to HiFront and one of the inputs X1, X2 or X3 is changed from low to high level, the output of the block Out will become for a short time at high level.

Block's parameters:

  • Inputs - sets the number of monitoring for front changes inputs;
  • CheckType - specifies the front of the check, can accept values: HiFront (meand low to high), LowFront (means high to low), Both;
  • NegativeEnable - if the parameter is checked, the block will stop to work if the input Enable is in high level;

Block's inputs:

  • Enable - if the input is conencted, the block will stop to work if the input is in low level. If the input is not connected, the block will works always;

Block's outputs:

  • Out - becomes at high level for short time, if there is a front in any monitoring inputs;