Dynamic active/inactive tag update from PLC via script

A forum devoted to the discussion of all topics having to do with scripting and other advanced programming using iX Developer.
Post Reply
Binh Pham
Posts: 1
Joined: Wed Mar 12, 2014 8:38 am

Dynamic active/inactive tag update from PLC via script

Post by Binh Pham »

Hi all,

I'm new to iX, and currently developing a project getting data from FX3U via serial port, for report.
The data size in PLC is about 32.000 words, at maximum, and I've planned to get 512 words at each time.
I've defined a tag with array type and link this tag to PLC memory.
The program runs, and it's OK to get block by block with handshaking between PLC and HMI.
However, this data exchange impacts too much to performance of the HMI.
Everything slows down dramatically.

Is there anyway for updating data/make this array tag active only when needed, and make it inactive when there's no need, via script?
Or dynamically change the input source of this array tag via script?

More info:
HMI model: T10E.

Many thanks for your support in advance!

Regards,
Binh Pham

stuartm
Posts: 61
Joined: Thu Jun 06, 2013 9:21 am

Re: Dynamic active/inactive tag update from PLC via script

Post by stuartm »

The only advice I can give you is look at the help file under efficient communications:

"ASCII Strings and arrays are packed into one package for each object."

also check your poll groups in IX as well as make sure not to have too many "Always Active" tags. These tags will poll regardless of what screen.
Attachments
efficient_commuinications.png
efficient_commuinications.png (92.36 KiB) Viewed 7379 times

Post Reply