PLCnext API Documentation 25.0.2.69
PlcStartKind.hpp
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6#pragma once
8#include "Arp/Base/Core/Enum.hxx"
9
11{
12
17enum class PlcStartKind : uint8
18{
19 None = 0,
20 Cold = 1,
21 Warm = 2,
22 Hot = 3,
23 RestoreWarm = 4,
24};
25
27// global stream operators of enum PlcStartKind for logging and parsing
28ARP_EXPORT std::ostream& operator<<(std::ostream& os, PlcStartKind value);
29ARP_EXPORT std::istream& operator>>(std::istream& is, PlcStartKind& value);
30
31} // end of namespace Arp::Plc::Commons::Domain
32
33template<> struct fmt::formatter<Arp::Plc::Domain::Commons::PlcStartKind>: public fmt::ostream_formatter {};
std::uint8_t uint8
The Arp unsigned integer type of 1 byte size.
Definition: PrimitiveTypes.hpp:25
@ Warm
The PLC is stopped in warm state, that is the retain data has been restored.
@ Hot
The PLC is stopped in hot state, that is all data still remains.
Namespace for interface types of the PLC domain
PlcStartKind
Determines which kind of start operation is initiated using PlcManager::StartPlc(PlcStartKind startKi...
Definition: PlcStartKind.hpp:18
@ RestoreWarm
Initiates a PLC warm start by restore, i.e. all data is reset to initial values, but retained data is...
@ Cold
Initiates a PLC cold start, i.e. all data is reset to initial values.
Root namespace for the PLCnext API