Multilanguage API
eManager Runtime Library is composed by two kinds of libraries: modules and packages.
A module is a hardware access layer (HAL) representing a software eMOD subsystem. Each library module is directly related to own hardware module, such as a relays module. The core module is the Controller module.
A package is a library that implements the interface with a Controller hardware component, or it can also be a tool, such as Clock Package.
The following list shows the different modules:
Module |
Module Id. |
Module Description |
---|---|---|
EthSer |
1 |
Ethernet & Serial module |
8SR |
3 |
8 Signal relays module |
10DI |
4 |
10 Digital inputs module |
7AI+2PR |
5 |
7 Analog inputs and 2 power relays module |
12AI |
6 |
12 Analog inputs module |
5DI+2PR |
8 |
5 Digital inputs and 2 power relays module |
The following diagram shows the structure of the library:
eMOD Status Codes
In general, methods return 0 if all goes well. Exceptionally, there are some methods that return nothing, such as sleep() functions.
Here you can see how the different status return codes are organized as well as the list of codes and its description.