OpenPLC MEGA-BAS

TimP

New member
I am working on getting a MEGA-BAS card to work in OpenPLC. The program compiles fine in the Editor but when I compile in the Runtime I get :

Compiling for Raspberry Pi
Generating object files...
In file included from Config0.c:10:
POUS.h:26:3: error: ‘SM_BAS’ does not name a type
26 | SM_BAS SM_BAS0;
| ^~~~~~
Error compiling C files
Compilation finished with errors!

The Editor and Runtime are both the latest versions. It looks to me like the card is defined in the Editor but not in the Runtime??
I'm new to OpenPLC and I may be just missing something?

Are all the Sequent cards supported in OpenPLC now?
It's unclear from anything I find on Sequent's site or OpenPLC's site.

Thanks,
 

alexburcea

Moderator
Staff member
Hi,

The Building Automation card is integrated in OpenPLC V3.
You have to select the hardware layer to Sequent HAT

OpenPLC_hardware_sel.png
 

alexburcea

Moderator
Staff member
The card is supported in runtime, I did the integration and test it (I am also new in OpenPLC). It is unclear why is not working on your setup.
Passible solutions:
1) Give me an archive with your project (editor) at aburcea@sequentmicrosystems.com to test it on my setup
2) Ask the questions on a OpenPLC forum

Alex.
 

TimP

New member
Thanks for the quick response.
I just emailed you a zip of the folder.

FYI:
The board is a RPi 3 Model B Plus Rev 1.3 running Bulleye Version 11 64 bit.

Tim
 

TimP

New member
Reloading the RPi with Bulleye Version 11 32 bit resolved the issue.
I'm not sure whether the 32 bit OS was the issue or just a bad install.
 
Top