Return Codes

Loading a module with the TwinCAT Loader can fail for various reasons.

Return codes under Windows

Hex

Description

0xC1

File is corrupted; PE file checksum error.

0x241

Signing error: TwinCAT user certificate does not match the file hash.

0x4FB

Signing error: File not signed.

0x1772

File is encrypted, but cannot be decoded with known keys.

Return codes under TwinCAT/BSD

Hex

Description

0xC0000001

0xC0000004

0xC000007B

0xC0000173

0xC0000221

File is corrupted; PE file checksum error.

0xC0000102

0xC0000424

Signing error: TwinCAT user certificate does not match the file hash.

0x4FB

Signing error: File not signed.

0xC0000428

Signing error: Used certificate not countersigned. Test mode necessary.

0xC0000603

Signing error: Certificate is not trusted. Add necessary (see "tcinsertcert")

0xC0000385

Signing error: File not signed. Check the settings in Engineering.

0xC0000293

File is encrypted, but cannot be decoded with known keys.

0xC0000225

File not found.