ravienrandez
I am planning to integrate a Mass Flow Controller with a Raspberry Pi using OpenPLC. The Mass Flow Controller utilizes RS485 digital communication, and I am trying to determine whether it would be better to use an RS485 to USB module or an RS485 to TTL module for this integration.
Has anyone here used these modules to facilitate RS485 communication with OpenPLC? If so, could you share your experiences and recommendations?
I appreciate the support!
 
Reply 0 0
thiagoralves
485 to TTL won’t work because OpenPLC does not control the flow pin. Use a 485 to USB adapter and it should work just fine
Reply 1 0
juanpmoron
@ravienrandez do you know if this controller have a Modbus protocol? I don't see that in manuals. Note that OpenPLC have Modbus protocol only, otherwise, you'll have to program the appropriate protocol. RS485 only refers to the physical layer.
Reply 1 0
ravienrandez
@ravienrandez do you know if this controller have a Modbus protocol? I don't see that in manuals. Note that OpenPLC have Modbus protocol only, otherwise, you'll have to program the appropriate protocol. RS485 only refers to the physical layer.
They are using the SHDLC Protocol (Custom protocal developed by Sensirion themselves). I did order some RS485 to USB adapters. I am going to give it a try as soon as I receive the adapters.
 
Reply 1 0
juanpmoron
Interesting. And how did you think about the implementation? Is there any way to integrate these libraries directly into OpenPLC?
Sorry but I have no experience with Raspberry Pi and OpenPLC. I have a lot of experience in industrial instrumentation and PLC, I am currently experimenting with OpenPLC on Arduino
Reply 1 0
thiagoralves
Integrating this protocol with OpenPLC won't be easy. I believe the best way to do it would be to write some Python script that can talk to the device and then implement the integration using PSM.
Reply 1 0
ravienrandez
Thank you for the feedbacks. I will update as soon as I test the modules.
Reply 0 0
Reply