42#ifndef DETERMINISTICESPASYNCWEBSERVER_UMATI_H
43#define DETERMINISTICESPASYNCWEBSERVER_UMATI_H
53#define UMATI_NS_URI "http://opcfoundation.org/UA/MachineTool/"
59enum class UmatiOperationMode : int32_t
64 UMATI_OP_AUTOMATIC = 3,
72enum class UmatiChannelState : int32_t
74 UMATI_CH_INTERRUPTED = 0,
81struct UmatiIdentification
83 const char *manufacturer;
85 const char *serial_number;
86 const char *software_revision;
87 const char *product_instance_uri;
88 uint16_t year_of_construction;
94 UmatiChannelState state;
96 double rapid_override;
97 const char *active_program;
103 double rotation_speed;
104 double override_value;
111 double actual_position;
119struct UmatiMachineTool
122 UmatiIdentification ident;
123 UmatiOperationMode operation_mode;
124 double power_on_duration_s;
125 UmatiChannel channel;
126 UmatiSpindle spindle;
130 const char *active_program;
131 uint32_t produced_part_count;
132 const char *message_text;
133 uint32_t message_severity;
140void umati_bind(
const UmatiMachineTool *mt);
147bool umati_read(uint16_t ns, uint32_t
id, uint32_t attribute, OpcUaVariant *out);
155int32_t umati_browse(uint16_t ns, uint32_t
id, OpcUaReference *out, uint32_t max);
161void umati_install(
const UmatiMachineTool *mt);
User-facing configuration for DeterministicESPAsyncWebServer.
OPC UA Binary server: handshake + SecureChannel + Session + Read/Write + Browse (DETWS_ENABLE_OPCUA).