07.03.2014 Views

Introduction.

Introduction.

Introduction.

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Workshop PG5<br />

Instructionlist<br />

Trace Mode:<br />

In Trace Mode the PCD is stopped and you just execute one line after the other.<br />

In order to stop your process at a given program line you just have to place the<br />

cursor on a line in your program and click on the :<br />

"GO TO CURSOR" button. The PCD will then stop at this program<br />

line and you can execute one line after the other by pressing the function-key<br />

"F11".<br />

If you have PB's or FB's in your program you can choose to “trace into”<br />

these blocks or “step over” these blocks.<br />

If you are inside a block, then you may leave the block with the<br />

"STEP OUT OF" button.<br />

COB 0<br />

0<br />

= PCD is in Run<br />

= PCD is in Stop<br />

(Trace mode)<br />

PB 7<br />

If you step over a block,<br />

then the PCD goes into<br />

RUN, executes all the<br />

elements inside the block<br />

and STOPs at the first<br />

instruction after the block<br />

call.<br />

PB 2<br />

CPB 7<br />

CPB 2<br />

EPB<br />

If you step out of a block,<br />

then the PCD goes into<br />

RUN, executes all the<br />

elements inside the active<br />

block and STOPs at the<br />

EPB<br />

first instruction after the<br />

block call.<br />

Like in the normal online mode, you can change the state of every program by<br />

selecting the active line and using the right mouse button and the commands:<br />

Edit Media/Status or Code<br />

PG5-07-E © Saia-Burgess Controls Ltd. Page 7-24

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!