Author Topic: Dynamic Array in Plus+1 (Structured Text)  (Read 5336 times)

Offline Pankaj

  • PLUS+1 User
  • **
  • Posts: 9
  • Karma: +0/-0
Dynamic Array in Plus+1 (Structured Text)
« on: October 31, 2016, 09:19:42 AM »
Hi,

Did anyone tried Dynamic array in Plus+1 environment may be by using "Structured Text".

Is it possible to do so ???8) 8) 8)

Offline Nilla

  • PLUS+1 Guru
  • *****
  • Posts: 253
  • Karma: +13/-0
Re: Dynamic Array in Plus+1 (Structured Text)
« Reply #1 on: November 07, 2016, 02:07:26 PM »
Hi Pankaj!

If you are referring to variable length array parameters;
This is a feature added in Edition 3.0 of the PLC standard IEC61131-3.
PLUS+1 GUIDE currently targets Edition 2.0 of the standard, but we are currently working on adding some features from Edition 3.0 in coming versions of the tool.

If you are instead referring to dynamic memory allocations;
This is not something that we recommend, and it is neither supported in graphical code nor in ST code.

Best regards
Nilla
PLUS+1 Helpdesk Team