Hello All, I wonder if anyone can help me?
I'm working for a company within a sector that has virtually zero standards of work so i've started creating template routines, tag structures etc.
However, i have a query. I don't want to use direct Inputs/Outputs from hardware etc, and i've built a UDT with all the System tags associated with individual drives. (We use multiple Powerflex in a single system)
The Tag Structure from the Powerflex comes in as:
Integer
15 x Booleans
Integer
For both Inputs and Outputs
Now i've built a UDT Containing
Drive Inputs (UDT with the same structure as above)
Drive Outputs (UDT with the same structure as above)
Random System Booleans
Random Reals
Random HMI Inputs
The problem is that cannot move the Raw Inputs/Outputs that are created when adding a drive to the IO configuration into my Drive Tag. (Built as above) because the CPS command expects the element length to be of the same data type. i.e 3 dints etc.
Has anyone got any advice on the best way to deal with this as i dont want to have to manually move the 15 Booleans and the 2x integers separately.
I Hope i've explained this enough. I can provide my UDT for anyone interested. I've normally only dealt with SEWs etc that come in as arrays of Dints. Burning my head out! haha
Thanks in Advance
I'm working for a company within a sector that has virtually zero standards of work so i've started creating template routines, tag structures etc.
However, i have a query. I don't want to use direct Inputs/Outputs from hardware etc, and i've built a UDT with all the System tags associated with individual drives. (We use multiple Powerflex in a single system)
The Tag Structure from the Powerflex comes in as:
Integer
15 x Booleans
Integer
For both Inputs and Outputs
Now i've built a UDT Containing
Drive Inputs (UDT with the same structure as above)
Drive Outputs (UDT with the same structure as above)
Random System Booleans
Random Reals
Random HMI Inputs
The problem is that cannot move the Raw Inputs/Outputs that are created when adding a drive to the IO configuration into my Drive Tag. (Built as above) because the CPS command expects the element length to be of the same data type. i.e 3 dints etc.
Has anyone got any advice on the best way to deal with this as i dont want to have to manually move the 15 Booleans and the 2x integers separately.
I Hope i've explained this enough. I can provide my UDT for anyone interested. I've normally only dealt with SEWs etc that come in as arrays of Dints. Burning my head out! haha
Thanks in Advance