TB Command - Service Interface for Machine Diagnostics & Configuration

TB Command is a powerful service tool for managing, configuring, and testing all mechanical components of automated dispensary systems. Designed and built entirely by me using WPF, this application enables technicians and production staff to calibrate layouts, verify movements, run test cycles, and interact directly with hardware such as the Vending Machine System, cameras, RFID readers, barcode scanners, and printers. It supports all machine types in the ecosystem and is used both in field servicing and during production.

Tech Stack & Integration:
  • WPF/C# with MVVM architecture
  • Modular layout system supporting multiple machine models with specific behavior
  • Custom XML-based configuration files for hardware profiles and feature toggles
  • Modbus and Serial Communication Layer for executing test dispenses, triggering actuators, and reading sensor feedback via Modbus TCP or COM-port-based protocols tailored to specific hardware components
  • Integrated IP/USB camera control with photo/video capture and storage
  • Hardware abstraction for RFID readers, QR scanners, printers, LED lighting, and mechanical components
Key Features:
  • Universal Machine Support:
    A single interface supports multiple machine types, each with its own logic, layout system, and unique testing and dispensing capabilities.
  • Live Hardware Control:
    Execute test dispenses, open/close rolling shutter, activate lights, lock/unlock compartments, and measure positions in real time.
  • RFID & QR Reader Diagnostics:
    Test connection status, switch modes, and reroute input to external applications like the web-based WMS system for registering card codes and product data.
  • Printer Test Suite:
    Generate and validate dispense/return tickets for label printers, ensuring proper connectivity, command execution, and formatting.
  • Machine Layout Configuration:
    Intuitive tools for measuring and defining shelves, positions, dividers, drawers, and LED lighting profiles for all supported machine types.
  • Axis Calibration & Safety Logic:
    Set machine-specific parameters (e.g., head travel limits, shelf heights, divider spacing) and simulate production test cycles to validate motion paths.
  • Diagnostic Info Panel:
    Provides real-time telemetry, including firmware state, sensor inputs, output signals, and drop sensor counters to support debugging and system validation.
  • Fully Configurable via XML/INI:
    All functional modules are dynamically controlled through XML and INI configuration files. This includes toggling hardware availability, enabling camera logging, customizing motion logic, defining QR code behaviors, and more. Designed to give manufacturing engineers and field service teams full control over machine diagnostics without requiring code changes.

Gallery

Command_01
Command_02
Command_03
Command_04
Command_05
Command_06
Command_07
Command_08
arrow right Previous
Next arrow right
An unhandled error has occurred. Reload 🗙