0% found this document useful (0 votes)
248 views5 pages

SysTypes V3x E

This document describes the SysTypes.library which provides a constant, data types, and modules used by the CoDeSys runtime system. The library contains the constant RTS_INVALID_HANDLE and the data types RTS_IEC_HANDLE and RTS_IEC_RESULT. It also describes the modules for each: RTS_INVALID_HANDLE is used as an error code, RTS_IEC_HANDLE identifies objects, and RTS_IEC_RESULT indicates return values and errors.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
248 views5 pages

SysTypes V3x E

This document describes the SysTypes.library which provides a constant, data types, and modules used by the CoDeSys runtime system. The library contains the constant RTS_INVALID_HANDLE and the data types RTS_IEC_HANDLE and RTS_IEC_RESULT. It also describes the modules for each: RTS_INVALID_HANDLE is used as an error code, RTS_IEC_HANDLE identifies objects, and RTS_IEC_RESULT indicates return values and errors.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Library Description:

CoDeSys V 3.x
SysTypes.library

Document Version 1.0


libdoc_e.dot / V1.0

3S - Smart Software Solutions GmbH page 1 of 6


SysTypes_V3x_E.doc
Library SysTypes.library

CONTENT

1 OVERVIEW 4

2 LIBRARY MODULES 5
2.1 Constant RTS_INVALID_HANDLE 5
2.2 Data type RTS_IEC_HANDLE 5
2.3 Data type RTS_IEC_RESULT 5

CHANGE HISTORY 6
libdoc_e.dot / V1.0

3S - Smart Software Solutions GmbH page 3 of 6


SysTypes_V3x_E.doc
Library SysTypes.library

1 Overview

This library provides the constant RTS_INVALID_HANDLE as well as the data types
RTS_IEC_HANDLE and RTS_IEC_RESULT, which are used by the runtime system. Their
definition accords to the system, so that they can be used cross platform.

Constant:

RTS_INVALID_HANDLE

Data structures:

RTS_IEC_HANDLE
RTS_IEC_RESULT
libdoc_e.dot / V1.0

3S - Smart Software Solutions GmbH page 4 of 6


SysTypes_V3x_E.doc
Library SysTypes.library

2 Library Modules

2.1 Constant RTS_INVALID_HANDLE


In general, this constant of type RTS_IEC_HANDLE is assigned to the value 16#FFFFFFFF.
This is always the case for 32-bit systems and the general case for 16-bit systems.

The constant serves as error code for library functions being called with an invalid IEC handle.

2.2 Data type RTS_IEC_HANDLE


This type is defined as POINTER TO BYTE. It is used for identification of objects such as
sockets, PCI cards, etc.

2.3 Data type RTS_IEC_RESULT


This type is defined as UDINT. It is often used as type of the return of library functions
indicating eventual errors.
libdoc_e.dot / V1.0

3S - Smart Software Solutions GmbH page 5 of 6


SysTypes_V3x_E.doc
Library SysTypes.library

Change History
Version Description Date

0.1 Creation according to German version 1.0 19.02.2008


1.0 Release after formal review 20.02.2008
libdoc_e.dot / V1.0

3S - Smart Software Solutions GmbH page 6 of 6


SysTypes_V3x_E.doc

You might also like