Table 7- 244 Writerecorddone() - Native C - Siemens Simatic S7-1500 Function Manual

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

Advertisement

WriteRecordDone()
With this API method, the simulation of an I/O module signals to the CPU that the
asynchronous writing of a data record has been completed.

Table 7- 244 WriteRecordDone() - Native C++

Syntax
Parameters
Return values
Table 7- 245 WriteRecordDone() - .NET (C#)
Syntax
Parameters
Return values
Exceptions
S7-PLCSIM Advanced
Function Manual, 12/2017, A5E37039512-AB
ERuntimeErrorCode WriteRecordDone(
SDataRecordInfo in_RecordInfo,
UINT32 in_Status
);
SDataRecordInfo in_RecordInfo:
Structure which contains the data record information.
See SDataRecordInfo (Page 321).
UINT32 in_Status:
Status of the job execution
Runtime error code
SREC_OK
SREC_INTERFACE_REMOVED
SREC_DOES_NOT_EXIST
SREC_TIMEOUT
void WriteRecordDone(
SDataRecordInfo in_RecordInfo,
UInt32 in_Status
);
SDataRecordInfo in_RecordInfo:
Structure which contains the data record information.
See SDataRecordInfo (Page 321).
UInt32 in_Status:
Status of the job execution
None
Siemens.Simatic.Simulation.Runtime.SimulationRuntimeException
Runtime error code
ERuntimeError-
Code.InterfaceRemoved
ERuntimeErrorCode.DoesNotExist
ERuntimeErrorCode.Timeout
User interfaces (API)
7.6 API IInstances
Condition
The function is successful.
The instance is not registered in Runtime
Manager.
No hardware identifier of the module.
The function does not return on time.
Condition
The instance is not registered in Runtime
Manager.
No hardware identifier of the module.
The function does not return on time.
231

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents