hinteor
I rummaged the entire site. where can i find a normal modbus example? I would like my raspberry pi to simply transfer the state of its pins to scada. I am a newcomer. please can you send me an example of how to do this and how to configure it in open scada?
Quote 0 0
thiagoralves
OpenPLC behaves like any other PLC. Your Scada HMI makes the modbus requests for the pins it wants to read/write and OpenPLC will reply accordingly. If you want to know how to use openScada, you will have to talk to the openScada guys. If you want to use ScadaBR, there is some information on this forum, but basically once you have ScadaBR installed, you go to Data Sources on the top menu, add a new Data Source using the protocol Modbus IP on the drop down menu, fill out the configuration for the PLC (IP address, TCP keep-alive, polling period of 500 milliseconds) and then click on the floppy drive to save. Then, on the bottom of the page, you will see an area where you can add points. Each point is a pin or register on the Raspberry Pi that you import to ScadaBR. Then, you just add the points you want to import. The following table will help you correlate OpenPLC points with Modbus points: http://www.openplcproject.com/scada
Quote 0 0