{"id":13568529,"url":"https://github.com/br-automation-com/mappDatabase-Demo","last_synced_at":"2025-04-04T04:31:21.232Z","repository":{"id":43670100,"uuid":"399108121","full_name":"br-automation-com/mappDatabase-Demo","owner":"br-automation-com","description":"Sample project for a basic recipe system using mappDatabase and mappView","archived":false,"fork":false,"pushed_at":"2023-10-16T06:03:56.000Z","size":5395,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-11-05T00:35:53.748Z","etag":null,"topics":["database","mapp","plc"],"latest_commit_sha":null,"homepage":"","language":"Standard ML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/br-automation-com.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-08-23T13:10:46.000Z","updated_at":"2022-04-07T14:12:37.000Z","dependencies_parsed_at":"2024-01-14T03:47:31.482Z","dependency_job_id":"ada6513a-25b3-4f87-a45d-565578288431","html_url":"https://github.com/br-automation-com/mappDatabase-Demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/br-automation-com%2FmappDatabase-Demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/br-automation-com%2FmappDatabase-Demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/br-automation-com%2FmappDatabase-Demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/br-automation-com%2FmappDatabase-Demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/br-automation-com","download_url":"https://codeload.github.com/br-automation-com/mappDatabase-Demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247123072,"owners_count":20887259,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","mapp","plc"],"created_at":"2024-08-01T14:00:27.639Z","updated_at":"2025-04-04T04:31:16.211Z","avatar_url":"https://github.com/br-automation-com.png","language":"Standard ML","funding_links":[],"categories":["Infrastructure"],"sub_categories":["based on mapp Services"],"readme":"## Table of Contents\r\n* [Introduction](#Introduction)\r\n* [Python script changes](#Script)\r\n* [Requirements](#Requirements)\r\n* [Revision History](#Revision-History)\r\n\r\n\u003ca name=\"Introduction\"\u003e\u003c/a\u003e\r\n## Introduction\r\nThis is a demo application for a simple recipe managment with mappDatabase. It is not and official B\u0026R product. See the [WIKI](https://github.com/br-automation-com/mappDatabase-Demo/wiki) for a detailed guide how to setup different SQL servers. \r\n\r\n![](https://github.com/br-automation-com/mappDatabase-Demo/blob/main/Wiki/screenshot.png)\r\n\r\n\u003ca name=\"Script\"\u003e\u003c/a\u003e\r\n## Python script changes\r\nThis 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\u0026R 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.\r\n\r\n#### The script changes include:\r\n- Added more and detailed error messages\r\n- Print all SQL queries and server response details\r\n- Trim data type string when reading from database\r\n- Change MsSQL database provider to 'ODBC Driver 17 for SQL Server' to support Linux systems\r\n- Removed dependency from MySql driver for data conversion. It is no longer required to install MySQL driver when using MsSQL.\r\n\r\n\u003ca name=\"Requirements\"\u003e\u003c/a\u003e\r\n## Requirements (current used versions)\r\n* Automation Studio 4.9\r\n* mapp 5.14\r\n* Automation Runtime B4.83\r\n\r\nRecommended task class is #8 with a 10ms cycle time. For the nettime and axis tasks use #1\r\n\r\n\u003ca name=\"Revision-History\"\u003e\u003c/a\u003e\r\n## Revision History\r\nYou can find details in the project in \"revision.txt\"\r\n\r\n#### Version 1.2 (10.02.2023)\r\n- PythonScript: Support for MS SQL data type decimal\r\n\r\n#### Version 1.1 (05.01.2022)\r\n- Added script server ping\r\n- PLC: Update to runtime E4.90 and mapp 5.16\r\n- PythonScript: Added PLC raw data to debug output\r\n\r\n#### Version 1.0\r\n- First public release\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbr-automation-com%2FmappDatabase-Demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbr-automation-com%2FmappDatabase-Demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbr-automation-com%2FmappDatabase-Demo/lists"}