ModuleEmulatorSchedule Method |
Schedule an event at a time + duration.
Namespace:
Demo3D.PLC.Rockwell.Emulator.ModuleEmulators
Assembly:
PLC (in PLC.dll) Version: 18.03.00
Syntaxpublic ModuleEmulatorScheduleStatus Schedule(
CommonTime time,
ModelTime duration,
Action action,
out Action?? cancel,
ModuleEmulatorScheduleControl control = ModuleEmulatorScheduleControl.Default
)
Parameters
- time
- Type: CommonTime
Time of the data. - duration
- Type: Demo3D.TimeModelTime
Duration to wait. - action
- Type: SystemAction
Event action. - cancel
- Type: SystemAction
An action for cancelling the event. - control (Optional)
- Type: Demo3D.PLC.Rockwell.Emulator.ModuleEmulatorsModuleEmulatorScheduleControl
Schedule control.
Return Value
Type:
ModuleEmulatorScheduleStatusStatus (Ok, NotSynchronized, TimePassed, InvalidTime, GeneralError).
See Also