Start Point Setting - Omron WS02-SIMC1-E - V1.9 REV 02-2009 Operation Manual

Table of Contents

Advertisement

Step Run and Break

4-3-4 Start Point Setting

Start Point Setting
Start Point Location
Setting a start point enables to specify an instruction to be executed next by
the program.
A start point can be set only in the Program mode. The program is executed
from the start point when an execution is operated from the Debug Console or
the mode is changed to the Monitor mode by the CX-Programmer. For ex-
ample, executing Step Run with a start point specified will move the execution
control to the start point and begin the next Step Run.
If a start point is set halfway in the rung, the previous value of power flow turns
OFF (false) forcibly regardless of the present value. For example, setting a
start point at the right hatched part in the diagram below will not execute the
rung, which originally would be executed, because the power flow is forcibly
turned OFF.
When executing the diagram with a start point set, set the start point at the top
of the rung (the left hatched part in the diagram).
0000
0000
0000
0000
00
01
02
03
0001
0001
Power flow
00
01
Note Be careful when setting a start point in JUMP instructions or a loop rung as
shown below. Doing so may cause an unstable JUMP address and an unex-
pected operation.
Setting within a subroutine
Setting within a FOR to NEXT loop
Setting within a block program
Looping may fail (exit the loop unexpectedly) because the loop condition is not
evaluated correctly. For JUMP instructions (including subroutines), the JUMP
destination address when the JUMP instruction was last executed will be exe-
cuted or an instruction error will occur. If an instruction error occurs, once stop
the program or set to the Program mode and then resume the operation.
Note Refer to 2-1 Basic Concepts of CS/CJ Series Programming Manual (W394) for
the power flow.
0002
Program
00
address
000000
000001
000002
000003
000004
000005
END
000006
000007
000008
000009
Section 4-3
Instruction word
Operand
(Mnemonic)
LD
000000
AND
000001
LD
000002
AND NOT
000003
LD NOT
000100
AND
000101
OR LD
AND LD
OUT
000200
END
109

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac ws02-simc1-eCx-simulator 1.9

Table of Contents