4 File Transfer Model ToC Previous

4.2 FileType ToC Previous Next

4.2.7 SetPosition ToC Previous Next

SetPosition is used to set the current position of the file handle.


[in] UInt32 fileHandle
[in] UInt64 position
Argument Description
fileHandle A handle indicating the access request and thus indirectly the position inside the file.
Position The position to be set for the fileHandle in the file. If a Read or Write is called it starts at that position. If the position is higher than the file size the position is set to the end of the file.

Method Result Codes (defined in Call Service)

Result Code Description
Bad_InvalidArgument See OPC 10000-4 for a general description. Invalid file handle in call.

Table 7 specifies the AddressSpace representation for the SetPosition Method.

Table 7 – SetPosition Method AddressSpace definition

Attribute Value
BrowseName SetPosition
References NodeClass BrowseName DataType TypeDefinition ModellingRule
HasProperty Variable InputArguments Argument[] PropertyType Mandatory
Conformance Units          
Base Info FileType Base          

Previous Next