Aktueller Inhalt von Dejo

  1. D

    At least one element in an array is true ANSI C

    Hi Thomas_v21, thanks for your answer and yes you are right, it's a B&R PLC, that is why the C programming so mixeded...it is somekind of a C addopted for PLC :) However, I have tried your solution and it is working! Thanks about that! :) Happy Holidays!
  2. D

    At least one element in an array is true ANSI C

    Hello all, I have a little problem and I hope you can help me... I want to write a little function that can check all the ellements in the array all the time. For ex: void _CYCLIC ProgramCyclic(void) int a; testboolarray : ARRAY[0..5] OF BOOL; { for(i=0; i<=5; i++) {...
  3. D

    Character $n by ANSI C Programming

    Hi all, I'm using a strtok() Function in my program. And from the Message that I delimit I recieve (for. example: 'false$n'). And I can't get rid of the $n character. What does it mean? How can I remove it? Thanks
  4. D

    Copying Structure into String Variable ANSI C

    that is not working, it says incompetible types ...
  5. D

    Copying Structure into String Variable ANSI C

    it is ANSI C ;)
  6. D

    Copying Structure into String Variable ANSI C

    aaaaa it is not working as I want...Please help or I'll lose my mind! I have: VAR StringVar : STRING[400]; Message : ARRAY[0..Const] of STRING [80]; Const = 1; END_VAR for(i=0; i<=Const; i++) { strcat(StringVar, Message(i) ); } What I want to have as a result is...
  7. D

    Copying Structure into String Variable ANSI C

    Hi, thanks for the tip... Ok, with 2 and 10 I mixed a little bit, but only in here. In the PLC I have a Constant=2; for(i=0; i<=Constant; i++) and statusProperties_typ[0..Constant]... My mistake :)
  8. D

    Copying Structure into String Variable ANSI C

    HI, Thanks for your answer, but when the StringVar an array is? For Example: StringVar=statusProperties_typ[0..2]; How can I write that in a FOR loop? For example: for(i=0; i<=10; i++) strcpy(StringVar,statusProperties_typ.TextVar); When I try to do that, my PLC gets in Service Mode :( Any...
  9. D

    Copying Structure into String Variable ANSI C

    Hi guys, I have a little problem here...I'm currently working with B&R and I'm creating a project in ANSI C. The problem that I have is to following: How can I copy the entire content of a variable (which is a structure) to a single variable (which is a String). For example: VAR StringVar ...
  10. D

    Sonstiges Copying Structure into String Variable ANSI C

    Hi guys, I have a little problem here...I'm currently working with B&R and I'm creating a project in ANSI C. The problem that I have is to following: How can I copy the entire content of a variable (which is a structure) to a single variable (which is a String). For example: VAR StringVar ...
  11. D

    B&R MQTT Parser / Serializer

    Hi guys, I'm currently working on a project, where we have a MQTT Broker and a B&R Automation Studio PLC. I have found some library for JSON Parser and Serializer, but they are not working as I want, i.e the JSON file that I become has not the structure form that I need. I need in the...
  12. D

    Wonderware Inotuch PrintScreen Funktion

    Hi Thomas, Ich hab mein Fehler gefunden...Ich habe PrintScreen Funktion in Action Script wie "While Left/Key Down" eingestellt. Und der Drucker funktionierte nicht. Wenn ich die gleiche Funktion wie "On Left/Key Up" eingestellt habe, war dann alles OK und der Drucker (in diese Falle Microsoft...
  13. D

    Wonderware Inotuch PrintScreen Funktion

    Hi Thomas, Danke für deine Antwort, aber glaube ich, dass das nicht die Lösung ist, was ich brauche. So, ich habe schon Erfahrung mit Intouch und ich kenne diese Printscreen und Windowprint Standardscripts. Was ich sagen wollte, ist das, wenn ich zB Printscreen nutze, trotzdem fängt das nicht...
  14. D

    Wonderware Inotuch PrintScreen Funktion

    Hallo, Ich arbeite gerade mit Wonderware Intouch 10.0 und ich will ein paar Screens zu drucker senden. Aber die Funktion, die ich kenne (Printscreen und Windowscreen), funktioieren nicht. Ich habe keine Ahnung warum! Hat jemand von euch ein Tipp für mich? Viele Grüße
Zurück
Oben