PLCnext API Documentation 23.6.0.37
TriggerConditionOperation.hpp
1
2//
3// Copyright PHOENIX CONTACT Electronics GmbH
4//
6#pragma once
8#include "Arp/System/Core/Enum.hxx"
9
10namespace Arp { namespace Services { namespace DataLogger { namespace Services
11{
12
14{
18 None = 0,
22 Equals = 1,
26 NotEqual = 2,
30 GreaterThan = 3,
34 GreaterEqual = 4,
38 LessThan = 5,
42 LessEqual = 6,
46 Modified = 7,
50 RisingEdge = 8,
54 FallingEdge = 9,
58 And = 10,
62 Or = 11,
63};
64
66// global stream operators of enum TriggerConditionOperation for logging and parsing
67ARP_CXX_SYMBOL_EXPORT std::ostream& operator<<(std::ostream& os, TriggerConditionOperation value);
68ARP_CXX_SYMBOL_EXPORT std::istream& operator>>(std::istream& is, TriggerConditionOperation& value);
69
70}}}} // end of namespace Arp::Services::DataLogger::Services
std::uint8_t uint8
The Arp unsigned integer type of 1 byte size.
Definition: PrimitiveTypes.hpp:28
TriggerConditionOperation
Definition: TriggerConditionOperation.hpp:14
@ Equals
Start recording if TriggerVariable1 is equal to TriggerVariable2.
@ NotEqual
Start recording if TriggerVariable1 is not equal to TriggerVariable2.
@ Modified
Start recording when a modification of the TriggerVariable1 is detected.
@ Or
Start recording if TriggerCondition1 or TriggerCondition2 is true.
@ RisingEdge
Start recording when a positive (rising) edge of the TriggerVariable1 is detected.
@ GreaterEqual
Start recording if TriggerVariable1 is greater or equal to TriggerVariable2.
@ FallingEdge
Start recording when a negative (falling) edge of the TriggerVariable1 is detected.
@ And
Start recording if TriggerCondition1 and TriggerCondition2 is true.
@ LessThan
Start recording if TriggerVariable1 is less than TriggerVariable2.
@ LessEqual
Start recording if TriggerVariable1 is less or equal to TriggerVariable2.
@ GreaterThan
Start recording if TriggerVariable1 is greater than to TriggerVariable2.
Root namespace for the PLCnext API