blockControllerNode
TrueTime simulation: Controller task with network interface
Extends from Modelica_Synchronous.WorkInProgress.Icons.CommunicationIcon (Icon for a port block that communicates a signal).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Controller task parameters | |||
| String | taskName | "DefaultTask" | Task name |
| Real | executionTimeCalculate | 0.002 | Execution time to calculate outputs |
| Real | executionTimeUpdate | -1 | Execution time to update states |
| Kernel simulator | |||
| Modelica_Synchronous.WorkInProgress.Incubate.TrueTime.ExternalC.Kernel | kernelHandle | Handle to kernel simulator object | |
| Transmission parameters | |||
| Integer | frameDataSize | 32 | Frame size (bits) |
| Integer | frameID | 1 | Frame ID (1,...,numberOfFrames) |
| Integer | framePriority | frameID | Priority of frame (for CAN and TTCAN) |
| Network simulator | |||
| Modelica_Synchronous.WorkInProgress.Incubate.TrueTime.ExternalC.Network | networkHandle | Handle to network simulator object | |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | u | ||
| Modelica.Blocks.Interfaces.RealOutput | y | ||
| Modelica.Blocks.Interfaces.BooleanInput | trigger |