Activity for andrebrandt

  • andrebrandt andrebrandt posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Thank you so much. This worked. Waht im trying to do here is to automatically tag each sensors, valves and so on. There is a preatty nasty tag system i working on. "_320" is not alloved. I can have a tag "+4f=320.004-RT001V" In codesys I want to build the FB in folders. -4f | --320 | --001 This is the system structure. Inside here is all of the sensors and so on. But with Codesys, I cannot tag this like this. So what I'm trying to do now is to Make a folder for the building "4f" and one for the system...

  • andrebrandt andrebrandt posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi Tim. Not quite correct. What i'd like, is when you place the FB in prog, i choose a block NTC10k, and name this RT401. What i'm trying to do, is to get the name RT401 automaticly into the FB, so i can put this into the string i pass in a struct. So in var in POU, i saw this a place i could do this, RT401: NTC10k(Tag:='RT401'), but i can't get this to work. I shurly must have had something like this in FB: FUNCTION_BLOCK NTC10k String TAG But it's here where I'm stuck...

  • andrebrandt andrebrandt modified a comment on discussion Runtime πŸ‡¬πŸ‡§

    Hi mr. Do you have the script? Cause the link is down.

  • andrebrandt andrebrandt posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Hi mr. Do you have the script? Cause the link is down.

  • andrebrandt andrebrandt posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Hi mr. Do you have the script? Cause the link is down.

  • andrebrandt andrebrandt posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Hi mr. Do you have the script? Cause the link is down.

  • andrebrandt andrebrandt posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi all. I have a FB written in ST. FUNCTION_BLOCK NTC10k VAR_INPUT Syst:STRING; In:REAL; END_VAR VAR_OUTPUT Out:REAL; OTag:STRING; Out_St:Struct_NTC10K; END_VAR VAR Tag:STRING; InstanceName: STRING; Structure:Struct_NTC10K; END_VAR What i'm trying to do, is to pass data to structure. In structure i want to add a tag with systemnumber and sensorname. '320.001-RT401' In pou i use this RT401: NTC10k;, and tried this RT401: NTC10k(Tag:='RT401'); Anyone done this?

1