This is a basic HMI app built with Electron.js to communicate with Siemens S7 PLCs. Follow these steps to set up and run the application.
- Node.js and npm: Download and install from nodejs.org.
- Git: Download and install from git-scm.com.
-
Clone the Repository
Open a terminal and run the following command to clone the repository:
git clone https://github.com/hadefuwa/basic-s7-hmi.git
-
Navigate to the Project Directory
cd basic-s7-hmi
-
Install Dependencies
Run the following command to install all required dependencies:
npm install
-
Run the Application
Once the dependencies are installed, you can start the app by running:
npm start
This will launch the Electron.js application.
- Ensure any specific configuration for your Siemens S7 PLC is set up before running the app.
- If there are environment variables or configuration files required, be sure to include details here.
- If you encounter issues during installation, ensure that you have the correct versions of Node.js and npm installed.
- For Electron-specific issues, check the Electron documentation for troubleshooting tips.