How to check RAM size of Raspberry PLC

Discover how much RAM your Raspberry PLC has!
December 2, 2021 by
How to check RAM size of Raspberry PLC
Boot & Work Corp. S.L., Fernandez Queralt Martinez

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

Your Dynamic Snippet will be displayed here... This message is displayed because you did not provided both a filter and a template to use.

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.

Raspberry PLC - How to check RAM size of Raspberry PLC
This is what that number position means:

012002000X00  2 GB
012003000X00  4 GB
012004000X00  8 GB

As we can see in the picture, the Raspberry Pi has 8 GB, since the reference number is a 4.

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.

Although the file shows kilobytes (1 KB equals 1000 B), the values are expressed in kibibytes (1 KiB equals 1024 B).

So, if we run:

grep MemTotal /proc/meminfo

we will get the data that we want. 

By Software - How to check RAM size of Raspberry PLC

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
By software - How to identify my Raspberry Pi model - How to check RAM size of Raspberry PLC
Or by hardware, just check the Raspberry Pi board, and check what is the model of your device!
By hardware - How to identify my Raspberry Pi model - How to check RAM size of Raspberry PLC

​Search in our Blog

How to check RAM size of Raspberry PLC
Boot & Work Corp. S.L., Fernandez Queralt Martinez December 2, 2021
Share this post

Looking for your ideal Programmable Logic Controller?

Take a look at this product comparison with other industrial controllers Arduino-based. 

We are comparing inputs, outputs, communications and other features with the ones of the relevant brands.


Industrial PLC comparison >>>