Vijolica555
Member
Hello guys!
If anybody has any experience with serial communication in TwinCAT with Beckhoffs PLCs, would be really helpful.
I Have:
- CX2020 PLC
- EL6021 Terminal
- Vibration sensor with requirements:
- RS485A and B cable connected to TxD+ and TxD-
- enabled half duplex
- 115200 baud, 1 stop bit 8 data bits, no parity
In that case I changed next parameters at EL6021 - > CoE:
- 80000:06 TRUE
- 4073 115200 Baud
- 8000:11 115200 Baud
- 8000:1B 115200 Baud
- 4075:01 TRUE
I made Fast Task because baud rate is high:
https://infosys.beckhoff.com/englis...ml/tc3_functions_6.htm&id=3549058403083650480
But my communication is not working when I send a test string I do not receive expected string..
Anyone has any idea what to do? What I am missing? What should be additionally done?
I also changed RS485A and B cables between TxD+ and - in case they are changed..
If anybody has any experience with serial communication in TwinCAT with Beckhoffs PLCs, would be really helpful.
I Have:
- CX2020 PLC
- EL6021 Terminal
- Vibration sensor with requirements:
- RS485A and B cable connected to TxD+ and TxD-
- enabled half duplex
- 115200 baud, 1 stop bit 8 data bits, no parity
In that case I changed next parameters at EL6021 - > CoE:
- 80000:06 TRUE
- 4073 115200 Baud
- 8000:11 115200 Baud
- 8000:1B 115200 Baud
- 4075:01 TRUE
I made Fast Task because baud rate is high:
https://infosys.beckhoff.com/englis...ml/tc3_functions_6.htm&id=3549058403083650480
But my communication is not working when I send a test string I do not receive expected string..
Anyone has any idea what to do? What I am missing? What should be additionally done?
I also changed RS485A and B cables between TxD+ and - in case they are changed..