Quantcast
Channel: SPS-Forum - Automatisierung und Elektrotechnik
Viewing all articles
Browse latest Browse all 49641

TIA SCL Strukturen ODER Verknüpfen

$
0
0
Hallo Forum!

Gibt es in SCL Befehle um PLC-Datentypen miteinander ODER zu verknüpfen?
Beispiel:

Code:

TYPE "typeSystemValves"
VERSION : 0.1
  STRUCT
      V0_1 : "typeValve";
      V0_2 : "typeValve";
      V1_3 : "typeValve";
      V1_6 : "typeValve";
      V1_8 : "typeValve";
  END_STRUCT;


END_TYPE

typeV1 : typeSystemValves;
typeV2 : typeSystemValves;
typeV3 : typeSystemValves;

typeV1 := typeV2 OR typeV3;

Mir fällt momentan nichts besseres ein, als alle BOOL Varaiblen vom Typ "typeValve" einzeln zu verknüpfen.

Viewing all articles
Browse latest Browse all 49641


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>