Hi everyone,
I'm writing an application for a machine that is supposed to run different auto programs, each consisting of up to 50 steps. Each auto step is represented by a struct (in the plc) and the whole list of the stored programs in the plc is an array (of that struct). The programs are written and modified by the operator.
The screen is large enough for showing a single auto program at once, so now I have about 150 different IO_fields/switches on the screen all have to be assigned a process variable.
Is there some method for this other than repeating the same "tag selection process" for 150 times?
P.S.
If it was only possible to do the assignment during runtime, I could have used a vbscript since all the (groups of) objects on the screen are named seqentially ("object_1","object_2","object_3", and so on...) so a simple "for" loop could do the job.
I'm writing an application for a machine that is supposed to run different auto programs, each consisting of up to 50 steps. Each auto step is represented by a struct (in the plc) and the whole list of the stored programs in the plc is an array (of that struct). The programs are written and modified by the operator.
The screen is large enough for showing a single auto program at once, so now I have about 150 different IO_fields/switches on the screen all have to be assigned a process variable.
Is there some method for this other than repeating the same "tag selection process" for 150 times?
P.S.
If it was only possible to do the assignment during runtime, I could have used a vbscript since all the (groups of) objects on the screen are named seqentially ("object_1","object_2","object_3", and so on...) so a simple "for" loop could do the job.