<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to SysProcessExecuteCommand2 and CANopen Device</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/43764fe382/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/43764fe382/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/43764fe382/</id><updated>2024-06-24T08:11:29.741000Z</updated><subtitle>Recent posts to SysProcessExecuteCommand2 and CANopen Device</subtitle><entry><title>SysProcessExecuteCommand2 and CANopen Device</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/43764fe382/?limit=25#640e" rel="alternate"/><published>2024-06-24T08:11:29.741000Z</published><updated>2024-06-24T08:11:29.741000Z</updated><author><name>kuegerls</name><uri>https://forge.codesys.com/u/kuegerls/</uri></author><id>https://forge.codesys.com3a139df27c36bb85c9b7bd95e928dcf3224047e4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have now conducted some tests. The problem occurs when the Python script establishes an OPCUA connection, even if I only establish the connection without reading or writing any data.&lt;br/&gt;
Is there another way to exchange data between Python and CODESYS without having to put in a lot of effort?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SysProcessExecuteCommand2 and CANopen Device</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/43764fe382/?limit=25#f5d3" rel="alternate"/><published>2024-06-24T06:26:54.525000Z</published><updated>2024-06-24T06:26:54.525000Z</updated><author><name>kuegerls</name><uri>https://forge.codesys.com/u/kuegerls/</uri></author><id>https://forge.codesys.comff68b98705904a982192914e98302f65154f0ddc</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;4.10.0.0&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SysProcessExecuteCommand2 and CANopen Device</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/43764fe382/?limit=25#bfd1" rel="alternate"/><published>2024-06-24T06:26:51.385000Z</published><updated>2024-06-24T06:26:51.385000Z</updated><author><name>kuegerls</name><uri>https://forge.codesys.com/u/kuegerls/</uri></author><id>https://forge.codesys.com0fa89eafa6eb020db80eb7f0f62efa7be5932b4d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;4.10.0.0&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SysProcessExecuteCommand2 and CANopen Device</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/43764fe382/?limit=25#cd0e" rel="alternate"/><published>2024-06-21T18:13:13.731000Z</published><updated>2024-06-21T18:13:13.731000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com410a0771bf58783fb2e1ca107b7578bcf7ecd15c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;which runtime version is it? 4.11.0.0?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SysProcessExecuteCommand2 and CANopen Device</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/43764fe382/?limit=25#7a2e" rel="alternate"/><published>2024-06-21T07:33:45.517000Z</published><updated>2024-06-21T07:33:45.517000Z</updated><author><name>kuegerls</name><uri>https://forge.codesys.com/u/kuegerls/</uri></author><id>https://forge.codesys.comdac953369394a7d52dc5e285167c0f9cf665c1bb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am now executing the process in a separate task with lower priority, but unfortunately, the connection to the master is still interrupted.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SysProcessExecuteCommand2 and CANopen Device</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/43764fe382/?limit=25#a4e4" rel="alternate"/><published>2024-06-20T17:32:30.642000Z</published><updated>2024-06-20T17:32:30.642000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com56d6dbdb251c4f899d640759a414b47850b3b47d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;please call sysproccess in an own tafk with low prio&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SysProcessExecuteCommand2 and CANopen Device</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/43764fe382/?limit=25#ef59" rel="alternate"/><published>2024-06-20T12:45:54.052000Z</published><updated>2024-06-20T12:45:54.052000Z</updated><author><name>kuegerls</name><uri>https://forge.codesys.com/u/kuegerls/</uri></author><id>https://forge.codesys.com9938d7b5ae5d94f7b0647c2c21a4cbce5fa38648</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;CODESYS Control is running on my RevPi, and my system communicates over a CANbus with a master using the ConnectCan module (Slave - CANopen Device). The communication works perfectly fine so far. However, as soon as I call a Python script with "SysProcessExecuteCommand2" that creates a CSV file and executes without errors, the master does not adopt any changes to the Transmission Process Data Objects (TPDOs). I don't quite understand what one has to do with the other, and perhaps someone can help me with this.&lt;/p&gt;
&lt;p&gt;Here is my script call:&lt;br/&gt;
SysProcess.SysProcessExecuteCommand2(pszCommand:='python /home/pi/test.py',&lt;br/&gt;
                                                pszStdOut:=sCMDOutput,&lt;br/&gt;
                                                udiStdOutLen:= SIZEOF(sCMDOutput),&lt;br/&gt;
                                                pResult := ADR(eResult));&lt;/p&gt;
&lt;p&gt;Thank you in advance!&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br/&gt;
Stefan&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>