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

Create successful ePaper yourself

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

<strong>PC</strong> <strong>Control</strong> <strong>645</strong>-<strong>12M</strong> used as PLC<br />

4.6.7. Jump commands<br />

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

yes<br />

++<br />

no alteration<br />

defined flag alteration<br />

undefined flag alteration<br />

4.6.8. Copy and BCD commands<br />

Command<br />

Operand<br />

(example)<br />

Byte Time<br />

[µs]<br />

Function<br />

C<br />

*)<br />

Z<br />

*)<br />

JP Jump label 4 0.3 unconditional jump -- --<br />

J<strong>PC</strong> Jump label 8 0.6 conditional jump if yes (log. 1) -- --<br />

J<strong>PC</strong>N Jump label 8 0.6 conditional jump if no (log. 0) -- --<br />

JP= Jump label 4 0.3 jump if equal -- --<br />

JP Jump label 4 0.3 jump if unequal -- --<br />

JP< Jump label 4 0.3 jump if smaller -- --<br />

JP> Jump label 4 0.3 jump if greater -- --<br />

JP= Jump label 4 0.3 jump if greater or equal -- --<br />

J<strong>PC</strong>S Jump label 4 0.45 jump if Carry bit = 1 -- --<br />

J<strong>PC</strong>C Jump label 4 0.45 jump if Carry bit = 0 -- --<br />

JPZS Jump label 4 0.45 jump if Zero bit = 1 -- --<br />

JPZC Jump label 4 0.45 jump if Zero bit = 0 -- --<br />

JP+ Jump label 4 0.45 jump if positive (two's complement) -- --<br />

JP- Jump label 4 0.45 jump if negative (two's complement) -- --<br />

Command<br />

Operand<br />

(example)<br />

Byte Time<br />

[µs]<br />

Function<br />

C<br />

*)<br />

Z<br />

*)<br />

C1T8 I00.00 16 12 copy 1bit addresses into 8bit accu -- --<br />

C8T1 O00.00 16 10.6 copy 8bit accu into 1bit addresses -- --<br />

C1T16 I00.00 16 21.5 copy 1bit addresses into 16bit accu -- --<br />

C16T1 O00.00 16 19.2 copy 16bit accu into 1bit addresses -- --<br />

BINBCD3 Accu 4 5.2 binary-to-BCD conversion (3 decades) ++ ++<br />

BCDBIN3 Accu 4 5.1 BCD-to-binary conversion (3 decades) ++ ++<br />

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

++<br />

no alteration defined flag alteration undefined flag<br />

alteration<br />

4 - 37

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

Saved successfully!

Ooh no, something went wrong!