Constants
Here you can find all the necessary constants for the API.
IoT Functions where (i) indicates Input and (o) indicates Output:
PType_Production = 0 |
(i) Production counter. |
PType_Scrap = 1 |
(i) Scrap counter. |
PType_Rework = 2 |
(i) Rework counter. |
PType_Consumption = 3 |
(i) Consumption counter. |
PType_Generic = 4 |
(i) Generic multipurpose signal. |
PType_AvailProd = 5 |
(i) Indicates with 1 when there are elements at the entry of the process. This means that the process can work because it has elements to process ready at its entry. |
PType_Saturation = 6 |
(i) Indicates with 1 when there are elements at the exit of the process. This means that the process can not work due to saturation at its exit. |
PType_ProdPulse = 7 |
(i) Production pulse by the process. Not recommended, use PType_Production instead. |
PType_ScraPulse = 8 |
(i) Scrap pulse by the process. Not recommended, use PType_Scrap instead. |
PType_RewoPulse = 9 |
(i) Rework pulse by the process. Not recommended, use PType_Rework instead. |
PType_OnOff = 10 |
(i) Forces a process to become working (when 1) or not working (when 0). Not recommended, use a production counter instead. |
PType_OnOff_T = 11 |
(i) On off but with timing control (microstop, production minimum time, etc.). |
PType_Good_S = 12 |
(i) Goods counter (send Scrap). This item will generate scrap by calculating the difference between a Production counter and this counter. |
PType_Good_R = 13 |
(i) Goods counter (send Rework). This item will generate rework by calculating the difference between a Production counter and this counter. |
PType_Good_SR = 14 |
(i) Goods counter (send Scrap or Rework). This item will generate scrap or rework by calculating the difference between a Production counter and this counter. |
PType_Sched_R = 15 |
(o) Becomes 1 when the Scheduling button is flashing in red, which means that there are orders/tasks which are already delayed. |
PType_Sched_G = 16 |
(o) Becomes 1 when the Scheduling button is flashing in green. Not in use. |
PType_Sched_Y = 17 |
(o) Becomes 1 when the Scheduling button is flashing in yellow, which means that there are orders/tasks which are about to be delayed. |
PType_Produ_R = 18 |
(o) Becomes 1 when the Results button is flashing in red, which means that the process should have produced results. |
PType_Produ_G = 19 |
(o) Becomes 1 when the Results button is flashing in green. Not in use. |
PType_Produ_Y = 20 |
(o) Becomes 1 when the Results button is flashing in yellow, which means that the process should produce results soon. |
PType_Statu_R = 21 |
(o) Becomes 1 when the Statuses button is flashing in red, which means that the process has failures which are not justified, and they are about to be blocked. |
PType_Statu_G = 22 |
(o) Becomes 1 when the Statuses button is flashing in green. Not in use. |
PType_Statu_Y = 23 |
(o) Becomes 1 when the Statuses button is flashing in yellow, which means that the process has failures which are not justified. |
PType_Consu_R = 24 |
(o) Becomes 1 when the Consumption button is flashing in red, which means that the process has consumptions which are not justified, and they are about to be blocked. |
PType_Consu_G = 25 |
(o) Becomes 1 when the Consumption button is flashing in green. Not in use. |
PType_Consu_Y = 26 |
(o) Becomes 1 when the Consumption button is flashing in yellow, which means that the process has consumptions which are not justified. |
PType_Autoc_R = 27 |
(o) Becomes 1 when the Autocontrol button is flashing in red, which means that the process has pending autocontrol tasks which are urgent and about to be blocked. |
PType_Autoc_G = 28 |
(o) Becomes 1 when the Autocontrol button is flashing in green. Not in use. |
PType_Autoc_Y = 29 |
(o) Becomes 1 when the Autocontrol button is flashing in yellow, which means that the process has pending autocontrol tasks. |
PType_SPC_R = 30 |
(o) Becomes 1 when the Quality SPC button is flashing in red, which means that the process has pending and urgent quality measures to be taken. |
PType_SPC_G = 31 |
(o) Becomes 1 when the Quality SPC button is flashing in green. |
PType_SPC_Y = 32 |
(o) Becomes 1 when the Quality SPC button is flashing in yellow, which means that the process has pending quality measures to be taken. |
PType_SPC_A = 33 |
(o) Becomes 1 when there is an SPC Quality alert for the process. |
PType_LifeBit = 34 |
(o) Becomes 1 when the edinn IoT |
PType_Justify = 35 |
(i) Justifies a failure when this signal is activated. |
PType_Justify_A = 36 |
(i) Justifies all the current failure, not just while the signal was activated. |
PType_ResChange = 37 |
(i) Changes the result to the one indicated, when this signal is activated. |
PType_OEE_R = 38 |
(o) Becomes 1 when the process is RED in terms of OEE. |
PType_OEE_G = 39 |
(o) Becomes 1 when the process is GREEN in terms of OEE. |
PType_OEE_Y = 40 |
(o) Becomes 1 when the process is YELLOW in terms of OEE. |
PType_SubsUnattended = 41 |
(o) Becomes 1 when the process has a unattended subscription that has already been produced. |
PType_StatusActive = 42 |
(o) Becomes 1 when the process is in a certain status. |
PType_Measure_Res = 43 |
(i) Numeric data which will be inserted as a measure which belongs to a program which is related to a result. |
PType_Result_Id = 44 |
(i) Changes the current result to the content of this signal. |
PType_Measure = 45 |
(i) Numeric data which will be inserted as a measure which belongs to a program but is not related to a result. |
IoT Type
- TOPICS_None = 0
- TOPICS_Counters = 1
- TOPICS_Signals = 2
- TOPICS_UDL = 3
IoT Vendors
- MON_DRIVER_Manual = 4
- MON_DRIVER_Vision = 5
- MON_DRIVER_OPCDA = 8
- MON_DRIVER_VisionIP = 9
- MON_DRIVER_edinnHIP = 11
- MON_DRIVER_OPCUA = 12
- MON_DRIVER_NONE = 255