Table 7- 230 Operatingmode { Get; Set; } - .Net (C#) - Siemens Simatic S7-1500 Function Manual

Hide thumbs Also See for Simatic S7-1500:
Table of Contents

Advertisement

User interfaces (API)
7.6 API IInstances
OperatingMode { get; set; }
Returns or sets the operating mode of the virtual controller.
A change in the value during runtime only takes effect at the synchronization point.

Table 7- 230 OperatingMode { get; set; } - .NET (C#)

Syntax
Parameters
Return values
Exceptions
SetSendSyncEventInDefaultModeEnabled()
Sets the
triggered after each cycle end in the Default operating mode. See OnSyncPointReached
(Page 247).
Table 7- 231 SetSendSyncEventInDefaultModeEnabled() - Native C++
Syntax
Parameters
Return values
IsSendSyncEventInDefaultModeEnabled()
Returns the
false
Table 7- 232 IsSendSyncEventInDefaultModeEnabled() - Native C++
Syntax
Parameters
Return values
224
EOperatingMode OperatingMode { get; set; }
None
EOperatingMode:
Siemens.Simatic.Simulation.Runtime.SimulationRuntimeException
Runtime error code
ERuntimeError-
Code.InterfaceRemoved
ERuntimeErrorCode.Timeout
SendSyncEventInDefault
ERuntimeErrorCode SetSendSyncEventInDefaultModeEnabled(
bool in_Enable
);
bool in_Enable:
If
, the
true
fault operating mode.
Runtime error code
SREC_OK
SREC_INTERFACE_REMOVED
SREC_TIMEOUT
SendSyncEventInDefaultMode
.
bool IsSendSyncEventInDefaultModeEnabled();
None
The event is not triggered (unless the Sync-Freeze mode is active).
false:
The event is triggered after every cycle.
true:
Operating mode of the virtual controller
.
mode
In this mode the
event is triggered after each cycle in the De-
OnSyncPointReached
mode. When the function fails, the return value is
Condition
The instance is not registered in Runtime
Manager.
The function does not return on time.
event is
OnSyncPointReached
Condition
The function is successful.
The instance is not registered in Runtime
Manager.
The function does not return on time.
S7-PLCSIM Advanced
Function Manual, 12/2017, A5E37039512-AB

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents