Start, hold, stop of motor

 

1.   Introduction

This project uses the motor start, hold and stop control as an example that demonstrates how to use the LD, LDI instruction.

 

1

Figure 1

 

2.   I/O list

Table 2‑1

Device

Registers

Instruction

SB1

X0

Start button

SB2

X1

Stop button

Output

Y0

Motor

 

3.   Project

2

Figure 2

 

4.   Explanation

When press the X0 button, the motor start working and hold working state. When press the X1 button, the motor stop working.