Posted 1 Mar 2017 Hi everyone, Can any one share me the sample source code for melsec(MC) protocol, as I am working on this protocol. Thank you in advance Share this post Link to post Share on other sites
Posted 1 Mar 2017 It might help to state what language you want the "sample" source code. Share this post Link to post Share on other sites
Posted 1 Mar 2017 Hi Mark Thank you for your reply Currently I am working on MC protocol Development in C language. If possible share the C source code otherwise share any language code that you have. Thank you Share this post Link to post Share on other sites
Posted 1 Mar 2017 If you search the download section you can find the spec for MC Protocol: http://forums.mrplc.com/index.php?/files/file/1086-q_l-melsec-comms-mc-sh080008lpdf/ Share this post Link to post Share on other sites
Posted 1 Mar 2017 3 hours ago, shivakumar_M said: If possible share the C source code otherwise share any language code that you have. Supporting a protocol is not accomplished with a few lines of code. What specifically are you seeking? How to format a request? How to parse a response? How to address? How to??? Share this post Link to post Share on other sites
Posted 2 Mar 2017 Hi Mark I am suppose to support all 5 message format and all 4 frames, please suggest me in this. Thank you Share this post Link to post Share on other sites
Posted 2 Mar 2017 Again. As I mentioned in my post the full spec is in the manual. What more do you need? Share this post Link to post Share on other sites
Posted 2 Mar 2017 OK, I think I understand. From your questions, you do not want help with some part of the protocol, you want the source code for a full implementation of the protocol. Not sure why it took me so long to figure that out. I cannot give you our full implementation. I could provide help with specific protocol questions. I have never seen a full implementation of this protocol published. But, I never searched for one. Share this post Link to post Share on other sites
Posted 3 Mar 2017 They sell a product called MX-Component which is built libraries for the communications you can use in your programs. You would have to buy that from Mitsubishi. Share this post Link to post Share on other sites
Posted 3 Mar 2017 yeah Mark you are correct , I need full implementation code, It's okay even it is not possible to publish over here. Thank you for your valuable time Share this post Link to post Share on other sites