|
||
Ladder Logic Clear Function |
CLR - ClearWhen Clear instruction is executed it sets all bits of a word to zero. Upon execution of this instruction, all arithmetic status bits are reset. ExampleEquation: N7:80 = 0; Ladder Logic SolutionSet all the bits for the integer word N7:80. ExampleEquation: F8:80 = 0; Ladder Logic SolutionSet all the bits for the float word F8:80. ExampleEquation: C5:80.PRE = 0; Ladder Logic SolutionSet all the bits for the counter preset value C5:80.PRE. ExampleEquation: T4:80.ACC = 0; Ladder Logic SolutionSet all the bits for the Timer accumulation value T4:80.ACC. Note
|
|