MITSUBISHI ELECTRIC 700 Series User Manual

Page 130

Advertising
background image

125

Sequence Instructions

3

SEQUENCE PRO

G

RAM

M

ING

Program Examples

1) Program that outputs to the output module.

2) Program that turns on Y10 and Y14 10s after X0 has turned on.

3) Program that turns on Y0 when X0 turns on 10 times and turns off Y0 when X1 turns

on.

4) Program that changes the C0 setting to 10 when X0 turns on and to 20 when X1

turns on.

OUT

Coding

Coding

Coding

Stores 10 into D0 when X0 turns on.

Stores 20 into D0 when X1 turns on.

C0 counts data stored in D0 as setting.

When C0 stops counting, Y0 turns on.

Coding

Advertising