{"id":20612316,"url":"https://github.com/plugarut/modicon","last_synced_at":"2026-05-29T08:31:02.784Z","repository":{"id":90106969,"uuid":"66716115","full_name":"PlugaruT/modicon","owner":"PlugaruT","description":"Modicon TM251","archived":false,"fork":false,"pushed_at":"2016-08-27T13:37:10.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-06T18:17:30.738Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PlugaruT.png","metadata":{"files":{"readme":"readme.rst","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-08-27T13:35:21.000Z","updated_at":"2016-08-27T13:37:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"e6496da2-55ca-4d60-b866-f9b3a75b31b2","html_url":"https://github.com/PlugaruT/modicon","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PlugaruT/modicon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlugaruT%2Fmodicon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlugaruT%2Fmodicon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlugaruT%2Fmodicon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlugaruT%2Fmodicon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PlugaruT","download_url":"https://codeload.github.com/PlugaruT/modicon/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlugaruT%2Fmodicon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33644127,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-16T10:23:59.843Z","updated_at":"2026-05-29T08:31:02.769Z","avatar_url":"https://github.com/PlugaruT.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Overview\n--------\n\nPython library for getting readings from Modicon TM251 logic controller,\nvia Modbus, over a serial port.\n\nInstallation\n^^^^^^^^^^^^\n\n::\n\n        pip install git+ssh://git@github.com/PlugaruT/modicon.git\n\nExample of use\n^^^^^^^^^^^^^^\n\nReading int, float values from register:\n\n::\n\n        from modicon import Modicon\n        m = Modicon()\n\n        result = m.read_register_value('OUT_POZITIE_MV3_1') # register name as parameter\n        print(result)\n\nReading specific bit state:\n\n::\n\n        from modicon import Modicon\n        m = Modicon()\n\n        result = m.get_bit_state('TENSIUNE_UPS') # bit name as parameter\n        print(result)\n\nReading all bit states from all registers:\n\n::\n\n        from modicon import Modicon\n        m = Modicon()\n        result = m.get_all_bits_state()\n        print(result)\n\nReading bit states from specific register:\n\n::\n\n        from modicon import Modicon\n        m = Modicon()\n\n        result = m.get_bits_states_from_reg('ALARME_DWORD_4') # register name as parameter\n        print(result)\n\nReferences\n^^^^^^^^^^\n\n-  http://pymodbus.readthedocs.org/en/latest/library/sync-client.html -\n   examples of Modbus clients\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplugarut%2Fmodicon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplugarut%2Fmodicon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplugarut%2Fmodicon/lists"}