Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/br-automation-com/mappDatabase-Demo
Sample project for a basic recipe system using mappDatabase and mappView
https://github.com/br-automation-com/mappDatabase-Demo
database mapp plc
Last synced: 7 days ago
JSON representation
Sample project for a basic recipe system using mappDatabase and mappView
- Host: GitHub
- URL: https://github.com/br-automation-com/mappDatabase-Demo
- Owner: br-automation-com
- License: mit
- Created: 2021-08-23T13:10:46.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-16T06:03:56.000Z (about 1 year ago)
- Last Synced: 2024-08-02T14:05:08.578Z (3 months ago)
- Topics: database, mapp, plc
- Language: Standard ML
- Homepage:
- Size: 5.15 MB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
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-com/mappDatabase-Demo/wiki) for a detailed guide how to setup different SQL servers.![](https://github.com/br-automation-com/mappDatabase-Demo/blob/main/Wiki/screenshot.png)
## 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-com/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.83Recommended 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