Comments (4)
Hi. Thanks for your question.
The RX error probably points to a physical problem with the bus, or a baud rate mismatch.
If I remember correctly, then the Raspberry Pi serial can't physically do 45450 Baud.
I would suggest to check the physical baud rate emitted by your Raspberry with an oscilloscope.
Can you reduce the coupler's baud rate to 19200?
from pyprofibus.
Hello,
Thank you for your swift reply. I really appreciate it. The pi suuports baudrate higher 45450, I have triend it with pyserial project before and it wokred fine. I think the problem might be from my transceiver. I read somewhere that raspberry pi serial supports only 3.3v but my transceiver is a TTL5v, maybe the pi is reading the data wrongly..... I am checking online on the right tranceiver to buy (for pi and for windows PC). Perhaps if you know of any or have usd any before, please i would be glad if you can suggest them to me.
The coupler only work 45450 baud as a coupler option.
to add. I am interested in the acyclic task, that would be after I get my coulpler working and read the PA device cyclically.
Regards.
from pyprofibus.
Yes, the Raspberry Pi supports baud rates higher than 45450. But it doesn't support 45450 exactly.
That was at least the case last time I tested it a couple of years ago with a Pi 2.
Things might have changed since, though.
from pyprofibus.
Thank you for this eye opener, I think you might be right on what you mentioned. I have tried to see if can get an oscilloscope to measure this signal baud but i cannot get any for now. seems my job for now is to be looking to find a way to work this with another device and also find an oscilloscope to read the rpi baud.
I will keep you posted once I get something.
Thank you so much for the response and tips.
from pyprofibus.
Related Issues (20)
- Terminating: GSD 'HIL_0B69.gsd': DPv1 User_Prm_Data is shorter than 3 bytes HOT 13
- CP5711: Is this CP supported? HOT 3
- Modules are sorted lexicographically, not numerically HOT 1
- Acyclic communcation support HOT 1
- Function code response error handling needs improvement HOT 3
- Siemens DP/AS-i LINK 20 support HOT 4
- Warning in GSD: User_Prm_Data truncated by User_Prm_Data_Len HOT 9
- Festo CPV Valve terminal HOT 40
- PC - FPGA interface HOT 2
- "input byte, "output byte" confusion HOT 6
- pyprofibus hardware documentation HOT 3
- TxDen pin Question HOT 4
- Help with WAGO 750-343 HOT 7
- Сonnection SIEMENS et200s HOT 4
- How to get to debugMsg to prompt them in Tkinker window HOT 1
- After slave was reset/reloaded timeout occurs and slave-object changes its state to STATE_INIT, but its fcb remained in previous state ( fcv=1 fcb=0/1 ) HOT 1
- Is there any communication function between the master station and the master station in this project? HOT 1
- GSD file reading error. HOT 1
- [Question] how to read data without write ? HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyprofibus.