Skip to content

[JITERA] Implement Automation Sequence in PLC Program

chi le requested to merge feat/implement-automation-sequence-1749550410 into main

Created by: chi-jitera

Overview

This pull request introduces an automation sequence to the PLC program written in IEC 61131-3 Structured Text. The changes enhance the control logic for various feeding and conveyor systems, improving the overall automation process.

Changes Explained

  • Global Variables: Added global variables to manage system states such as POWER_ON, SYS_READY, and runtime counters.
  • Control Logic: Implemented conditional statements to control feeding and alignment processes based on the system's operational mode (MODE_AUTO).
  • Timers: Introduced timers for each step in the conveyor process to ensure proper sequencing and timing of operations.
  • Inspection Logic: Added logic to handle inspection results, including counting good and rejected items, and triggering alerts based on thresholds.
  • Temperature Control: Implemented temperature monitoring with actions to turn on cooling or heating systems based on temperature readings.
  • Maintenance Alerts: Added conditions to trigger maintenance alerts based on runtime hours and item counts.

These changes aim to streamline the automation process, enhance system reliability, and ensure timely maintenance alerts.

Merge request reports