User program example example of run operation, Ladder logic program example – Yaskawa MP920 Motion Module User Manual

Page 40

Advertising
background image

2 Motion Control

2.2.3 Torque Reference Output Mode

2-14

„

User Program Example

Example of RUN Operation

Fig. 2.3 Torque Pattern

Ladder Logic Program Example

Fig. 2.4 RUN Commands (DWG H02)

The example in the above illustration has been greatly simplified. In actual operation, each
register can be controlled from the user program.

TREF

Torque reference

Torque

(%)

0

Time (t)

IFON

ELSE

IEND

DEND

RUN

OBC0410

RUNPB

IB00204

IB00205

5000

TREF

OWC05B

TREF

OWC05B

0

H0102

RUNMOD

OWC040

Set the torque reference output mode to ON.

Driver RUN command (RUN)

When IB00204 turns ON, the torque
reference output mode starts.

When IB00205 turns ON, 50% is output as
the torque reference.
When IB00205 turns OFF, 0% is output as
the torque reference.

Advertising