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/"
74 EM_MODE_AUTOMATIC = 1,
75 EM_MODE_SEMI_AUTOMATIC = 2,
88 EM_JOB_TRANSFERRED_ASSIGNED = 1,
89 EM_JOB_SET_UP_ACTIVE = 2,
90 EM_JOB_SET_UP_INTERRUPTED = 3,
91 EM_JOB_SET_UP_FINISHED = 4,
92 EM_JOB_START_UP_ACTIVE = 5,
93 EM_JOB_IN_PRODUCTION = 6,
94 EM_JOB_INTERRUPTED = 7,
96 EM_JOB_TEAR_DOWN_ACTIVE = 9,
97 EM_JOB_TEAR_DOWN_INTERRUPTED = 10,
98 EM_JOB_TEAR_DOWN_FINISHED = 11,
104 const char *manufacturer;
106 const char *serial_number;
107 const char *product_code;
108 const char *hardware_revision;
109 const char *software_revision;
110 const char *device_revision;
111 const char *manufacturer_uri;
112} EmMachineInformation;
118 EmMachineMode machine_mode;
124 const char *job_name;
125 const char *job_description;
126 const char *material;
127 const char *product_name;
128 const char *mould_id;
129 double expected_cycle_time;
130 uint32_t num_cavities;
131 uint64_t nominal_parts;
137 uint64_t job_cycle_counter;
138 uint64_t machine_cycle_counter;
139 double last_cycle_time;
140 double average_cycle_time;
141 uint64_t job_parts_counter;
142 uint64_t job_good_parts_counter;
143 uint64_t job_bad_parts_counter;
144 EmJobStatus job_status;
155 EmMachineInformation info;
156 EmMachineStatus status;
157 EmActiveJob active_job;
158 EmActiveJobValues active_job_values;
171} Euromap77InstallArgs;
195 Euromap77BindArgs bind_args;
196 Euromap77InstallArgs install_args;
202extern Euromap77Vars Euromap77V;
207 void (*
const bind)(uint8_t *work);
208 void (*
const install)(uint8_t *work);
213void protocore_euromap77_bind(uint8_t *work);
214void protocore_euromap77_install(uint8_t *work);
220static const Euromap77Ns Euromap77 __attribute__((unused)) = {
221 .bind = protocore_euromap77_bind,
222 .install = protocore_euromap77_install,
234uint8_t *protocore_euromap77_span(
void);
PROTO_ENUM_PACKED
Application protocol spoken on a listener port or connection slot.
#define PROTOCORE_BEGIN_DECLS
Give a header's declarations C linkage, so their symbol names carry no parameter types.
_Bool proto_bool
The truth value.
#define PROTOCORE_END_DECLS