Break Point - Omron WS02-SIMC1-E - V1.9 REV 12-2009 Operation Manual

Table of Contents

Advertisement

Step Run and Break

4-3-3 Break Point

Monitoring IR
108
The break point is where the program execution is paused. Specifying a break
point will automatically stop the program execution at the specified point.
As an example of break point, the following introduces the case where moni-
toring the IR value used between FOR and NEXT.
The Step Run enables monitoring the contents of Index Registers (IR) while
executing a ladder diagram in the CX-Programmer's [Set Values] window,
which used to be impossible.
Following diagram shows an example of IR usage extracted from the sample
in 6-2 Index Registers of CS/CJ Series Programming Manual(W394). Setting a
break pointer within the FOR to NEXT loop (the hatched part in the diagram)
enables to check the change of IR within the FOR to NEXT loop.
,
IR2
,IR1+
P_On
Program
FOR
address
&100
000000
000001
TIM
000002
,IR0+
@D0
000003
,IR2+
000004
000005
000006
000007
++
000008
D0
NEXT
END
Section 4-3
Instruction word
Operand
(mnemonic)
FOR
&100
LD NOT
,IR2
TIM
,IR0+ @D0
LD
,IR1+
OUT
,IR2+
LD
P_On
++
D0
NEXT
END

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac ws02-simc1-eCx-simulator 1.9

Table of Contents