PLC-Program for H-Bridge

Program example: Switching the direction of rotation with H-bridge

Switching the direction of rotation with H-bridge

Switching the direction of rotation with H-bridge

Option 1: Switching the direction of rotation - directly. Only use with really small motors!

Function description: The motor can be started with button S1 in clockwise rotation (i.e. K1 active) and with button S2 (i.e. K2 active). Precondition: The OFF button S0 is not pressed.
The direction of rotation can be switched directly from clockwise to counterclockwise rotation and from counterclockwise to clockwise rotation.

The process state diagramm for direct switching:

Direct reversal of direction of rotation

Direct reversal of direction of rotation

Option 2: Switching the direction of rotation - indirectly

The motor can be started with pushbutton S1 in clockwise rotation (i.e. K1 active) and with pushbutton S2 (i.e. K2 active). Precondition: The OFF pushbutton S0 is not actuated.
The direction of rotation can only be changed after the stop button S0 has been pressed. The process diagram is as follows:

Indirect reversal of direction of rotation

Indirect reversal of direction of rotation

=>  Get the solution