beautypg.com

Nested loop, Intertwined loop, Rules to follow – Watlow Series 922 User Manual

Page 41: Jumploop rules to follow, Jumploops

background image

How To Program the Series 922, Chapter 6

41

WATLOW Series 922 User's Manual

Nested Loop

A "Nested" loop is a jump loop within a loop. You are forced to a step either
forwards or backwards from your present location. When nested loops are
performed, they cannot break across other loops. Your JC can be from 0 - 100
with 0 being an infinite looping.

Step 1

SETPOINT

Step 2

SETPOINT

Step 3

JUMPLOOP

JS - 02

JC - 01

Step 4

JUMPLOOP

JS - 01

JC - 01

Step 5

SETPOINT

Step 6

JUMPLOOP

JS - 01

JC - 01

Step 7

STOP

The steps in sequence will be: 1, 2, 3, 2, 3, 4, 1, 2, 3, 2, 3, 4, 5, 6, 1, 2, 3, 2, 3,
4, 1, 2, 3, 2, 3, 4, 5, 6, 7.

Intertwined Loop

An "Intertwined" loop can break across other loops.

Step 1

SETPOINT

Step 2

SETPOINT

Step 3

JUMPLOOP

JS - 01

JC - 01

Step 4

JUMPLOOP

JS - 02

JC - 01

Step 5

STOP

The steps in sequence will be: 1, 2, 3, 1, 2, 3, 4, 2, 3, 1, 2, 3, 4, 5.

Rules to Follow

The one basic rule that you must follow is that you can only have a
maximum of three consecutive jump loops.

Step 1

SETPOINT

Step 2

JUMPLOOP

JS - 01

JC - 01

Step 3

JUMPLOOP

JS - 01

JC - 01

Step 4

JUMPLOOP

JS - 01

JC - 01

Step 5

JUMPLOOP

JS - 01

JC - 01

Step 6

STOP

Your program will run until it reaches Step 5, and flashes an ER2 0039. This
is the infinite looping error, and means you have too many consecutive loops.

Another rule to follow is you cannot JUMPLOOP to a step you are on. You'll
receive an ER2 0039. Clear the error in the ER2 parameter under the SYS-
TEM menu and retransmit your data.

Use simple loops in your program!

Jumploops