Update readme

This commit is contained in:
Peter Butzhammer
2024-04-29 16:39:55 +02:00
parent 5f55b75538
commit 229400c277

View File

@@ -9,23 +9,19 @@ It displays the variable values in a table format directly in your console. The
## Usage ## Usage
1. **Installation**: - Download `s7mon.exe` binary from [releases](https://github.com/Peter-B-/Sharp7.Monitor/releases/latest).
- Clone this repository or download the `s7mon.exe` binary.
- Ensure you have the necessary dependencies installed (e.g., .NET runtime).
2. **Invocation**: This binary is self contained. No installation of .Net Runtime is required.
- Open your terminal or command prompt.
- Navigate to the directory containing `s7mon.exe`.
- Run the following command:
```
.\s7mon.exe <IP_Address> <Variable1> <Variable2> ... <VariableN>
```
Replace `<IP_Address>` with the IP address of your Siemens S7 PLC, and list the desired variables (e.g., `DB2050.Byte1`, `DB2050.Int6`, etc.).
3. **Output**: - Run the following command:
- The program will establish a connection to the PLC and continuously display the values of the specified variables in a table format. ```powershell
- The table will automatically update as the variable values change. .\s7mon.exe <IP_Address> <Variable1> <Variable2> ... <VariableN>
- Press `Ctrl + C` to exit. ```
Replace `<IP_Address>` with the IP address of your Siemens S7 PLC, and list the desired variables (e.g., `DB2050.Byte1`, `DB2050.Int6`, etc.).
- The program will establish a connection to the PLC and continuously display the values of the specified variables in a table format.
Press `Ctrl + C` to exit.
### Command ### Command