Search Project: *:*

 
<< < 1 .. 391 392 393 394 395 .. 3691 > >> (Page 393 of 3691)

Project Overview (version 45) discussion SPI-FbDrvMonarco home (Thread)
Project Overview (version 45) discussion
Last updated: 2018-09-24

Project Overview (version 9) discussion SPI-FbDrvMonarco home (Thread)
Project Overview (version 9) discussion
Last updated: 2018-09-27

Project Overview (version 75) discussion SPI-FbDrvMonarco home (Thread)
Project Overview (version 75) discussion
Last updated: 2018-11-14

Project Overview (version 87) discussion SPI-FbDrvMonarco home (Thread)
Project Overview (version 87) discussion
Last updated: 2019-04-11

Project Overview (version 20) discussion SPI-FbDrvMonarco home (Thread)
Project Overview (version 20) discussion
Last updated: 2018-09-24

(no subject) SPI-FbDrvMonarco home (Thread)
Last updated: 2019-04-17

Project Overview SPI-FbDrvMonarco home (WikiPage)
Project Members: aliazzz (admin) Monarco Hat v1.0.0.0 Package & Monarco Hat Realtime Clock SRAM Support Package Download Monarco Package v1.0.0.0 Download Buffered SRAM Package The Monarco HAT Changelog Hardware prerequisitories Hardware installation and setup Software prerequisitories Codesys Runtime installation Package installation Monarco UART configuration Running the CODESYS project Limitations / Bugs Acknowledgements The Monarco HAT The Monarco HAT is a robust industrial graded HAT, perfectly suited for IOT projects, small home-automation or industrial projects and much more ... It also protects your Raspberry Pi from overvoltage or short-circuiting and simultaneously provides you with enough IO channels and channel configuration versatility. It features analog and digital inputs and outputs, RS-485, 1-Wire bus and a Real Time Clock. The Monarco Hat driver is v1.0.0.0 implemented as an FB device-driver. You can program your code in any language you desire, either visual or textual. 100% Open source, 100% Pure IEC 61131-3 code (ST) Changelog v1.0.0.0 Released FB based driver including demo project Retain data support via RTC (separate Buffered SRAM Package) <DeviceIdentification> <Type>501</Type> <Id>FFFF 0005</Id> <Version>1.0.0.0</Version> </DeviceIdentification> Hardware prerequisitories A Raspberry Pi, see https://www.raspberrypi.org/ A Monarco HAT, see https://www.monarco.io/ At least an 8 GB SD Card ... Hardware installation and setup Attach Monarco HAT to Raspberry Pi and power it up; sudo cat /proc/device-tree/hat/vendor should return "REX Controls". sudo cat /proc/device-tree/hat/product should return "Monarco HAT". Disable system console on UART sudo sed 's/ console=serial0,[0-9]\+//' -i /boot/cmdline.txt sudo reboot Install essential tools sudo apt update sudo apt install git Flash Monarco HAT EEPROM (to avoid manual installation of overlay) sudo git clone https://github.com/monarco/monarco-hat-firmware-bin cd monarco-hat-firmware-bin ./monarco-eeprom.sh update Software prerequisitories CODESYS V3 IDE available at https://store.codesys.com/codesys.html, CODESYS Raspberry Pi .package available at https://store.codesys.com/codesys-control-for-raspberry-pi-sl.html, CODESYS Raspberry Pi SL Demo or License (The Demo is unrestricted in technical capabilities but will only run for two hours straight, after which it stops and you have to set it in run again yourself by logging in) Contents of SVN directory : SVN Codesys Runtime installation Installing CODESYS runtime component on pi (Demo or licensed), just follow CODESYS online help steps, it's easy! https://help.codesys.com/webapp/_rbp_install_runtime;product=CODESYS_Control_for_Raspberry_Pi_SL;version=3.5.12.0 Or check this youtube video: [[embed url=https://youtu.be/6FPf3RHWyeU]] Package installation Monarco Hat v1.0.0.0 Package & Monarco Hat Realtime Clock SRAM Support Package Download Monarco Package v1.0.0.0 Download Support Package Monarco UART configuration Enable CODESYS to use the RS485 UART on the Monarco Hat. Switch to etc direcory and edit the CODESYSControl.cfg; cd etc/ sudo nano CODESYSControl.cfg Add the following lines; [SysCom] Linux.Devicefile=/dev/ttyAMA Now save and Quit nano. Now, do a forced NTP sync sudo timedatectl This will force to sync time with some time server and returns something like, depending on date/time and your time-zone; Local time: zo 2018-09-23 14:46:17 CEST Universal time: zo 2018-09-23 12:46:17 UTC RTC time: zo 2018-09-23 12:46:18 Time zone: Europe/Amsterdam (CEST, +0200) Network time on: yes NTP synchronized: yes RTC in local TZ: no Now you can use the HAT, RS-485 and the Real-Time Clock from within a CODESYS IEC application. Access the RS485 UART via a comlib of you own flavour in CODESYS (like CAA SerialCOM library). Running the CODESYS project Open the provided example project file. Check/Set SPI master parameters: Mode 0, SPI bits 8, Speed(Hz) 1000000 (=1MHz) => can be set up to 4 MHz, slower speeds avoid chance on crc errors Compile, download and run and enjoy! Limitations / Bugs All functionality of the HAT is implemented into the core of the driver. However I have no illusion that this driver will still contain bugs. Due to limited time resources, I am not able to solve every bug anymore, sorry... As this opensource software you are cordially invited to fix the bug and share your solution via a ticket. v2.0.0.x Experimental and under construction, NOT RECOMMENDED unless you like to tinker IO based driver devdescr.xml: vendor id set to 0004, device id set to 0005, see https://forge.codesys.com/drv/io-drivers/database/Home/ for details. <DeviceIdentification> <Type>501</Type> <Id>0004 0005</Id> <Version>2.0.0.2</Version> </DeviceIdentification> Ctrl Byte, HWConfig, UserLeds, UserLedMask Retain data support via RTC (separate Buffered SRAM Package) For the package and the source of v2, see the SVN repo under tags Acknowledgements v1 Realised in 2017. Special thanks goes out to Ingo Hornberger for helping out with difficulties and for his patience. Monarco Hat Package & Monarco Hat Realtime Clock SRAM Support Package Download Monarco Package v1.0.0.0 Download Buffered SRAM Package The Monarco HAT Changelog Hardware prerequisitories Hardware installation and setup Software prerequisitories Codesys Runtime installation Package installation Monarco UART configuration Running the CODESYS project Limitations / Bugs Acknowledgements
Last updated: 2019-12-18

Ticket #1: Not all functionality is available via IoDrv SPI-FbDrvMonarco tickets (Ticket)
Not yet routed to parameters are; PWM configuration, Counter configuration, RS485 configuration, 1-Wire bus.Not all functionality is available via IoDrv SPI-FbDrvMonarco 0 tickets Ticket tickets Not all functionality is available via IoDrv 2019-07-22 16:28:33.071000 wont-fix False 0 aliazzz Ticket #1: Not all functionality is available via IoDrv 0 False /drv/spi-monarco/tickets/1/ None 2019-01-06 09:09:53.771000 None 1 spi-monarco Not yet routed to parameters are; PWM configuration, Counter configuration, RS485 configuration, 1-Wire bus. False False 2
Last updated: 2019-07-22

Ticket #2: RTC nvram SPI-FbDrvMonarco tickets (Ticket)
It is possible to store some data in the battery-backed RAM of RTC chip on the Monarco HAT (MCP79410, 64 bytes). This is not yet directly supported in Monarco HAT driver. On roadmap, but currently not a priority.RTC nvram SPI-FbDrvMonarco 0 tickets Ticket tickets RTC nvram 2019-03-23 10:26:19.363000 closed True 0 aliazzz Ticket #2: RTC nvram 0 1.0 False /drv/spi-monarco/tickets/2/ aliazzz 2019-01-06 09:12:54.078000 None 2 spi-monarco It is possible to store some data in the battery-backed RAM of RTC chip on the Monarco HAT (MCP79410, 64 bytes). This is not yet directly supported in Monarco HAT driver. On roadmap, but currently not a priority. False False 2
Last updated: 2019-03-23

Ticket #3: RS485 IoDriver SPI-FbDrvMonarco tickets (Ticket)
Revisit RS485 functionality On roadmap but currently not a priorityRS485 IoDriver SPI-FbDrvMonarco 0 tickets Ticket tickets RS485 IoDriver 2019-07-22 16:28:26.309000 wont-fix False 0 aliazzz Ticket #3: RS485 IoDriver 0 False /drv/spi-monarco/tickets/3/ aliazzz 2019-01-06 09:14:05.007000 None 3 spi-monarco Revisit RS485 functionality On roadmap but currently not a priority False False 3
Last updated: 2019-07-22

Post by aliazzz on #3 RS485 IoDriver SPI-FbDrvMonarco tickets (Post)
status: open --> wont-fix Milestone: 1.0 -->
Last updated: 2019-07-22

Post by aliazzz on #2 RTC nvram SPI-FbDrvMonarco tickets (Post)
status: open --> closed assigned_to: aliazzz discussion: enabled --> disabled
Last updated: 2019-03-23

Post by aliazzz on #3 RS485 IoDriver SPI-FbDrvMonarco tickets (Post)
assigned_to: aliazzz
Last updated: 2019-07-22

Post by aliazzz on #1 Not all functionality is available via IoDrv SPI-FbDrvMonarco tickets (Post)
status: open --> wont-fix Milestone: 1.0 -->
Last updated: 2019-07-22

Post by aliazzz on Discussion for Project Overview page SPI-FbDrvMonarco home (Post)
Work in progress (see attachment)
Last updated: 2019-04-16

Post by aliazzz on Discussion for Project Overview page SPI-FbDrvMonarco home (Post)
RS485 Work in Progress
Last updated: 2019-04-17

spi-monarco: Artifact 5c31c557849e73001486c95a SPI-FbDrvMonarco tickets (Bin)
Last updated: 2019-01-06

spi-monarco: Artifact 5c31c557849e73001486c95b SPI-FbDrvMonarco tickets (Bin)
Last updated: 2019-01-06

spi-monarco: Artifact 5c31c557849e73001486c95c SPI-FbDrvMonarco tickets (Bin)
Last updated: 2019-01-06

home Discussion SPI-FbDrvMonarco home (Discussion)
Forum for home comments
Last updated: 2018-09-17

svn Discussion SPI-FbDrvMonarco svn (Discussion)
Forum for svn comments
Last updated: 2018-09-21

tickets Discussion SPI-FbDrvMonarco tickets (Discussion)
Forum for tickets comments
Last updated: 2019-01-06

wiki Discussion bhess wiki (Discussion)
Forum for wiki comments
Last updated: 2018-09-17

SPI-FbDrvMonarco SVN repository SPI-FbDrvMonarco svn (SVN Repository)
Last updated: 2019-04-17

Home bhess wiki (WikiPage)
This is the personal project of bhess. This project is created automatically during user registration as an easy place to store personal data that doesn't need its own project such as cloned repositories.
Last updated: 2018-09-17

<< < 1 .. 391 392 393 394 395 .. 3691 > >> (Page 393 of 3691)

Showing results of 92251

Sort by relevance or date