1
easyE4 / Antw:Easynet über WLAN
« Letzter Beitrag von ablas am Gestern um 17:06:47 »Hello!
At the beginning of the program, the network is read, and at the end of the program, the network is written (according to the reference manual).
¡Hola!
Al principio del programa, la lectura de la red y al final del programa, la escritura de la red (según el manual de referencia).
0001 (*-------------------------------
0002 - NET_3
0003 --------------------------------*)
0004 (* INICIO DE PROGRAMA
0005 Leer de la RED (WIFI) *)
0006 MW11 :=1NW01;(* lee BITS de Net_1*)
0007 MW12 :=2NW02;(* Lee BITS de Net_2*)
0008 MW14 :=4NW04;(* Lee BITS de Net_4*)
0009 MW15 :=2NW05;(* Lee DATO de Net_2 contador metros cúbicos*)
0010 MW17 :=1NW07;(* Lee DATO de Net_1 Grados Celsius *)
0011 MW20 :=1NW10;(* Lee DATO de Net_1 contador metros cúbicos*)
0012 MW21 :=1NW11;(* Lee DATO de Net_1 contador x100 litros *)
0013 (*
0014 .
0015 .
0016 .
0017 .
0018 .
0019 .
0020 .
0021 .
0022 PROGRAMA
0023 .
0024 .
0025 .
0026 .
0027 .
0028 .
0029 .
0030 .
0031 .
0032 .
0033 *)
0034 (* ESCRIBIR EN LA RED (WIFI) *)
0035 M193 :=M3;(* NET_3 AUTOMATICO *)
0036 M194 :=M194;(* NET_3 PIDE AGUA *)
0037 NW03 :=MW13;(* NET_3 Bits *)
0038 NW06 :=MW16;(* NET_3 Fugas L/H. *)
0039 NW09 :=MW19;(* NET_3 Nivel% *)
0040 (* Fin de escritura
0041 FIN DE PROGRAMA *)
At the beginning of the program, the network is read, and at the end of the program, the network is written (according to the reference manual).
¡Hola!
Al principio del programa, la lectura de la red y al final del programa, la escritura de la red (según el manual de referencia).
0001 (*-------------------------------
0002 - NET_3
0003 --------------------------------*)
0004 (* INICIO DE PROGRAMA
0005 Leer de la RED (WIFI) *)
0006 MW11 :=1NW01;(* lee BITS de Net_1*)
0007 MW12 :=2NW02;(* Lee BITS de Net_2*)
0008 MW14 :=4NW04;(* Lee BITS de Net_4*)
0009 MW15 :=2NW05;(* Lee DATO de Net_2 contador metros cúbicos*)
0010 MW17 :=1NW07;(* Lee DATO de Net_1 Grados Celsius *)
0011 MW20 :=1NW10;(* Lee DATO de Net_1 contador metros cúbicos*)
0012 MW21 :=1NW11;(* Lee DATO de Net_1 contador x100 litros *)
0013 (*
0014 .
0015 .
0016 .
0017 .
0018 .
0019 .
0020 .
0021 .
0022 PROGRAMA
0023 .
0024 .
0025 .
0026 .
0027 .
0028 .
0029 .
0030 .
0031 .
0032 .
0033 *)
0034 (* ESCRIBIR EN LA RED (WIFI) *)
0035 M193 :=M3;(* NET_3 AUTOMATICO *)
0036 M194 :=M194;(* NET_3 PIDE AGUA *)
0037 NW03 :=MW13;(* NET_3 Bits *)
0038 NW06 :=MW16;(* NET_3 Fugas L/H. *)
0039 NW09 :=MW19;(* NET_3 Nivel% *)
0040 (* Fin de escritura
0041 FIN DE PROGRAMA *)






Neueste Beiträge