ISynchronizedCoSimulator Interface |
Namespace: Demo3D.PLC.Comms
public interface ISynchronizedCoSimulator : ICoSimulator, ISynchronizedIOService
The ISynchronizedCoSimulator type exposes the following members.
| Name | Description | |
|---|---|---|
| Flags |
Simulator flags.
(Inherited from ICoSimulator.) | |
| IOMode |
How IO is performed with respect to the model.
(Inherited from ISynchronizedIOService.) | |
| MaxStep |
The maximum step size supported.
(Inherited from ICoSimulator.) | |
| MinStep |
The minimum step size supported.
(Inherited from ICoSimulator.) | |
| Name |
User friendly name of the simulator.
(Inherited from ICoSimulator.) | |
| ScheduledSpeed |
Dictates the speed factor for Scheduled IO.
(Inherited from ISynchronizedIOService.) | |
| ValidSpeed |
Returns the valid speeds this simulator can run at.
(Inherited from ICoSimulator.) |
| Name | Description | |
|---|---|---|
| AfterStep |
Called after advancing the simulator.
(Inherited from ICoSimulator.) | |
| BeforeStep |
Called before advancing the simulator.
(Inherited from ICoSimulator.) | |
| Close |
Close the co-simulation connection.
| |
| GetNextStepSize |
Returns a suggestion as to how long this simulators next step should be.
This is only called for simulators that set the SimulationThread flag.
(Inherited from ICoSimulator.) | |
| GetStatus |
The current status of the simulator.
(Inherited from ICoSimulator.) | |
| GetTime |
The current system time reported by the simulator. (Accurate to at least one millisecond.)
(Inherited from ICoSimulator.) | |
| Open |
Open the co-simulation connection.
| |
| Reset |
Simulation reset.
(Inherited from ICoSimulator.) | |
| Starting |
Simulation starting.
(Inherited from ICoSimulator.) | |
| Step |
Called to advance the simulator by step.
(Inherited from ICoSimulator.) | |
| Stopped |
Simulation stopped.
(Inherited from ICoSimulator.) |
| Name | Description | |
|---|---|---|
| Interrupted |
Occurs when the simulator is ready to be stepped again before its preferred 'nextStep'.
(Inherited from ICoSimulator.) | |
| OnConfigurationChanged |
Occurs when IOMode or ScheduledSpeed is changed.
(Inherited from ISynchronizedIOService.) | |
| ProcessIO |
Occurs when the PLC is ready to send or receive data.
So as to remain synchronized, IO should be performed in the thread raising the event.
(Inherited from ISynchronizedIOService.) | |
| StatusChanged |
Occurs when the simulator status changes. A simulator that raises this event should return
RaisesStatusChanged from Flags.
(Inherited from ICoSimulator.) |