Encapsulates the configuration for a PIF digital output channel.
More...
#include <PifChannelConfigs.h>
|
|
PifIndex | index = {0, 0} |
| | Identifies the channel by the indices of its pin and the PIF device on which it is located.
|
| |
|
PifDoMode | mode = PifDoMode::Off |
| | Mode to be applied to the channel.
|
| |
|
bool | outputLowActive = true |
| | Indicates if the output is low active.
|
| |
Encapsulates the configuration for a PIF digital output channel.
For a detailed overview of all available modes and parameters please refer to the corresponding section in the documentation of the configuration file.
◆ createAlarm()
| static OTC_SDK_API PifDoConfig optris::PifDoConfig::createAlarm |
( |
int |
deviceIndex, |
|
|
int |
pinIndex, |
|
|
bool |
lowIfActive |
|
) |
| |
|
staticnoexcept |
Creates a configuration for the mode PifDoMode::Alarm.
- Parameters
-
| [in] | deviceIndex | identifying the channel. |
| [in] | pinIndex | identifying the channel. |
| [in] | lowIfActive | if true, a low signal will be output, if the alarm is active. |
- Returns
- configuration for the mode PifDoMode::Alarm.
◆ createExternalCommunication()
| static OTC_SDK_API PifDoConfig optris::PifDoConfig::createExternalCommunication |
( |
int |
deviceIndex, |
|
|
int |
pinIndex |
|
) |
| |
|
staticnoexcept |
◆ createFailSafe()
| static OTC_SDK_API PifDoConfig optris::PifDoConfig::createFailSafe |
( |
int |
deviceIndex, |
|
|
int |
pinIndex |
|
) |
| |
|
staticnoexcept |
Creates a configuration for the mode PifDoMode::FailSafe.
Refer to the Fail Safe chapter for more details.
- Attention
- This mode is unique and can only be applied once for all channels.
- Parameters
-
| [in] | deviceIndex | identifying the channel. |
| [in] | pinIndex | identifying the channel. |
- Returns
- configuration for the mode PifDoMode::FailSafe.
◆ createFlagStatus()
| static OTC_SDK_API PifDoConfig optris::PifDoConfig::createFlagStatus |
( |
int |
deviceIndex, |
|
|
int |
pinIndex, |
|
|
bool |
lowIfOpen |
|
) |
| |
|
staticnoexcept |
Creates a configuration for the mode PifDoMode::FlagStatus.
- Attention
- This mode is unique and can only be applied once for all channels.
- Parameters
-
| [in] | deviceIndex | identifying the channel. |
| [in] | pinIndex | identifying the channel. |
| [in] | lowIfOpen | if true, a low signal will be output, if the flag is open. |
- Returns
- configuration for the mode PifDoMode::FlagStatus.
◆ createFrameSync()
| static OTC_SDK_API PifDoConfig optris::PifDoConfig::createFrameSync |
( |
int |
deviceIndex, |
|
|
int |
pinIndex |
|
) |
| |
|
staticnoexcept |
Create a configuration for the mode PifDoMode::FrameSync.
- Attention
- This mode is unique and can only be applied once for all channels.
- Parameters
-
| [in] | deviceIndex | identifying the channel. |
| [in] | pinIndex | identifying the channel. |
- Returns
- configuration for the mode PifDoMode::FrameSync.
◆ createOff()
| static OTC_SDK_API PifDoConfig optris::PifDoConfig::createOff |
( |
int |
deviceIndex, |
|
|
int |
pinIndex |
|
) |
| |
|
staticnoexcept |
Creates a configuration for the mode PifDoMode::Off.
- Parameters
-
| [in] | deviceIndex | identifying the channel. |
| [in] | pinIndex | identifying the channel. |
- Returns
- configuration for the mode PifDoMode::Off.
The documentation for this struct was generated from the following file: