vaem_helper
Helper functions for VAEM driver.
For further reference, see the VAEM documentation found at the Product Page or Operation Instructions.
VaemAccess
Bases: IntEnum
Enum class for the access type to the VAEM.
Attributes:
| Name | Type | Description |
|---|---|---|
READ |
0
|
Read access |
WRITE |
1
|
Write access |
Source code in src/vaem/vaem_helper.py
VaemControlWords
Bases: IntEnum
Enum class for the VAEM control words.
Attributes:
| Name | Type | Description |
|---|---|---|
STARTVALVES |
1
|
Start Valves |
STOPVALVES |
4
|
Stop Valves |
RESETERRORS |
8
|
Reset Errors |
STARTVALVESRESETERROR |
9
|
Start valves and reset error bit after completion |
Source code in src/vaem/vaem_helper.py
VaemDataType
Bases: IntEnum
Enum class for the data type being passed to and from the VAEM.
Attributes:
| Name | Type | Description |
|---|---|---|
UINT8 |
1
|
Unsigned 8-bit integer |
UINT16 |
2
|
Unsigned 16-bit integer |
UINT32 |
3
|
Unsigned 32-bit integer |
UINT64 |
4
|
Unsigned 64-bit integer |
Source code in src/vaem/vaem_helper.py
VaemIndex
Bases: IntEnum
Mapping of indices for the VAEM parameters.
Attributes:
| Name | Type | Description |
|---|---|---|
CONTROLWORD |
1
|
Control Word |
STATUSWORD |
2
|
Status Word |
NOMINALVOLTAGE |
4
|
Nominal Voltage |
INRUSHCURRENT |
5
|
Inrush Current |
HOLDINGCURRENT |
6
|
Holding Current |
SWITCHINGTIME |
7
|
Switching Time |
PICKUPTIME |
8
|
Pick Up Time |
OPERATINGMODE |
9
|
Operating Mode |
SAVEPARAMETERS |
17
|
Save Parameters |
SELECTVALVE |
19
|
Select Valve |
TIMEDELAY |
22
|
Time Delay |
ERRORHANDLING |
45
|
Activate or Deactivate Error Handling |
CURRENTREDUCTIONTIME |
46
|
Current Reduction Time |
Source code in src/vaem/vaem_helper.py
VaemOperatingMode
Bases: IntEnum
Enum class for the VAEM operating modes.
Attributes:
| Name | Type | Description |
|---|---|---|
OPMODE1 |
0
|
Operating Mode 1 -- Internal via control word via communication interface |
OPMODE2 |
1
|
Operating Mode 2 -- External by 24 V trigger input, set switching time of the individual valves |
OPMODE3 |
2
|
Operating Mode 3 -- External by 24 V trigger input, duration of the trigger input |