This method puts the system into a system-specific special mode of operation. It is expected that this mode does one or all of the following things:
- Simulate hardware (for tests on notebook)
- Produce simulated results (for tests within the line)
- Simulate parts of a recipe
It is mandatory that each result produced by the system when simulation mode is on must be marked with a simulation flag.
Signature
SimulationMode ([in]Booleanactivate[in]Int32cause[in]StringcauseDescription[out]Int32error);
Table 107 – SimulationMode Method Arguments
Argument |
Description |
activate |
Switch simulation on (true) or off (false) |
cause |
Implementation specific number which the server can use, e.g. to control the simulation in a specific way |
causeDescription |
String describing the reason for the call, for logging purposes May be empty. |
error |
0 – OK Values > 0 are reserved for errors defined by this and future standards. Values < 0 shall be used for application-specific errors. |
Table 108 – SimulationMode Method AddressSpace Definition
Attribute |
Value |
||||
BrowseName |
SimulationMode |
||||
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
ModellingRule |
HasProperty |
Variable |
InputArguments |
Argument[] |
PropertyType |
Mandatory |
HasProperty |
Variable |
OutputArguments |
Argument[] |
PropertyType |
Mandatory |