IndustrialControlSystems.Logical.LogicalOperations

This package contains a list of typical boolean operations: NOT, AND, OR, ... and logic blocks as Flip Flop.

Information

  

Description

This package contains a list of basic and customisable logical elements.

Extends from Modelica.Icons.Package (Icon for standard packages).

Package Content

NameDescription
IndustrialControlSystems.Logical.LogicalOperations.Not Not Model of a n-bit NOT
IndustrialControlSystems.Logical.LogicalOperations.And And Model of a n-bit AND
IndustrialControlSystems.Logical.LogicalOperations.Nand Nand Model of a n-bit NAND
IndustrialControlSystems.Logical.LogicalOperations.Or Or Model of a n-bit OR
IndustrialControlSystems.Logical.LogicalOperations.Nor Nor Model of a n-bit NOR
IndustrialControlSystems.Logical.LogicalOperations.Xor Xor Model of a n-bit XOR
IndustrialControlSystems.Logical.LogicalOperations.Xnor Xnor Model of a n-bit XNOR
IndustrialControlSystems.Logical.LogicalOperations.FlipFlopSR FlipFlopSR Model of a Set-reset Flip Flop
IndustrialControlSystems.Logical.LogicalOperations.Functions Functions Package that contains the set of functions used by the logical operations
IndustrialControlSystems.Logical.LogicalOperations.Interfaces Interfaces Interfaces
IndustrialControlSystems.Logical.LogicalOperations.Examples Examples Examples

IndustrialControlSystems.Logical.LogicalOperations.Not IndustrialControlSystems.Logical.LogicalOperations.Not

Model of a n-bit NOT

Information

  

Description

Model of a n bit NOT gate.
The number of the input (nInput) signals must be equal to the number of output (nOutput) signals.

Depending on the value of the sampling time (Ts), the model has two different behaviours:

Extends from IndustrialControlSystems.Logical.LogicalOperations.Interfaces.LogicalBlock (Partial interface of a generic nInput nOutput logical block).

Parameters

NameDescription
Tssampling time
nInputnumber of inputs
nOutputnumber of outputs

Connectors

NameDescription
u[nInput]input vector
y[nOutput]output vector

IndustrialControlSystems.Logical.LogicalOperations.And IndustrialControlSystems.Logical.LogicalOperations.And

Model of a n-bit AND

Information

  

Description

Model of a n bit AND gate.
The number of the input (nInput) signals must be higher than 2, while the number of output (nOutput) signals is equal to 1.

Depending on the value of the sampling time (Ts), the model has two different behaviours:

Extends from IndustrialControlSystems.Logical.LogicalOperations.Interfaces.LogicalBlock (Partial interface of a generic nInput nOutput logical block).

Parameters

NameDescription
Tssampling time
nInputnumber of inputs
nOutputnumber of outputs

Connectors

NameDescription
u[nInput]input vector
y[nOutput]output vector

IndustrialControlSystems.Logical.LogicalOperations.Nand IndustrialControlSystems.Logical.LogicalOperations.Nand

Model of a n-bit NAND

Information

  

Description

Model of a n bit NAND gate.
The number of the input (nInput) signals must be higher than 2, while the number of output (nOutput) signals is equal to 1.

Depending on the value of the sampling time (Ts), the model has two different behaviours:

Extends from IndustrialControlSystems.Logical.LogicalOperations.Interfaces.LogicalBlock (Partial interface of a generic nInput nOutput logical block).

Parameters

NameDescription
Tssampling time
nInputnumber of inputs
nOutputnumber of outputs

Connectors

NameDescription
u[nInput]input vector
y[nOutput]output vector

IndustrialControlSystems.Logical.LogicalOperations.Or IndustrialControlSystems.Logical.LogicalOperations.Or

Model of a n-bit OR

Information

  

Description

Model of a n bit OR gate.
The number of the input (nInput) signals must be higher than 2, while the number of output (nOutput) signals is equal to 1.

Depending on the value of the sampling time (Ts), the model has two different behaviours:

Extends from IndustrialControlSystems.Logical.LogicalOperations.Interfaces.LogicalBlock (Partial interface of a generic nInput nOutput logical block).

Parameters

NameDescription
Tssampling time
nInputnumber of inputs
nOutputnumber of outputs

Connectors

NameDescription
u[nInput]input vector
y[nOutput]output vector

IndustrialControlSystems.Logical.LogicalOperations.Nor IndustrialControlSystems.Logical.LogicalOperations.Nor

Model of a n-bit NOR

Information

  

Description

Model of a n bit NOR gate.
The number of the input (nInput) signals must be higher than 2, while the number of output (nOutput) signals is equal to 1.

Depending on the value of the sampling time (Ts), the model has two different behaviours:

Extends from IndustrialControlSystems.Logical.LogicalOperations.Interfaces.LogicalBlock (Partial interface of a generic nInput nOutput logical block).

Parameters

NameDescription
Tssampling time
nInputnumber of inputs
nOutputnumber of outputs

Connectors

NameDescription
u[nInput]input vector
y[nOutput]output vector

IndustrialControlSystems.Logical.LogicalOperations.Xor IndustrialControlSystems.Logical.LogicalOperations.Xor

Model of a n-bit XOR

Information

  

Description

Model of a n bit XOR gate.
The number of the input (nInput) signals must be higher than 2, while the number of output (nOutput) signals is equal to 1.

Depending on the value of the sampling time (Ts), the model has two different behaviours:

Extends from IndustrialControlSystems.Logical.LogicalOperations.Interfaces.LogicalBlock (Partial interface of a generic nInput nOutput logical block).

Parameters

NameDescription
Tssampling time
nInputnumber of inputs
nOutputnumber of outputs

Connectors

NameDescription
u[nInput]input vector
y[nOutput]output vector

IndustrialControlSystems.Logical.LogicalOperations.Xnor IndustrialControlSystems.Logical.LogicalOperations.Xnor

Model of a n-bit XNOR

Information

  

Description

Model of a n bit XNOR gate.
The number of the input (nInput) signals must be higher than 2, while the number of output (nOutput) signals is equal to 1.

Depending on the value of the sampling time (Ts), the model has two different behaviours:

Extends from IndustrialControlSystems.Logical.LogicalOperations.Interfaces.LogicalBlock (Partial interface of a generic nInput nOutput logical block).

Parameters

NameDescription
Tssampling time
nInputnumber of inputs
nOutputnumber of outputs

Connectors

NameDescription
u[nInput]input vector
y[nOutput]output vector

IndustrialControlSystems.Logical.LogicalOperations.FlipFlopSR IndustrialControlSystems.Logical.LogicalOperations.FlipFlopSR

Model of a Set-reset Flip Flop

Information

  

Description

Model of a Set Reset Flip Flop.

The inputs and outputs follows
NameDescription
u1Set
u2Reset
y1Q
y2not Q

Behaviour of the FlipFlop, at each time step Ts the inputs are read and the new output Q
is computed starting from the S and R value as well the old value of the output QOLD.
SetResetQ
00QOLD
010
101
11 not QOLD

Extends from Interfaces.LogicalBlock2x2 (partial interface of a generic 2x2 logical block).

Parameters

NameDescription
Tssampling time
q_startOutput initial value

Connectors

NameDescription
u1input
y1output
u2input
y2output

Automatically generated Mon May 21 13:34:12 2012.