Encryption groups and configuration 3 Encryption groups and configuration Groups The user can define 3 different encryption groups for the NC kernel. Each of these groups consists of a pair comprising a key and a file extension. A key can contain a maximum of 56 characters plus '\0'. A file extension must consist of 1 to 3 characters. When the NC kernel loads an NC program, it checks whether the extension of the NC program is entered in one of these 3 groups. If this is the case, the NC kernel decrypts the NC program with the key belonging to the associated group. Default configuration Users can use the groups as they wish.
The pair assignment of key and file extension is depicted in the table below: 3.1 Channel parameter list Parameterisation options for file extensions in the channel parameter list The table below shows an example of a setting for the extensions in the channel parameter list. The file extensions for groups 1 to 3 (index 0, 1, 2) can be set. A further group also exists. This group is permanently specified by the controller or machine manufacturer and is used for the encryption of user-created NC programs (e.g. CNC cycles). These NC programs have the extension “ecy”. It is strongly recommended that you do not re-assign the file extension “ecy” for your own definitions.
If you define the file extension “ecy”, it is not possible to use CNC cycles since NC programs en- crypted by controller/machine manufacturers cannot be decrypted. TF5200 | TwinCAT 3 CNC CNC Program encryption 11 Version: 1.32 Group Key Channel parameters 1 mc encryption key 0 _ _ _ encryption extension[0] P-CHAN-00283 _ 2 mc encryption key 1 _ _ _ encryption extension[1] P-CHAN-00283 _ 3 mc encryption key 2 _ _ _ encryption extension[2] P-CHAN-00283 _ Channel parameters Value encryption extension[0] _ enc encryption extension[1] _ od encryption extension[2] _ e