← Sequencing

Wash Cycle

hard

Runs Fill, Mix, and Drain actuators in order with pause, resume, and reset controls.

What it teaches

Combine state, retentive phase timers, and real actuator outputs. Pause saves elapsed time but turns every actuator off; Resume continues the same phase.

Parameters

TagDirectionTypeDefaultDescription
In_StartInputBOOL0Starts a new cycle from Idle
In_PauseInputBOOL0Pauses the active phase
In_ResumeInputBOOL0Continues a paused phase
In_ResetInputBOOL0Aborts the cycle and returns to Idle
Cfg_FillTimeInputDINT2000Fill duration in milliseconds
Cfg_MixTimeInputDINT3000Mix duration in milliseconds
Cfg_DrainTimeInputDINT2500Drain duration in milliseconds
Out_FillValveOutputBOOL0Opens during the active Fill phase
Out_MixerOutputBOOL0Runs during the active Mix phase
Out_DrainValveOutputBOOL0Opens during the active Drain phase
Sts_StateOutputDINT00=Idle, 1=Fill, 2=Mix, 3=Drain
Sts_PausedOutputBOOL01 while phase timing and actuators are paused

Required behavior