Beckhoff-USA-Community / SPT-Libraries

MIT License
88 stars 21 forks source link

TwinCat Build 4026.9 doesn`t work with SPT ? #67

Closed kozarevr closed 3 months ago

kozarevr commented 3 months ago

Hallo there,

I'm trying to run SPT Framework on a TwinCat Build 4026.9. Hello World example brings me the following error messages:

Severity Code Description Project File Line Suppression State Error C0046: Identifier 'E_PMLCommand' not defined [spt base types, 3.2.10 (beckhoff automation llc)] Parameters_PackML_Base 7
Error Could not open library '#System_VisuElems'. (Reason: The placeholder library 'System_VisuElems' could not be resolved.) RetractorSPTProjectPLC RetractorSPTProjectPLC.Library Manager 0
Error Could not open library '#System_VisuElemsSpecialControls'. (Reason: The placeholder library 'System_VisuElemsSpecialControls' could not be resolved.) RetractorSPTProjectPLC RetractorSPTProjectPLC.Library Manager 0
Error Could not open library '#System_VisuElemsWinControls'. (Reason: The placeholder library 'System_VisuElemsWinControls' could not be resolved.) RetractorSPTProjectPLC RetractorSPTProjectPLC.Library Manager 0
Error Could not open library '#Tc3_PackML_V2'. (Reason: The library 'Tc3_PackML_V2, * (Beckhoff Automation GmbH)' has not been installed to the system.) RetractorSPTProjectPLC RetractorSPTProjectPLC.Library Manager 0
Error Could not open library '#System_VisuElemTextEditor'. (Reason: The placeholder library 'System_VisuElemTextEditor' could not be resolved.) RetractorSPTProjectPLC RetractorSPTProjectPLC.Library Manager 0
Error Could not open library '#System_VisuNativeControl'. (Reason: The placeholder library 'System_VisuNativeControl' could not be resolved.) RetractorSPTProjectPLC RetractorSPTProjectPLC.Library Manager 0
Error Could not open library '#system_visuinputs'. (Reason: The placeholder library 'system_visuinputs' could not be resolved.) RetractorSPTProjectPLC RetractorSPTProjectPLC.Library Manager 0
Error Could not open library '#System_VisuElemMeter'. (Reason: The placeholder library 'System_VisuElemMeter' could not be resolved.) RetractorSPTProjectPLC RetractorSPTProjectPLC.Library Manager 0
Error C0032: Cannot convert type 'Unknown type: 'E_PMLCommand.ePMLCommand_Abort'' to type 'Tc3_PackML_V2.E_PMLCommand' [spt base types, 3.2.10 (beckhoff automation llc)] Parameters_PackML_Base 7
Error C0077: Unknown type: 'Tc3_PackML_V2.E_PMLCommand' [spt base types, 3.2.10 (beckhoff automation llc)] Parameters_PackML_Base 7

Thanks for your help!

Regards, Rado

AB#5277

FlorianSiBeckhoff commented 3 months ago

image

By switching the Visualization Profile to 4026 you can resolve the issues. Further please check if all libraries are either installed on your system or available via Library repository image

Following this guide: https://beckhoff-usa-community.github.io/SPT-Libraries/Getting_Started/setup.html

kozarevr commented 2 months ago

Hello, I changed the Visualization Profile and now getting these errors.

image

Some more information. I am using Win 11 on a virtual box machine.

Any ideas ?

Thanks!