Hello Guys,
I think I need to use SCL for the following task but am very weak using SCL in tia portal.
I have results history data block. It is an array[0..32] of 'udtLeakTestResult" my custom datatype containing a bunch of data. In the old siemens I had a block copy instruction i could use a pointer and just do a gross copy. However the PLC I am using doesnt allow STL. I am trying to shift the history. Basically Copy Elements 0-31 to 1-32. Then I will manually copy the new part data into 0.
Does anyone have a suggestion as to how ot do this? I wasnt able to use a BLK copy because of the datatype. I can use a single move instruction but then I would need 32 of them.
Thanks,
Kevin
I think I need to use SCL for the following task but am very weak using SCL in tia portal.
I have results history data block. It is an array[0..32] of 'udtLeakTestResult" my custom datatype containing a bunch of data. In the old siemens I had a block copy instruction i could use a pointer and just do a gross copy. However the PLC I am using doesnt allow STL. I am trying to shift the history. Basically Copy Elements 0-31 to 1-32. Then I will manually copy the new part data into 0.
Does anyone have a suggestion as to how ot do this? I wasnt able to use a BLK copy because of the datatype. I can use a single move instruction but then I would need 32 of them.
Thanks,
Kevin