Ladder - Packaging Line Fill and Cap
Ten rungs of a fill-and-cap machine frozen on the scan where the 1.2 s fill dwell has just timed out: the valve rung reads the timing bit and has already dropped, the capper fires off the done bit, and the batch CTU sits at 1,180 of 1,200 so the counter's done bit - and the batch lamp behind it - stay low.
Make it your own.
title "Packaging line - fill dwell, capper and batch count"
state: Start_PB=0, Stop_PB, EStop_OK, Guard_Closed, Product_Present, Cap_Present, Reject_Ack=0, Line_Run
rung "Machine safe: E-stop healthy and every guard closed"
xic EStop_OK
xic Guard_Closed
ote Machine_Safe
rung "Line run seals in through the stop button"
branch
--] [--Start_PB
--] [--Line_Run
--] [--Stop_PB
--] [--Machine_Safe
--( )--Line_Run
rung "Fill dwell - 1.2 s of valve open per container"
xic Line_Run
xic Product_Present
ton T_Fill preset: 1200 accum: 1200 unit: ms
rung "Fill valve is open only while the dwell is still timing"
xic T_Fill.TT
ote Fill_Valve
rung "Capper fires once the dwell is done and a cap is presented"
xic T_Fill.DN
xic Cap_Present
ote Capper
rung "A missing cap at the end of the dwell latches a reject"
xic T_Fill.DN
xio Cap_Present
otl Reject_Flag
rung "Operator acknowledgement clears the reject latch"
xic Reject_Ack
otu Reject_Flag
rung "Reject pusher sweeps the flagged container off the belt"
xic Reject_Flag
ote Reject_Pusher
rung "Batch counter - 1200 packs to the pallet"
xic T_Fill.DN
ctu C_Batch preset: 1200 accum: 1180 unit: packs
rung "Batch-complete lamp on the counter done bit"
xic C_Batch.DN
ote Batch_Lamp