<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to CANBus Example, reply on remote frame request</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/6686f6d68b/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/6686f6d68b/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/6686f6d68b/</id><updated>2020-02-27T15:07:24.215000Z</updated><subtitle>Recent posts to CANBus Example, reply on remote frame request</subtitle><entry><title>CANBus Example, reply on remote frame request</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/6686f6d68b/?limit=25#3bf9" rel="alternate"/><published>2020-02-27T15:07:24.215000Z</published><updated>2020-02-27T15:07:24.215000Z</updated><author><name>janjo</name><uri>https://forge.codesys.com/u/janjo/</uri></author><id>https://forge.codesys.comddbfb3bc60bad937d48c4ab6f48964fc1153c46f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for your answer and support, unfortunately it is not enough in my case. I need to set up the CAN hardware to respond automatically to a remote frame request. To let the software detect and react is too slowly. This requirement is beyond my control.&lt;/p&gt;
&lt;p&gt;Best Regards&lt;/p&gt;
&lt;p&gt;Jan-Olof&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CANBus Example, reply on remote frame request</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/6686f6d68b/?limit=25#26c4" rel="alternate"/><published>2020-02-27T15:07:23.490000Z</published><updated>2020-02-27T15:07:23.490000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com0bf336f6f1a47d9de59793d666cccdd0ed8b49c4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;hi,&lt;br/&gt;
you need to setup the receiver for RTR receiving Messages :&lt;br/&gt;
maskConfig                 : CAN.RECEIVER_MASK := (&lt;br/&gt;
                            dwIdValue:= 0, &lt;br/&gt;
                            dwIdMask:= 0, &lt;br/&gt;
                            xRTRValue:= FALSE, &lt;br/&gt;
                            xRTRMask:= FALSE, &lt;br/&gt;
                            x29BitIdValue:= FALSE, &lt;br/&gt;
                            x29BitIdMask:= FALSE, &lt;br/&gt;
                            xTransmitValue:= FALSE, &lt;br/&gt;
                            xTransmitMask:= TRUE, &lt;br/&gt;
xAlwaysNewest:= FALSE);&lt;/p&gt;
&lt;p&gt;either xRTRValue = FALSE and xRTRMask = FALSE  //receive all  RTR and none RTRs&lt;br/&gt;
or xRTRValue = TRUE und XRTRMask = TRUE  //receive RTR only&lt;/p&gt;
&lt;p&gt;and then in 'ProcessMessage' check if it is a RTR and react on that.&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
E.Schwellinger&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CANBus Example, reply on remote frame request</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/6686f6d68b/?limit=25#a1b0" rel="alternate"/><published>2020-02-27T15:07:21.616000Z</published><updated>2020-02-27T15:07:21.616000Z</updated><author><name>janjo</name><uri>https://forge.codesys.com/u/janjo/</uri></author><id>https://forge.codesys.comb3f5daa10eaeb810815a96f3ebcdf10315e28a37</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;First I want to write that the CANBus Example have been very helpful. &lt;/p&gt;
&lt;p&gt;But I have not found out how to make an automatic reply on a remote frame request.&lt;/p&gt;
&lt;p&gt;All help is appreciated.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Jan-Olof Johansson&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>