twincat-virtualelevator

Simulating a Three-Floor Elevator System Using TwinCAT PLC Programming 🛗

https://github.com/dalageo/twincat-virtualelevator

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • ✓
    CITATION.cff file
    Found CITATION.cff file
  • ✓
    codemeta.json file
    Found codemeta.json file
  • ✓
    .zenodo.json file
    Found .zenodo.json file
  • â—‹
    DOI references
  • â—‹
    Academic publication links
  • â—‹
    Committers with academic emails
  • â—‹
    Institutional organization owner
  • â—‹
    JOSS paper metadata
  • â—‹
    Scientific vocabulary similarity
    Low similarity (11.5%) to scientific vocabulary

Keywords

automation elevator-simulation iec61131-3 plc-programming simulation twincat twincat3 virtual-elevator
Last synced: 6 months ago · JSON representation ·

Repository

Simulating a Three-Floor Elevator System Using TwinCAT PLC Programming 🛗

Basic Info
  • Host: GitHub
  • Owner: Dalageo
  • License: other
  • Default Branch: main
  • Homepage:
  • Size: 35.1 MB
Statistics
  • Stars: 5
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
automation elevator-simulation iec61131-3 plc-programming simulation twincat twincat3 virtual-elevator
Created over 1 year ago · Last pushed about 1 year ago
Metadata Files
Readme License Citation

README.md

Bechoff TwinCat
TwinCAT 3.1.4024.55 License: CC BY-NC-SA 4.0 GitHub stars

Simulating a Three-Floor Elevator System Using TwinCAT PLC Programming 🛗

This repository contains a three-floor elevator control system simulated in the TwinCAT environment as part of a master's course assignment at University West. The assignment involved the development of the PLCStudent, using PLC programming languages, specifically SFC (Sequential Function Chart) and LD (Ladder Logic) for the elevator functionality, and a ST (Structured Text) function block for the button priority. In this project, PLCSim program, including ElevatorSimulator.TcVIS, was provided by the university. The designed elevator system includes the following functionalities:

- System Activation: The control logic and elevator system are activated by pressing the Green Button.
- Stop and Resume Operation: The Red Button stops the elevator movement. Pressing the Green Button again resumes the operation from where it was stopped.
- Lamp Usage: Indicator lamps display the current status of the elevator, such as moving up, moving down, door open, or door closed.
- Floor Display: A digital display inside the elevator shows the current floor number.
- Door Control: Elevator doors automatically close when the elevator is in motion to ensure passenger safety. Upon reaching the destination floor, the doors automatically open, allowing passengers to enter and exit. In addition, a delay is implemented at each floor stop to provide sufficient time for safe exit and entry.
- Button Functionality: Buttons inside the elevator and on each floor call and direct the elevator. The system processes the pressed buttons in the correct order to ensure efficient operation.

Setup Instructions

  1. Download and Install: TwinCAT 3 download | eXtended Automation Engineering (XAE)

  2. Clone the repository: ```sh git clone https://github.com/Dalageo/TwinCAT-VirtualElevator.git

  3. Navigate to the cloned directory and execute the 'TwinCAT Virtual Elevator.sln' solution file.

  4. Navigate to TwinCAT directory and execute Start.bat: ```sh C:/TwinCAT/3.1/Runtimes/UmRT_Default/Start.bat

  5. Change the Target System in TwinCAT to UmRT_Default.

  6. Activate Configuration.

  7. Login and Start both 'PLCSim' and 'PLCStudent'.

Contributions

This project was part of a master course assignment at University West, which provided the initial codebase for PLCSim. Special thanks to the professors at University West who contributed to its development.

License

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. It was chosen to prevent commercial use and to promote free access and open collaboration, ensuring any adaptations remain freely available to everyone.

CC BY-NC-SA 4.0

Citation

```bibtex @software{DalageorgosTwinCAT-VirtualElevator2024, author = {Dalageorgos, Konstantinos}, license = {CC-BY-NC-SA-4.0}, month = jun, title = {{TwinCAT-VirtualElevator}}, url = {https://github.com/Dalageo/TwinCAT-VirtualElevator}, version = {1.0.0}, year = {2024} }

Owner

  • Login: Dalageo
  • Kind: user

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If this project was helpful, please cite it as below."
title: "TwinCAT-VirtualElevator"
authors:
  - family-names: "Dalageorgos"
    given-names: "Konstantinos"
version: "1.0.0" 
date-released: "2024-06-14"
repository-code: "https://github.com/Dalageo/TwinCAT-VirtualElevator"
license: "CC-BY-NC-SA-4.0"

GitHub Events

Total
  • Watch event: 4
  • Push event: 2
Last Year
  • Watch event: 4
  • Push event: 2

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 3
  • Total Committers: 1
  • Avg Commits per committer: 3.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 3
  • Committers: 1
  • Avg Commits per committer: 3.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Konstantinos Dalageorgos k****s@g****m 3

Issues and Pull Requests

Last synced: 9 months ago

All Time
  • Total issues: 1
  • Total pull requests: 0
  • Average time to close issues: less than a minute
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 0
  • Average time to close issues: less than a minute
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • Dalageo (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels