Case―Motor forward and reverse


1.   Introduction

This case uses three input terminals for control buttons, the forward and reverse rotation of the belt is used as an example


Figure 1

2.   I/O list


Registers Description
Forward button X0 Trigger forward mode
Reverse button X1 Trigger reverse mode
Forward Y0 Forward output
Reverse Y1 Reverse output


3.   Project


4.   Explanation