Hello, Im trying to use a AXC F 1152 with an AXL SE RS485 module to read the data of my acceleration sensor. For this i tried using the AXL_ComSerial library. When modifying and running the RS485 example it stops at iState 40 and I get the “Timeout while sending data” Error. The data format of the sensor is: 1 start bit, 8 databits, 1 parity bit and 1 stop bit. Baudrate is 230400. What am I doing wrong?
Here`s the modified part of the example machine:
10.PNG11.PNG12.PNGThanks in advance!
Hi Moraho,
thanks first of all for your question.
The message “timeout while sending data” is usually thrown if the functionblock can not communicate with the module. In that case the FB seems not to be able to reach the RS 485 SE module.
The communication is typically done via process data and the reason for the error can usually be found in that fact.
* Please check if the process datas are linked correctly function block / IO Module
* Make sure that the bus is running
Sometimes it is more easily to clarify such questions directly.
I’ll also come back to you by mail.
BR,
Frank