Проєкти / Gate Controller / TC-02

TC-02 · Reach OPEN limit while opening

Automation: reviewed NOT RUN

Edit

Що перевіряємо

Preconditions
State = OPENING; OPEN relay = ON; CLOSE relay = OFF
Steps
1. Verify State = OPENING.
2. Activate LIMIT_OPEN (U).
3. Observe state, relays and indication.
Expected state
OPEN
Expected result
OPEN relay = OFF; CLOSE relay = OFF; indication corresponds to OPEN

Wokwi scenario

tests/TC-02.yaml

name: TC-02 Reach OPEN limit while opening
version: 1
author: Embedded QA
steps:
  - wait-serial: "Initial state: CLOSED"
  - write-serial: "O"
  - wait-serial: "OPENING"
  - delay: 200ms
  - set-control:
      part-id: limOpen
      control: pressed
      value: 1
  - wait-serial: "OPEN LIMIT DETECTED"