๐Ÿ”ง 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.txt for COM port.
  • Continuously checks for new commands and sends them via serial.

๐Ÿงฐ Dependencies

bash pip install pyserial


๐Ÿ–ผ๏ธ Screenshots

Screenshot 1 Screenshot 2 Screenshot 3


๐Ÿ“ฆ Download