<div class="gmail_quote"><div>Hi Florian and support team :<br><br>I Just find out the reading slow problem is due to the default Baud rate (9600), which works out about 1 ms per character transmitting speed. Consider 2 scan cycles to achieve one read, the reading speed (collecting one character in every 2 ms) is correct. In order to have faster reading, higher baud rate has to be set. <br>
<br>I'd like to know how to change the default settings (Baud rate, etc) without using TwinCAT. From EL6002 document, it seems that 8000:11 is the entry index to access. However any detail on how to do would be very helpful. <br>
<br>Thanks in advance.<br><br>Jason<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hi Florian and support team :<br>
<br>
I've got a Beckhoff Serial-port module EL6002, and want to use it under CoE<br>
protocol with 1000hz scan rate in RTAI (Master: ethercat-1.4.0-rc3).<br>
<br>
I manage to write a simple c program by the following logic:<br>
<br>
(1) Check 6000:02 to see if "Receive request" is true.<br>
(2) if true, get data_length<br>
(3) Read data from 6000:17 to 6000:data_length<br>
(4) Set 7000:02 (Receive accepted) to 1,<br>
(5) continue to read until "receive request" is false<br>
(6) Set "receive accepted" to 0.<br>
<br>
I found out it takes about 2 ms to read one character. For a simple<br>
8-character barcode, the module does not transfer all the characters in one<br>
go, it takes a few round to transfer all the characters. Why is that? The<br>
module has 22 data-in. Did I do something wrong? Any other flag need to<br>
check or assign to make it reading faster? The module is generally in<br>
default settings (Baud rate 9600, 1N8). Module serial number: 1610 0101<br>
<br>
Thanks in advance.<br>
<br>
Jason Xu</blockquote></div><br>