Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

I/O Karte mit Ausgabe von DINT

Anonymous
2007-04-17
2007-04-17
  • Anonymous - 2007-04-17

    Originally created by: oc-rock

    Hallo,

    hab hier eine I/O Karte mit 8Eingängen. Dummerweise liefert diese dazu passende Libary nur eine Variable im DINT Format in CoDeSys.

    Ja schlechte Beschreibung. Soll heißen in Codesys gibt es eine Variable die den Wert 1-128 zurückliefert.

    (hoffe mal ihr wisst was ich damit meine)

    Gibt es eine Bibliothek die diesen Wert in 8 Variablen mit BOOL übersetzt?

     
  • Anonymous - 2007-04-17

    Originally created by: oc-rock

    OK hat sich erledigt

    in der util.lib gibt es die Funktion UNPACK, die macht genau das was ich brauche.

     

Log in to post a comment.