Autor Thema: Release 276  (Gelesen 11203 mal)

0 Mitglieder und 1 Gast betrachten dieses Thema.

Offline hugo

  • Global Moderator
  • *****
  • Beiträge: 2 150
    • Profil anzeigen
Release 276
« am: 10. August 2008, 14:01:16 »
ab sofort ist das release 2.76 im Downloadberich verfügbar.

die Neuerungen beinhalten:

- neues Blind Input modul mit erweiterer Funktionalität
- verschiedene neue Timing Module
- dekoder für mehrfach Click Inputs
- Julian Date Baustein
- Neue Timer
- Berechnung der Refraktion

Robert

  • Gast
English Is it pssible to Redimension array at runtime
« Antwort #1 am: 17. September 2008, 08:30:12 »
I am trying to redim in vb terms array is this possible (Twincat)
If you could email me that would be cool, I speak no German
oshea@orcon.net.nz

Offline hugo

  • Global Moderator
  • *****
  • Beiträge: 2 150
    • Profil anzeigen
Re: Release 276
« Antwort #2 am: 17. September 2008, 11:08:38 »
dont worry english is fine for us.

redimension of arrays at runtime is forbidden under iec61131 standard
it is not available and possible on sps systems under the iec61131 standard


Robert

  • Gast
Re: Release 276
« Antwort #3 am: 17. September 2008, 23:51:57 »
Thanks for the answer

What I am trying to write control system that has what term as collections of controls, In my case there would be collection of bins that would have collection of gates and so on (I am software developer so I am used being able to do this). These collections will be constant at particular site but change at the next implementation. So what I want to know how you would go about this. The problem is that a bin may variable number of gates. I hope this makes senses

Cheers

Offline hugo

  • Global Moderator
  • *****
  • Beiträge: 2 150
    • Profil anzeigen
Re: Release 276
« Antwort #4 am: 18. September 2008, 03:09:33 »
what can can do is create structures and arrays of structures
the array size you can define at compilation time with a constant

like:
var
   dummy : array[0..size] of bins;
end_var
var constant
   size : int := 6;
end_var