https://github.com/br-automation-community/mappDatabase-Demo
Sample project for a basic recipe system using mappDatabase and mappView
https://github.com/br-automation-community/mappDatabase-Demo
database mapp plc
Last synced: 5 months ago
JSON representation
Sample project for a basic recipe system using mappDatabase and mappView
- Host: GitHub
- URL: https://github.com/br-automation-community/mappDatabase-Demo
- Owner: br-automation-community
- License: mit
- Created: 2025-07-01T12:10:48.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-14T08:08:26.000Z (12 months ago)
- Last Synced: 2026-01-24T03:57:53.590Z (6 months ago)
- Topics: database, mapp, plc
- Language: Standard ML
- Size: 4.38 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-b-r - mappDatabase - Sample project for a basic recipe system using mappDatabase and mappView (Infrastructure / based on mapp Services)
README
## Table of Contents
* [Introduction](#Introduction)
* [Python script changes](#Script)
* [Requirements](#Requirements)
* [Revision History](#Revision-History)
## Introduction
This is a demo application for a simple recipe managment with mappDatabase. It is not and official B&R product. See the [WIKI](https://github.com/br-automation-community/mappDatabase-Demo/wiki) for a detailed guide how to setup different SQL servers.

## Python script changes
This sample also includes a customized version of the Python script used to connect to the database server. The script is fully compatible with the B&R script. See Automation Studio help (e046127f-e239-4f17-bd17-3ae889dac782) and the [WIKI](https://github.com/br-automation-community/mappDatabase-Demo/wiki) for more details how to use the script.
#### The script changes include:
- Added more and detailed error messages
- Print all SQL queries and server response details
- Trim data type string when reading from database
- Change MsSQL database provider to 'ODBC Driver 17 for SQL Server' to support Linux systems
- Removed dependency from MySql driver for data conversion. It is no longer required to install MySQL driver when using MsSQL.
## Requirements (current used versions)
* Automation Studio 4.9
* mapp 5.14
* Automation Runtime B4.83
Recommended task class is #8 with a 10ms cycle time. For the nettime and axis tasks use #1
## Revision History
You can find details in the project in "revision.txt"
#### Version 1.2 (10.02.2023)
- PythonScript: Support for MS SQL data type decimal
#### Version 1.1 (05.01.2022)
- Added script server ping
- PLC: Update to runtime E4.90 and mapp 5.16
- PythonScript: Added PLC raw data to debug output
#### Version 1.0
- First public release