Mon – Sat: 7:30 – 17:00 Thanh Xa Hamlet, Nguyen Van Linh Commune, Hung Yen, Vietnam
EN
Hotline: 0971 028 833
K-Tech AutomationK-TECH AUTOMATION

Log in to K-Tech

Log in to prepare quotations and access Files & projects.

Choose this on a personal device to stay signed in.

Forgot password?

No account yet?

PLC state sequences: define each step and test missing feedback

A PLC sequence is easier to test when each step has an action, transition condition and response to late feedback. A part transfer station provides an example.

Write a sequence table first

List states such as Wait for part, Transfer, Await confirmation and Complete. For each, specify actions, confirming signals, transition conditions and allowed wait. SFC expresses these as steps, actions and transitions. The same table can guide implementation in an appropriate PLC language.

Name the source of each confirming signal. A transfer command and a destination sensor are separate variables with different roles. Documenting both shows testers exactly what the sequence is waiting for.

Example part transfer station

An eligible transfer request enters the transfer state and issues the designed command. The confirmation state monitors the destination sensor. Feedback within the defined time advances the sequence to completion. A timeout enters the defined fault state and records a cause code.

Test on-time arrival, late arrival and a destination sensor that is already on. For the last case, the expected behavior comes from agreed requirements, such as checking a signal change or validating the initial state.

Test stopping and restarting

Add tests for a stop request mid-cycle, lost feedback and restart. Record the initial state, stimulus, next state, display feedback and logged event for each case. The record shows which logic path was taken.

Simulation helps test transitions and diagnostics. S7-PLCSIM documentation describes instruction limitations and timing differences from physical hardware. Evaluate field signals, actuator delays and protection functions under a suitable equipment test plan.

Reference material

CODESYS — SFC elements: Step / Transition

Siemens — S7-PLCSIM Online Help

Need direct help from an engineer? Call 0971028833 or send a request.

Partners of K-Tech Automation

Hotline

Online support

  • Mrs. Giang (Sales)
  • Mr. Hoàng (P. Giải pháp)
  • Mr. Hiếu (P. Dự án)
  • Mr. Lượng (P. Thiết kế)
  • Mr. Nam (Kỹ sư)
  • Mr. Thắng (P. Sửa chữa)
Zalo