<div class="gmail_quote"><div>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 8-character barcode, the module does not transfer all the characters in one go, it takes a few round to transfer all the characters. Why is that? The module has 22 data-in. Did I do something wrong? Any other flag need to check or assign to make it reading faster? The module is generally in default settings (Baud rate 9600, 1N8). Module serial number: 1610 0101<br>
<br>Thanks in advance.<br><br></div></div>Jason Xu<br><br>