beautypg.com

User program example example of run operation, Ladder logic program example – Yaskawa MP940 User Manual

Page 415

background image

11.2 Control Modes

11-13

11

„

User Program Example

Example of RUN Operation

Fig 11.4 Torque Pattern

Ladder Logic Program Example

Fig 11.5 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

0

Torque

(%)

Torque reference

Time

(t)

IFON

ELSE

IEND

DEND

RUN

OBC0010

RUNPB

IB00204

IB00205

5000

TREF

OWC01B

TREF

OWC01B

0

H0102

RUNMOD

OWC000

Set the Torque Control Mode to ON.

Driver RUN command (RUN)

When IB00204 turns ON, the Torque

Control Mode starts.

When IB00205 turns ON, 50% is out-

put as a torque reference. When

IB00205 turns OFF, 0% is output as a

torque reference.