Click or drag to resize

ISynchronizedCoSimulator Interface

A service that offers an ICoSimulator and an ISynchronizedIOService.

Namespace:  Demo3D.PLC.Comms
Assembly:  PLC (in PLC.dll) Version: 18.04.00
Syntax
C#
public interface ISynchronizedCoSimulator : ICoSimulator, 
	ISynchronizedIOService

The ISynchronizedCoSimulator type exposes the following members.

Properties
  NameDescription
Public propertyFlags
Simulator flags.
(Inherited from ICoSimulator.)
Public propertyIOMode
How IO is performed with respect to the model.
(Inherited from ISynchronizedIOService.)
Public propertyMaxStep
The maximum step size supported.
(Inherited from ICoSimulator.)
Public propertyMinStep
The minimum step size supported.
(Inherited from ICoSimulator.)
Public propertyName
User friendly name of the simulator.
(Inherited from ICoSimulator.)
Public propertyScheduledSpeed
Dictates the speed factor for Scheduled IO.
(Inherited from ISynchronizedIOService.)
Public propertyValidSpeed
Returns the valid speeds this simulator can run at.
(Inherited from ICoSimulator.)
Top
Methods
  NameDescription
Public methodAfterStep
Called after advancing the simulator.
(Inherited from ICoSimulator.)
Public methodBeforeStep
Called before advancing the simulator.
(Inherited from ICoSimulator.)
Public methodClose
Close the co-simulation connection.
Public methodGetNextStepSize
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.)
Public methodGetStatus
The current status of the simulator.
(Inherited from ICoSimulator.)
Public methodGetTime
The current system time reported by the simulator. (Accurate to at least one millisecond.)
(Inherited from ICoSimulator.)
Public methodOpen
Open the co-simulation connection.
Public methodReset
Simulation reset.
(Inherited from ICoSimulator.)
Public methodStarting
Simulation starting.
(Inherited from ICoSimulator.)
Public methodStep
Called to advance the simulator by step.
(Inherited from ICoSimulator.)
Public methodStopped
Simulation stopped.
(Inherited from ICoSimulator.)
Top
Events
  NameDescription
Public eventInterrupted
Occurs when the simulator is ready to be stepped again before its preferred 'nextStep'.
(Inherited from ICoSimulator.)
Public eventOnConfigurationChanged
Occurs when IOMode or ScheduledSpeed is changed.
(Inherited from ISynchronizedIOService.)
Public eventProcessIO
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.)
Public eventStatusChanged
Occurs when the simulator status changes. A simulator that raises this event should return RaisesStatusChanged from Flags.
(Inherited from ICoSimulator.)
Top
See Also