Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kutukvpavel/mechatrolinkparser
Mechatrolink-I/II parser (from phy to application layer)
https://github.com/kutukvpavel/mechatrolinkparser
mechatrolink parser protocol servodrive yaskawa
Last synced: 23 days ago
JSON representation
Mechatrolink-I/II parser (from phy to application layer)
- Host: GitHub
- URL: https://github.com/kutukvpavel/mechatrolinkparser
- Owner: kutukvpavel
- Created: 2020-05-04T21:25:38.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-10-09T18:13:28.000Z (over 4 years ago)
- Last Synced: 2024-11-11T21:33:37.956Z (3 months ago)
- Topics: mechatrolink, parser, protocol, servodrive, yaskawa
- Language: C#
- Homepage:
- Size: 182 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MechatrolinkParser
A parser for Mechatrolink-I/II commucation snapshots.
Done: essential stuff, i.e. text import, Manchester decoder, HDLC parser and data structures, also some basic commandline interface. Command and field database engine, FCS calculator (uses HashFunction.CRC NuGet package).
Encoder (I presume Yaskawa encoders use CC-Link which turns out to be very similar to mechatrolink) support is experimental, the protocol has not been reversed completely yet, though this repo contains some useful info: https://github.com/rene-dev/stmbl/issues/58
Todo: visualisation (probably use my LogicSnifferSTM plotter), improve command database. **P.S. Full Mechatrolink-II system manual is exclusively available on CSDN.net (costs 22 C-points, though I don't know what they even are). Help appreciated.**
Supported logic analyzer export formats: Kingst .txt (similar to CSV), LogicSnifferSTM (colon-separated). Logic analyzer has to be connected through a receiver assembly to the mechatrolink bus, see https://electronics.stackexchange.com/questions/451498/reverse-engineering-rs485-mechatrolink-ii-front-end-design . In short, a 1:1 350uH transformer + АМ26LS32-compatible RS485 receiver.
Command/field database was created using generic manuals (search "MECHATROLINK-I-II" on Baidu and look for Command Manuals ("for stepper motors" etc)). Therefore, beware that your hardware may use slightly different commandset.
Output example:
![new example](https://i.imgur.com/4wn0BKe.png)