btkruppa / HMI-senior-project

This is a process for a user to create an HMI without having to know code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HMI senior project

##Goals of this project

  1. System for user to add, edit, and delete elements on a screen
  2. System for screens to be saved and recalled
  3. Communication between elements on screen and PLCs using Modbus TCP/IP

##fields that an element on screen needs to hold

  1. read/write for PLCs
  2. aesthetics of element (color, size, shape, location on screen, )

To Get the Code Locally

Download and Install git for windows: https://git-scm.com/download/win Select "Use in Windows Command Prompt" (the second option) when prompted

  1. Open a command prompt window
  2. Run cd C:\Users\%username%\Desktop to change to your desktop directory
  3. Run git clone https://github.com/btkruppa/HMI-senior-project to get a copy of all the files

Working with the Files

cd into the duetoday directory before running these commands

Getting new changes

git pull

Pushing new changes

  1. git add -u to add all updated files
  2. git status to make sure there aren't any untracked files
  3. git add FILENAME for any NEW files
  4. Check git status and repeat
  5. git commit -m will prompt you to write a short comment about your recent changes
  6. git push will finally push all your changes to github

To Run the Server

cd server
python server.py

The default url when running locally will be: http://localhost:8887/ (Running on port 8887 by default)

Log files are stored in server/etc/logs/

About

This is a process for a user to create an HMI without having to know code


Languages

Language:HTML 40.6%Language:Python 34.0%Language:CSS 20.4%Language:JavaScript 3.7%Language:C++ 0.7%Language:C 0.6%