๐ง SZ_IO62R2 Serial Controller Utility
A small console utility to control the SZ_IO62 controller via serial commands.
๐ฅ Video Tutorial
๐ฆ Features
- ๐ง Simple interface for sending commands
- ๐ฅ๏ธ Works on both Windows and Linux
- โ๏ธ Supports input/output command activation
- ๐ Bridge mode for continuous communication
- ๐ Built with Python and
pySerial
๐ ๏ธ Usage
Show help
./SZ_IO62R2 -h
Send a command to the controller
./SZ_IO62R2 "COMMAND"
SZ_IO62R2.exe "COMMAND"
๐งพ Command List
๐ข Input Activation Commands
sI1, cI1, sI2, cI2, sI3, cI3, sI4, cI4, sI5, cI5, sI6, cI6, sV7, sV8
๐ด Output Activation Commands
out1, out2, out3, out4, out5, out6, out7, out8
โ๏ธ Configuration
Edit the config.txt file to match your system's COM port:
๐ช Windows
PORT = COM5
๐ง Linux
PORT = /dev/ttyUSB0
๐ Running the App
๐งช Start as Service
Linux
./bridge
Windows
`
bridge.exe
This will monitor for commands and forward them to the controller.
๐ Files Overview
main.py
- Handles CLI input.
- Writes commands to a file (
commands).
bridge.py
- Reads
config.txtfor COM port. - Continuously checks for new commands and sends them via serial.
๐งฐ Dependencies
- Requires
pyserial
bash
pip install pyserial
๐ผ๏ธ Screenshots
