Plant SCADA Include projects (SxW_Style_Include & Library_Equipment) Cicode functions and genies modifications

Dear Experts,

We are using Plant SCADA 2023 R2. We need to modify some of the include projects Cicode functions and genies. We tried to copy and rename the needed library files (lib.control.ctm) but after renaming the file the genies did not work as expected. Also when we copied and renamed the PA_Equip.ci it also didn't work as expected.

Is there a standard way to modify the included projects without missing things up? We did not apply modifications to the source files because we know that when upgrading the plant scada version these modifications will be lost.

Thanks.

Parents
  • Which specific include projects do you want to modify? You shouldn't modify any of the include projects that come with PlantSCADA if possible, but you can modify your own projects. If you make a copy of a Cicode file, you have to rename all the functions in it (and rename each place where those functions call the other functions in that file) so they don't conflict with the other copy.

    You can rename CTM files. Then you have to use the Update Pages command in the Graphics Builder to fix the connections to the library. For each genie used, it will ask you if you want to replace all instances (since it can't find the original library name) and you have to select the new library to relink it.

Reply
  • Which specific include projects do you want to modify? You shouldn't modify any of the include projects that come with PlantSCADA if possible, but you can modify your own projects. If you make a copy of a Cicode file, you have to rename all the functions in it (and rename each place where those functions call the other functions in that file) so they don't conflict with the other copy.

    You can rename CTM files. Then you have to use the Update Pages command in the Graphics Builder to fix the connections to the library. For each genie used, it will ask you if you want to replace all instances (since it can't find the original library name) and you have to select the new library to relink it.

Children
No Data