48#ifndef PROTOCORE_EUROMAP77_H
49#define PROTOCORE_EUROMAP77_H
53#if PROTOCORE_ENABLE_EUROMAP77
62#define EUROMAP77_NS_URI "http://opcfoundation.org/UA/PlasticsRubber/IMM2MES/"
65#define EUROMAP83_NS_URI "http://opcfoundation.org/UA/PlasticsRubber/GeneralTypes/"
73 EM_MODE_AUTOMATIC = 1,
74 EM_MODE_SEMI_AUTOMATIC = 2,
86 EM_JOB_TRANSFERRED_ASSIGNED = 1,
87 EM_JOB_SET_UP_ACTIVE = 2,
88 EM_JOB_SET_UP_INTERRUPTED = 3,
89 EM_JOB_SET_UP_FINISHED = 4,
90 EM_JOB_START_UP_ACTIVE = 5,
91 EM_JOB_IN_PRODUCTION = 6,
92 EM_JOB_INTERRUPTED = 7,
94 EM_JOB_TEAR_DOWN_ACTIVE = 9,
95 EM_JOB_TEAR_DOWN_INTERRUPTED = 10,
96 EM_JOB_TEAR_DOWN_FINISHED = 11,
102 const char *manufacturer;
104 const char *serial_number;
105 const char *product_code;
106 const char *hardware_revision;
107 const char *software_revision;
108 const char *device_revision;
109 const char *manufacturer_uri;
110} EmMachineInformation;
115 embed_bool is_present;
116 EmMachineMode machine_mode;
122 const char *job_name;
123 const char *job_description;
124 const char *material;
125 const char *product_name;
126 const char *mould_id;
127 double expected_cycle_time;
128 uint32_t num_cavities;
129 uint64_t nominal_parts;
135 uint64_t job_cycle_counter;
136 uint64_t machine_cycle_counter;
137 double last_cycle_time;
138 double average_cycle_time;
139 uint64_t job_parts_counter;
140 uint64_t job_good_parts_counter;
141 uint64_t job_bad_parts_counter;
142 EmJobStatus job_status;
153 EmMachineInformation info;
154 EmMachineStatus status;
155 EmActiveJob active_job;
156 EmActiveJobValues active_job_values;
169} Euromap77InstallArgs;
193 Euromap77BindArgs bind_args;
194 Euromap77InstallArgs install_args;
200extern Euromap77Vars Euromap77V;
205 void (*
const bind)(uint8_t *work);
206 void (*
const install)(uint8_t *work);
211void protocore_euromap77_bind(uint8_t *work);
212void protocore_euromap77_install(uint8_t *work);
218static const Euromap77Ns Euromap77 __attribute__((unused)) = {
219 .bind = protocore_euromap77_bind,
220 .install = protocore_euromap77_install,
232uint8_t *protocore_euromap77_span(
void);
EMBED_ENUM_BYTE(ProtoConn, PROTO_NONE=0, PROTO_HTTP=1, PROTO_TELNET=2, PROTO_SSH=3, PROTO_MODBUS=4, PROTO_OPCUA=5, PROTO_SSH_RFWD=6, PROTO_RELAY=7, PROTO_BRIDGE=8, PROTO_NTRIP_CASTER=9, PROTO_MESH=10, PROTO_UDP=11,)
Application protocol spoken on a listener port or connection slot.