Cycle Control - Siemens Simatic S7-1500 Function Manual

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

Advertisement

A change in the value during runtime only takes effect at the cycle control point.
Table 7- 227 ScaleFactor { get; set; } - .NET (C#)
Syntax
Parameters
Return values
Exceptions
7.6.7

Cycle control

GetOperatingMode()
Returns the operating mode (Page 331) of the virtual controller.
Table 7- 228 GetOperatingMode() - Native C++
Syntax
Parameters
Return values
SetOperatingMode()
Sets the operating mode of the virtual controller.
A change in the value during runtime only takes effect at the synchronization point.
Table 7- 229 SetOperatingMode() - Native C++
Syntax
Parameters
Return values
S7-PLCSIM Advanced
Function Manual, 12/2017, A5E37039512-AB
double ScaleFactor { get; set; }
None
Scaling factor of the virtual time.
double:
Siemens.Simatic.Simulation.Runtime.SimulationRuntimeException
Runtime error code
ERuntimeError-
Code.InterfaceRemoved
ERuntimeErrorCode.Timeout
ERuntimeErrorCode.WrongArgument
EOperatingMode GetOperatingMode();
None
Operating mode of the virtual controller
EOperatingMode:
void SetOperatingMode(
EOperatingMode in_OperatingMode
);
EOperatingMode in_OperatingMode:
Operating mode of the virtual controller
Runtime error code
SREC_OK
SREC_INTERFACE_REMOVED
SREC_TIMEOUT
User interfaces (API)
7.6 API IInstances
Condition
The instance is not registered in Runtime
Manager.
The function does not return on time.
The value is outside the limits.
Condition
The function is successful.
The instance is not registered in Runtime
Manager.
The function does not return on time.
223

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents