<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to raspberry pi + USB</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/b8e6532abe/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/b8e6532abe/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/b8e6532abe/</id><updated>2023-04-23T19:53:43.530000Z</updated><subtitle>Recent posts to raspberry pi + USB</subtitle><entry><title>raspberry pi + USB</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/b8e6532abe/?limit=25#2fed/a728" rel="alternate"/><published>2023-04-23T19:53:43.530000Z</published><updated>2023-04-23T19:53:43.530000Z</updated><author><name>tomas111</name><uri>https://forge.codesys.com/u/tomas111/</uri></author><id>https://forge.codesys.com6e25d9e63af377a162f489d3314636919009d35e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;It is great! Now everything works! Thank you for your help!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>raspberry pi + USB</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/b8e6532abe/?limit=25#2fed" rel="alternate"/><published>2023-04-23T17:37:51.011000Z</published><updated>2023-04-23T17:37:51.011000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com59187050fe526aab699eabf478b890db9f3ec6d0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;please use for Com1:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[SysCom]&lt;/span&gt; &lt;br/&gt;
Linux.Devicefile.1=/dev/ttyUSB0&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>raspberry pi + USB</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/b8e6532abe/?limit=25#185c" rel="alternate"/><published>2023-04-23T16:36:45.995000Z</published><updated>2023-04-23T16:36:45.995000Z</updated><author><name>tomas111</name><uri>https://forge.codesys.com/u/tomas111/</uri></author><id>https://forge.codesys.come8e41b1065fbb156c8744cda6e32d376d5714c11</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;If I choose:&lt;br/&gt;
(udiParameterId := COM.CAA_Parameter_Constants.udiPort, udiValue := 0),&lt;br/&gt;
I get an error: WRONG_PARAMETER (5005)&lt;br/&gt;
Or&lt;br/&gt;
(udiParameterId := COM.CAA_Parameter_Constants.udiPort, udiValue := 1),&lt;br/&gt;
I get an error: ERROR_UNKNOWN (5004)&lt;br/&gt;
Which port should be opened? I think the problem is in the port number. Right I think?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>raspberry pi + USB</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/b8e6532abe/?limit=25#f535/fc3e" rel="alternate"/><published>2023-04-21T07:24:07.541000Z</published><updated>2023-04-21T07:24:07.541000Z</updated><author><name>tomas111</name><uri>https://forge.codesys.com/u/tomas111/</uri></author><id>https://forge.codesys.comb53414451d1043f3fadfb078f7d70e9fa7d9496e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Could it be a file permission issue? Does the CODESYSControl_User file need sudo rights?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>raspberry pi + USB</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/b8e6532abe/?limit=25#6400" rel="alternate"/><published>2023-04-13T14:30:44.093000Z</published><updated>2023-04-13T14:30:44.093000Z</updated><author><name>tomas111</name><uri>https://forge.codesys.com/u/tomas111/</uri></author><id>https://forge.codesys.com6fa422b2736bb517cb6f8ca9c195ca75fa4ff929</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;cuteCom sees the device and transmits the data.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>raspberry pi + USB</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/b8e6532abe/?limit=25#f010" rel="alternate"/><published>2023-04-13T14:26:36.188000Z</published><updated>2023-04-13T14:26:36.188000Z</updated><author><name>tomas111</name><uri>https://forge.codesys.com/u/tomas111/</uri></author><id>https://forge.codesys.com657d7023cb894a2dc4662f3f27077971a63a7c56</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Deleted all settings, made such settings for com port '1', error ERROR_UNKNOWN 5004.&lt;/p&gt;
&lt;p&gt;MyComOpen : COM.Open;&lt;br/&gt;
    aParamsB115200 : ARRAY &lt;span&gt;[1..7]&lt;/span&gt; OF COM.PARAMETER := &lt;a class="" href="../(udiParameterId%20:=%20COM.CAA_Parameter_Constants.udiPort,%20%20%20%20%20%20%20%20%20%20%20%20%20udiValue%20:=%201),
%20%20%20%20%20%20%20%20(udiParameterId%20:=%20COM.CAA_Parameter_Constants.udiBaudrate,%20%20%20%20%20%20%20%20%20udiValue%20:=%20115200),
%20%20%20%20%20%20%20%20(udiParameterId%20:=%20COM.CAA_Parameter_Constants.udiParity,%20%20%20%20%20%20%20%20%20%20%20udiValue%20:=%20COM.PARITY.NONE),
%20%20%20%20%20%20%20%20(udiParameterId%20:=%20COM.CAA_Parameter_Constants.udiStopBits,%20%20%20%20%20%20%20%20%20udiValue%20:=%20COM.STOPBIT.ONESTOPBIT),
%20%20%20%20%20%20%20%20(udiParameterId%20:=%20COM.CAA_Parameter_Constants.udiTimeout,%20%20%20%20%20%20%20%20%20%20udiValue%20:=%200),
%20%20%20%20%20%20%20%20(udiParameterId%20:=%20COM.CAA_Parameter_Constants.udiByteSize,%20%20%20%20%20%20%20%20%20udiValue%20:=%208),
%20%20%20%20%20%20%20%20(udiParameterId%20:=%20COM.CAA_Parameter_Constants.udiBinary,%20%20%20%20%20%20%20%20%20%20%20udiValue%20:=%201)"&gt;&lt;br/&gt;
        (udiParameterId := COM.CAA_Parameter_Constants.udiPort,             udiValue := 1),&lt;br/&gt;
        (udiParameterId := COM.CAA_Parameter_Constants.udiBaudrate,         udiValue := 115200),&lt;br/&gt;
        (udiParameterId := COM.CAA_Parameter_Constants.udiParity,           udiValue := COM.PARITY.NONE),&lt;br/&gt;
        (udiParameterId := COM.CAA_Parameter_Constants.udiStopBits,         udiValue := COM.STOPBIT.ONESTOPBIT),&lt;br/&gt;
        (udiParameterId := COM.CAA_Parameter_Constants.udiTimeout,          udiValue := 0),&lt;br/&gt;
        (udiParameterId := COM.CAA_Parameter_Constants.udiByteSize,         udiValue := 8),&lt;br/&gt;
        (udiParameterId := COM.CAA_Parameter_Constants.udiBinary,           udiValue := 1)&lt;br/&gt;
&lt;/a&gt;;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>raspberry pi + USB</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/b8e6532abe/?limit=25#f535" rel="alternate"/><published>2023-04-13T14:00:29.679000Z</published><updated>2023-04-13T14:00:29.679000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com6a9d13c8dadd566601774e0ec13f4f19fe5bf3b4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;remove the  &lt;span&gt;[CmpBlkDrvCom]&lt;/span&gt; section - this is not needed if you just want to use serial comunication in your iec application..&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>raspberry pi + USB</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/b8e6532abe/?limit=25#71e5" rel="alternate"/><published>2023-04-13T09:05:25.789000Z</published><updated>2023-04-13T09:05:25.789000Z</updated><author><name>tomas111</name><uri>https://forge.codesys.com/u/tomas111/</uri></author><id>https://forge.codesys.comb211ab7f9f254ddbf34e748eff35fc142531a979</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;good afternoon, I edited the settings file, but when I open it, an error pops up, maybe I'm not opening the port correctly? Attached are files with settings.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>raspberry pi + USB</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/b8e6532abe/?limit=25#ad67" rel="alternate"/><published>2023-03-31T13:00:27.979000Z</published><updated>2023-03-31T13:00:27.979000Z</updated><author><name>tomas111</name><uri>https://forge.codesys.com/u/tomas111/</uri></author><id>https://forge.codesys.comf2888731ce6dd675fd6124c20ce6d187d58de51c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have a raspberry pi 4 with a USB cable connected to it (USB to RS232 converter). Can I somehow use it and make data exchange?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>