- Visit theOracle Java Downloadspage.
- Download the specified JRE version(JRE 32-bit V1.7).
- Install the JREand restart your computer.
Simatic Target cannot create shared object file (SO) for Siemens PLC ODK.
12 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Dear all, I would like to test the tutorial provided by the Siemens and Matlab available from link about SIMATIC Target 1500s: Calling Simulink Models. I have followed the procedure. However, everytime I try to build the system I got two errors.
1st appears only when Simulink is opened for the first time and I try to build the system:
An incompatible version of Java Runtime Environment (JRE) could be installed.
Please prove, if the installed Java Runtime Environment (JRE) and its architecture (x86, x64)
is compatible with the selected ODK 1500S Version.
ODK 1500S V2.5 documentation describes, how to check the functionality of the ODK 1500S installation.
The second time and on I try to build the system I got the following error:
Model Action Rebuild Reason
==========================================================================
PID_Controller Failed Code generation information file does not exist.
0 of 1 models built (0 models already up to date)
Build duration: 0h 0m 27.095s
Error:The call to Simatic_Target_V6_0_grt_make_rtw_hook, during the after_make hook generated the following error:
An error occurred while creating the shared object file
The build process will terminate as a result.
Caused by:
An error occurred while creating the shared object file
I don't know if they are related or not.
I use the following versions of programs:
Windows 10 Pro
Matlab 2023a
Siemens TIA V18
PLCSim Advance V6.0
Simatic Target V6.0 SP1
Simatic ODK 1500S V2.5 SP4
I have also tried the never versions of Matlab and TIA, but I get the same sequence of errors.
Matlab 2023b
Siemens TIA V19
I already tried to start Matlab as an Administrator and it didn't help.
All my files are synchronised with the OneDrive, so I tried the following:
Disabled synchronisation.
Saved Simulink file on the directory that is not synchronised to the cloud.
Non of it worked.
If you have any more suggestions I would be more than thankful!
BR,
Timi
0 comentarios
Respuestas (1)
Satwik
el 31 de Jul. de 2024
Editada: Satwik
el 31 de Jul. de 2024
Hi,
Based on your description, I understand that you are encountering an error when trying to build the system with Simulink for the SIMATIC Target 1500S. The error indicates that there may be an incompatible version of the Java Runtime Environment (JRE) installed. I am assuming that you have tried using newer versions of MATLAB and TIA but have not used the required version of JRE. The error you are experiencing is due to the absence of the required version of the Java Runtime Environment (JRE). This requirement is explicitly stated in theProgramming and Operating Manual of the Simatic ODK 1500S V2.5 SP4(Page 21). I have attached a screenshot below for your reference. It specifies that Java Runtime 32-bit V1.7 is required.
To know which version of JRE is present on your system, run the following command in your command prompt:
> java -version
The output will show the JRE version and architecture.
To download the required version of JRE, follow these steps:
Following these steps should help to resolve the issue related to the incompatible JRE version.
0 comentarios
Ver también
Categorías
Más información sobre Sources en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!