28.03.2014 Views

PC Control / Profi Control 645-12M Instruction Manual pdf - Kuhnke

PC Control / Profi Control 645-12M Instruction Manual pdf - Kuhnke

PC Control / Profi Control 645-12M Instruction Manual pdf - Kuhnke

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Summary of commands<br />

4.6.5. Byte and flag manipulation<br />

Operand<br />

(example)<br />

INC BM00.00 4 0.45<br />

INCD<br />

Byte Time<br />

[µs]<br />

Increment<br />

8bit value by<br />

1<br />

Funktion<br />

C<br />

*)<br />

Z<br />

*)<br />

8bit address -- yes<br />

BM00.00 10 1.1 Increment even 8bit address (00.00+00.01) -- yes<br />

BM00.01 14 5.4 16bit value odd 8bit address (00.01+00.02) -- yes<br />

by 1<br />

DEC BM00.00 4 0.45<br />

Decrement<br />

8bit value by8bit address -- yes<br />

1<br />

BM00.00 10 1.1 Decrement even 8bit address (00.00+00.01) -- yes<br />

DECD BM00.01 14 5.4 16bit value<br />

by 1<br />

odd 8bit address (00.01+00.02) -- yes<br />

CLR BM00.00 4 0.45 Clear 8bit address -- --<br />

NOP 2 0.15 Dummy operation -- --<br />

SEC 2 0.15 Set Carry bit = 1 yes --<br />

CLC 2 0.15 Clear Carry bit = 0 yes --<br />

*) Influence on (C)arry and (Z)ero bit: -- yes no alteration defined flag alteration undefined flag alterat<br />

++<br />

4.6.6. Module calls<br />

Command<br />

Command<br />

Operand<br />

(example)<br />

Byte Time<br />

[µs]<br />

Function<br />

C<br />

*)<br />

Z<br />

*)<br />

JPP Program module 14 10 jump to program module -- --<br />

J<strong>PC</strong>P Program module 18 10.5*2 conditional jump to program module if yes -- --<br />

JPF Function module 18 *1) jump to function module -- --<br />

J<strong>PC</strong>F Function module 26 *1)*2) conditional jump to function module if yes -- --<br />

JPK KUBES module 18 *1) jump to KUBES module -- --<br />

J<strong>PC</strong>K KUBES module 26 *1)*2) conditional jump to KUBES module if yes -- --<br />

JPINIT Init. module 14 10 jump to initialisation module -- --<br />

*1) Normal: 17 µs, plus 1 µs per additional parameter *2) 0.6 µs if no jump<br />

*) Influence of (C)arry and (Z)ero bit: -- yes<br />

++<br />

no alteration defined flag alterationn undefined flag<br />

alteration<br />

4 - 36

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

Saved successfully!

Ooh no, something went wrong!