Good morning all,
I'm in the process of developing my first project with the PLCNext and i run into some problems so far, i will make another post for the other problems but for this one i would like to ask the next: Is it possible to compare somehow the value of two UDTs variables? Let's say for example that i have created the next Data Types: [b]TYPE DatosAlarma : STRUCT Equipo : WSTRING := ""; Texto : WSTRING := ""; Activa : BOOL; Timestamp: LDATE_AND_TIME; Categoria : USINT := 0; END_STRUCT AlarmArray : ARRAY[0..99] of DatosAlarma; END_TYPE[/b] If i create two variables of the new type [b]"AlarmArray"[/b] and try to compare them in ST language to check if there's been any changes in the value of one of them, the software throws my an error: [b]"The data type of the left operand ('AlarmArray') is not 'ANY_ELEMENTARY'. "[/b] Is there any way two avoid this error and compare this two variables? Thank you in advance! Kind Regards, Nacho