Description

Initialisation

The following steps are required to use an encrypted NC program:

  1. An NC program is encrypted with an individual key and saved to a folder.
  2. The file extension is entered in the channel parameter list as an encrypted file type for the corresponding channel.
  3. In parallel to the file extension, the associated key used to encrypt the file is entered in the NC kernel. Make the entry by using a write operation to a CNC object. This can be executed by the PLC.

Sequence

When an NC program is invoked, the NC kernel detects from the extension whether it is encrypted. If the NC program is detected as encrypted, the kernel decrypts it using the specified key. If the file extension is defined as not encrypted, the program is processed as a normal NC program.

Attention

attention

If the key is incorrect, the file is still decrypted. The NC kernel attempts to process the file and this then results in a syntax error.

CNC diagnosis

Entries of NC program parts in the CNC diagnostic data "diag_data.txt" are encrypted by a key from the controller manufacturer, i.e. they are not visible to users.

Flow chart

Encryption/decryption flow chart of an NC program
Encryption/decryption flow chart of an NC program

HMI process

Displaying an encrypted NC program
Displaying an encrypted NC program