Clear CLR

Sets Dest to 0.

TagAfter two scans
BatchCount0

How it works

While the rung is true, writes 0 to the destination each scan. A false rung does nothing.

How it's used

Use CLR to set a number back to 0, such as a batch count on reset.

TagValue
ResetPB1
BatchCount0

ResetPB set BatchCount to 0.

Operands

OperandData typeRead or write
DestDINT, REALWrites

Common mistakes

  • Using it on a timerCLR writes 0 to a number. Use RES for a timer or counter.