Reputation: 11
I need to search & organize information about What is PLC4X, differences btw PLC4X & legacy system(ex:PLC protocol - gateway - user application), but most of what I have found are about how to use API. I want to figure out:
If you answer my questions using upper images, I can understand more easily.
Upvotes: 0
Views: 415
Reputation: 2375
I am the initiator of the Apache PLC4X project, so I think I might be qualified to help you here.
PLC4X itself is not a Gateway, but you can use it to build one. Think of it as a universal driver to communicate with various PLCs using all sorts of protocols. We have implemented an API that defines a number of universal operations:
With this you can implement a program that is independent of the protocol used in the end. This allows to easily communicate with all sorts of different hardware and it allows to migrate existing hardware without having to change the software.
If you are looking for something that 100% implements all of the features of a given PLCs native protocol, PLC4X is also not what you are looking for.
Right now PLC4X is best supported on Java. Here generally all you need is a Java 8 or newer VM. If you want to use our passive-mode drivers and possibly the future fieldbus drivers such as ProfiNet and EtherCat you also will need libpcap.
Right now we're working hard on providing the drivers we have in other languages too:
Regarding your question 3, I am a little unsure as both are completely different things. If you are solely in a world of legacy SCADA systems and compatible PLCs, I don't really see a point of using PLC4X at all. PLC4X excels, when you want to introduce modern IT systems into a system containing legacy PLCs. The latest generation PLCs some times already come with MQTT support, in this case I don't see an advantage of using PLC4X either. Unfortunately for the next 10-20 years we will have to live with a lot of machinery on the shopfloor, which are considered "legacy", using legacy protocols.
If you now want to do state off the art machine learning, predictive-maintenance, golden batch analysis, ... (all the cool Industry 4.0 buzzwords), PLC4X is currently probably your best and cheapest option to bridge the gap between this legacy PLC world and modern IT systems.
I hope I managed to answer your questions.
Upvotes: 4