modelAdsCommunicatorBasic
Partial Model of ADS-Interface, minimum code needs additional information
Extends from Modelica.Blocks.Interfaces.DiscreteMIMO (Multiple Input Multiple Output discrete control block).
Information
This is the partial model of a communicator model in a simulation.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Time | samplePeriod (from DiscreteBlock) | Sample period of component | |
| SI.Time | startTime (from DiscreteBlock) | 0 | First sample time instant |
| Integer | nin (from DiscreteMIMO) | 1 | Number of inputs |
| Integer | nout (from DiscreteMIMO) | 1 | Number of outputs |
| Integer[6] | AmsNetId | {10, 39, 190, 36, 1, 1} | AMS Net ID of target PLC |
| Integer | port | 851 | Port on server |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput[nin] | u (from DiscreteMIMO) | Connector of Real input signals | |
| Modelica.Blocks.Interfaces.RealOutput[nout] | y (from DiscreteMIMO) | Connector of Real output signals |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | state | dummy variable to check state of C-function, 0 == OK, 1 == failure |
Revisions
- November 01, 2015
by Georg Ferdinand Schneider:
Implemented - January 30, 2016
by Georg Ferdinand Schneider:
Revised for publishing