DATA AHEAD toolkit support Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

SP7: Array of AIs?

Hello,

I have another question.

I want to get N analog inputs (AIs), so I call 'read AI' N times. I assume there is a lot of overhead in these N calls.

Is it possible to read an array of AIs in one call, like in 'read DB' or 'read M'? Maybe in a future version of the toolkit?

Uli

0 Kudos
Message 1 of 4
(4,442 Views)

Hi UliB,

thanks for contacting us!

Your idea is pretty good! We will add this to our feature list and discuss it internaly!

Can you tell me how big the overhead really is?

As a workaround to read multiple AI values at one time i would recommend this aslong you are able to change the PLC´s programm:

- Write the AI values (in a row) in variables of the data block. The data type should be "word".

- Use the "read DB" - function with the data type "word" and select how many values (now AI values) you want to read. Take care to select the exact number of variables you created before.

Greetings,

Hajo

0 Kudos
Message 2 of 4
(3,679 Views)

Any update?

0 Kudos
Message 3 of 4
(3,679 Views)

Hello hhliliang,

thanks for your reminder!

Many features are implemented including the read AI as array but not fully tested.

We will send a message in this Community that the new Version is available to download!

So stay tuned!

Greetings Hajo

0 Kudos
Message 4 of 4
(3,679 Views)