3) programming examples, 150 (3) programming examples – Yaskawa MP2000 Series: User's Manual for Motion Programming User Manual

Page 257

Advertising
background image

8 Command Reference

8.9.12 Rising Pulse (PON)

8-150

(3) Programming Examples

The PON command programming examples are shown below.

(a) Outputting to a Coil

• Ladder equivalent circuit

• Timing chart

(b) Using a PON Command Combined with an IF Command

• Ladder equivalent circuit

• Timing chart

DB000002=PON(DB000000 DB000001);

IF PON(DB000000 DB000001) == 1;

IEND;

EXAMPLE

DB000000

DB000001

DB000002

One scan

One scan

EXAMPLE

DB000000

DB000001

Processing

in IF command

Executed only for one scan

Executed only for one scan

Advertising