Instruction 82- for (for next loop) – Maple Systems MAPware-7000 User Manual

Page 137

Advertising
background image

129

MAPware-7000 Ladder Logic Guide

1010-1041 rev. 00

Instruction 82- FOR (For next loop)

Expression:

Space Requirement: 1 line x 3 column Location Requirement: Middle, Right rail

Function:

When the input is ON, the program segment between FOR and NEXT is executed n times
repeatedly in a scan. When the input is OFF, the repetition is not performed. However, the
segment is executed once.

Execution Condition:

Input

Operation

Output

OFF

No repetition

OFF

ON

Repetition

ON

Operand:

Coil or Bit

Register

Constant

Index

Name

X

Y B

S

T.

C.

M

X
W

Y
W

B
W

S
W

T C

D

I

J

K

M
W

n

Repetition

number

√ √

1-32767

Example:

When B005 is ON, the program segment between FOR and NEXT is executed 30 times in a scan.

Executed 30 times in a scan when B005 is
ON.

When B005 is OFF, the program segment between FOR and NEXT is still executed once per scan.

Advertising