Introduction
When we select an industrial Raspberry PLC to buy, we are clear about how much memory we want it. But as time passes, we can forget and it can be useful, almost essential, to know how to identify how many GB of our RAM is, and how much free space we have.
Latest Posts
By hardware
In this blog post, we will see two ways to check the RAM size of your Raspberry Pi PLC controller. By hardware, we will see an identifier that will tell us how to check how many GB your device has.
Raspberry Pi PLC
In the Raspberry Pi based PLC, we can check how many GB has the RAM memory of the Raspberry Pi. We have to check the reference, which is right above the LED panel of the open source PLC Raspberry Pi enclosure, as we can see in the picture below.
This is what that number position means:
012002000X00 2 GB
012003000X00 4 GB
012004000X00 8 GB
By Software
By software, it is also possible to check how much RAM has your Raspberry Pi industrial PLC.
If you run the following command:
cat/proc/meminfo
You can get a large amount of valuable information about the system's RAM usage.
So, if we run:
grep MemTotal /proc/meminfo
we will get the data that we want.
Now, we just have to convert this value expressed in KiB to GB, and we will check that our Raspberry Pi model has 8 GB RAM memory:
8.08429568 GB
How to identify my Raspberry Pi model
Finally, either run the following command in order to identify the Raspberry Pi model of your industrial Raspberry Pi PLC. By software:
cat /proc/cpuinfo | grep Model
How to check RAM size of Raspberry PLC