ABB Compact Control Builder: checksum calculation in source code

M

Thread Starter

MMC

In order to do massive function block call insertions. I'm looking for a method to calculate the checksum for files .spr (source code) in ABB Compact Control Builder.
 
I'm confused why you would need to do this. You should not be editing the .spr files directly - you should be using the Control Builder Open Interface.

The CB Open Interface calculates the checksum automatically and keeps all the GUIDs that link libraries, types, programs etc consistent.

Rob
www[.]lymac.co.nz
 
The idea is to do all the repetitive calls (for example calling a processing function for every analog input) by means of an excel macro that produces an text file for inserting in the .spr

Thank you Rob for your interest.
 
You can - and should - use Excel VBA programming to implement the CB open interface. The CB open interface can be used to insert structured text into the <ST_Code> as well as create function blocks, variables etc - so will do everything you need.

The CB Open Interface documentation is on your installation CD.

Rob
 
Top