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

1

Figure 1

2.   I/O list

Device

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

 

3.   Project

3

4.   Explanation