FX Series Programmable Controllers

Basic Program Instructions 2

2.10Or Pulse, Or Trailing Pulse

FX1S

FX1N

FX2N

FX2NC

Mnemonic

Function

Format

Devices

Program steps

 

 

Parallel

 

 

 

 

ORP

connection of

X, Y, M, S, T, C

2

 

 

(OR Pulse)

Rising edge

 

 

 

 

 

 

 

pulse

 

 

 

 

 

 

 

 

 

 

ORF

Parallel

 

 

 

 

connection of

 

 

 

 

(OR Falling

X, Y, M, S, T, C

2

 

 

Falling / trailing

 

 

pulse)

 

 

 

 

edge pulse

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Program example:

 

 

 

M40

X1

ORP

SET M50

0

LD

M

40

1

ORP

X

1

3

SET

M

50

4

LD

X

0

5

AND

M

24

6

LD

Y

7

X0 M24

Y4

Y7 X1

ORF

7

ORF

X

1

9

ORB

 

 

10 OUT

Y

4

Basic points to remember:

-Use the ORP and ORF instructions for the parallel connection of pulse contacts.

-Usage is the same as for OR and ORI; see earlier.

-ORP is active for one program scan after the associated device switches from OFF to ON.

-ORF is active for one program scan after the associated device switches from ON to OFF.

Single operation flags M2800 to M3071:

• When used with flags M2800 to M3071 only the first instruction will activate. For details see page 2-8

2-10

Page 36
Image 36
Mitsubishi Electronics FX1S manual Or Pulse, Or Trailing Pulse, Orf Orb