jinyistudio
Hi
Install OpenPLC into LinPAC, Is easy ?
http://www.icpdas.com/products/PAC/linpac-8000/introduction.htm

[jinyi_title_1p] 
Delphi, B4A, B4J, C#/Mono, Mitsubishi Q-PLC
[image]
Delphi, C#, Q-PLC, B4A, B4J, Raspberry PI2
Delphi, C#, Q-PLC, B4A, B4J, Raspberry PI2
[image]
Delphi, C#, Q-PLC, B4A, B4J, Raspberry PI2
Quote 1 0
thiagoralves
jinyistudio wrote:
Hi
Install OpenPLC into LinPAC, Is easy ?
http://www.icpdas.com/products/PAC/linpac-8000/introduction.htm
Probably not. LinPAC runs on a very old version of Linux (2.6). OpenPLC currently targets Linux 4.x. It might be possible to run, but many modifications will have to be made. Also, I couldn't find much documentation about LinPAC's hardware. Without knowing how to properly read or write to its I/O, OpenPLC running on it will be pretty much useless.
Quote 0 0
nmambre
I work as distributor and system integrtor for ICP-DAS in Venezuela.
We worked together with PDVSA (state oil company, similar to PetroBras) on an OEM version of LinPAC. The final version is using Beremiz (and has many similarities with OpenPLC). But like you said, a lot of changes were necesarry. The source is not open (yet). For I/O access ICP-DAS give us the libs we needed (after signing NDA). The newer LinPAC-9000 will target kernel 3.x. One of the reasons for using older kernels in automation is for the stability.
ICP-DAS is now using it's own software for PLC programming, Win-Graf, for the Windows based WinPAC's. Maybe in the future they'll make some for LinPAC's too.
Quote 0 0
thiagoralves
nmambre wrote:
The newer LinPAC-9000 will target kernel 3.x. One of the reasons for using older kernels in automation is for the stability.

This is a very common belief in the automation industry, that, in my thinking, is very dangerous. One of the biggest reasons for kernel updates is security fixes. If you are using an old kernel it means that you are using a kernel that might be tested for a long time and considered "stable", but also means that you are telling the world all the security flaws that are embedded into your product. A quick google search brought me this: https://www.cvedetails.com/vulnerability-list/vendor_id-33/product_id-47/version_id-13727/Linux-Linux-Kernel-2.6.0.html

These are all vulnerabilities in Linux Kernel 2.6, and it looks scary. It means basically that you have at least 4 different ways to remote control a LinPac8000 running Linux 2.6 without having root credentials. Anyone with access to this list and knowledge that the system is running on an old kernel can take the PAC down easily.
Quote 0 0
nmambre
Those are valid points. On the other hand, the controllers shouldn't be exposed to the net to begin with, and only through the corporate vpn. I was not directly involved with the programming, so I don't really know which implementations they used, but from what I've read, security was a priority on their list.
Quote 0 0