beautypg.com

Yaskawa MP900 Series Motion Programming Manual User Manual

Page 189

background image

6.1 MP2300S/MP2400 Exclusive-use Commands

6 -3

J

Programming Examples

The following illustration provides a programming example for the PON command.

Outputting to a coil

DB000002=PON(DB000000) DB000001);

D

Ladder equivalent circuit

DB000000

DB000001

DB000002

D

Timing chart

DB000000

DB000001

DB000002

1 scan

1 scan

Using the PON command together with the IF command

IF PON(DB000000 DB000001)==1;

G

G

IEND;

D

Ladder equivalent circuit

DB000000

IFON

IEND

DB000001

6

6

This manual is related to the following products: