twincat-virtualtram
Designing and Simulating an Automated Tram Control System Using TwinCAT PLC Programming 🚝
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 (12.8%) to scientific vocabulary
Keywords
Repository
Designing and Simulating an Automated Tram Control System Using TwinCAT PLC Programming 🚝
Statistics
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
Designing and Simulating an Automated Tram Control System Using TwinCAT PLC Programming
This repository contains a simulation project for an Automated Tram System, developed within the TwinCAT environment as part of a master's course assignment University West. The assignment involves developing a Human-Machine Interface (HMI) and a virtual process with visualization to control a tram navigating between two stations along a predefined track. The designed system allows for both manual and automatic operation of the tram, ensuring it can handle passenger boarding and alighting with safety and efficiency. It includes the following functionalities:
- Manual Mode Activation: The tram can be driven manually in any direction without restrictions by the driver using the HMI.
- Automatic Mode Activation: Automatic driving is enabled when the tram is stationary at the home station, allowing it to shuttle continuously between the two stations.
- Immediate Stop: The tram can be immediately stopped by the driver regardless of the current mode. Once stopped, it will remain stationary until manually operated back to the home station.
- Mode Transition Control: To switch from automatic to manual mode, the tram must first be stopped at the home station before changing modes.
- Tram Position and Status Monitoring: Sensors confirm the tram's presence at stations by turning green, while the HMI provides real-time updates on tram status, including location, movement, and emergency stop.
| Tram | HMI |
|------|-----|
| |
|
Setup Instructions
Download and Install: TwinCAT 3 download | eXtended Automation Engineering (XAE)
Clone the repository: ```sh git clone https://github.com/Dalageo/TwinCAT-VirtualTram.git
Navigate to the cloned directory and execute the
TwinCAT Virtual Tram.slnsolution file.Navigate to TwinCAT directory and execute Start.bat: ```sh C:/TwinCAT/3.1/Runtimes/UmRT_Default/Start.bat
Change the Target System in TwinCAT to UmRT_Default.
Visualization Image Pool Setup:
- In the Solution Explorer of
TwinCAT Virtual Tram.sln, navigate to PLCSim's VISUs and click on theImagePool.TcIPO. - Set the correct file path for each image by navigating to the cloned directory TwinCAT-VirtualTram/Image Pool, where you'll find
Background.png,Sensor.png,Station.png, andTram.png.
- In the Solution Explorer of
Activate Configuration.
Login and Start both 'PLCSim' and 'PLCStudent'.
Contributions
This project was part of a master course assignment at University West, with special thanks to the professors for assigning it.
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.
Citation
```bibtex @software{DalageorgosTwinCAT-VirtualTram2024, author = {Dalageorgos, Konstantinos}, license = {CC-BY-NC-SA-4.0}, month = jul, title = {{TwinCAT-VirtualTram}}, url = {https://github.com/Dalageo/TwinCAT-VirtualTram}, version = {1.0.0}, year = {2024} }
Owner
- Login: Dalageo
- Kind: user
- Repositories: 1
- Profile: https://github.com/Dalageo
Citation (CITATION.cff)
cff-version: 1.2.0
message: "If this project was helpful, please cite it as below."
title: "TwinCAT-VirtualTram"
authors:
- family-names: "Dalageorgos"
given-names: "Konstantinos"
version: "1.0.0"
date-released: "2024-07-01"
repository-code: "https://github.com/Dalageo/TwinCAT-VirtualTram"
license: "CC-BY-NC-SA-4.0"
GitHub Events
Total
- Watch event: 5
- Push event: 1
Last Year
- Watch event: 5
- Push event: 1
Committers
Last synced: 9 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Konstantinos Dalageorgos | k****s@g****m | 3 |
Issues and Pull Requests
Last synced: 9 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
