connect_schedule_gate
Gate a machine to a shift schedule, blocking during off-hours and resuming processing when the next active window starts. Call after adding schedule and machine.
Instructions
Gate a machine with a shift schedule via READ arc.
Adds a READ arc from the schedule's Active signal place to the machine's Start transition. During off-periods the machine is blocked; items wait in the queue and processing resumes when the next active window starts.
Call AFTER both add_scheduled_availability and add_machine / add_breakdown.
Args: schedule_name: Name passed to add_scheduled_availability (e.g., "DayShift") machine_name: Name passed to add_machine or add_breakdown (e.g., "Press")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schedule_name | Yes | ||
| machine_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |