PLUS+1 User Forum

PLUS+1 Tools => PLUS+1 GUIDE => Topic started by: ElecHydEng on December 10, 2022, 10:23:02 AM

Title: PLC Code Compilation Failure {Function block instance 'GetSPNName' not defined
Post by: ElecHydEng on December 10, 2022, 10:23:02 AM
Gents,

Can someone please help with the compilation Failure am getting relating to Fault Error446:1077.

*** ERROR 446:1077 *** [PLC2C] PLC Code Compilation Failure {Function block instance 'GetSPNName' is not defined, and there is no function by that name.}
Line: [ 29 ] in implementation of PrintSPNName



not sure what going on, i have pretty much deleted the whole program and tried to compile again its still gives the same error.


can someone help please happy to pay for the service.


Regards,
H.A
Title: Re: PLC Code Compilation Failure {Function block instance 'GetSPNName' not defined
Post by: Tor on December 12, 2022, 08:02:44 AM
Hello ElecHydEng

A guess is that you have some PLC Units left in the project manager.  See image.

If you know you are not using any them, you can delete it all. 
DO A BACKUP BEFORE DELETING ANYTHING.  Just in case.

You might also delete the C Code part. I missed marking it.


I hope it helps.