6-30
Writing the User Program
ECODRIVE03-FL*-04VRS
DOK-ECODR3-FL*-04VRS**-FK01-EN-P
CPJ - Compare and Jump
or
Target Instruction
Tolerance Range
Compare Operand 2
Operational Sign for Compare Operand 2
Compare Conditions
=
equal to
(with tolerance range)
>
greater than
<
less than
>=
greater than or equal to
<=
less than or equal to
<>
not equal to
(with tolerance range)
Compare Operand 1
The jump to the target location is executed when the comparison has
been made.
If the condition is not met, the program continues at the instruction with
the next higher number. For the compare conditons ’same’ and ’different,’
the condition is met when the difference between the two operands lies
within the tolerance range.
Example: CPJ V600 >= +V601 0000.00 0400
V600 = 100.000
V601 = 090.000
The command branches to instruction 400
The program proceeds to the next instruction following the time period of
one cycle.
CPJ V600
>
= + 601 V602 V603
CPJ V600
>
= +12345.123 1234.12 0400
Summary of Contents for Rexroth OptiFeed-FS EcoDrive 03 FLP04VRS
Page 18: ...XVI Table of Contents ECODRIVE03 FL 04VRS DOK ECODR3 FL 04VRS FK01 EN P ...
Page 348: ...11 18 Command Communications ECODRIVE03 FL 04VRS DOK ECODR3 FL 04VRS FK01 EN P Notes ...
Page 418: ...13 4 Connectors ECODRIVE03 FL 04VRS DOK ECODR3 FL 04VRS FK01 EN P Notes ...
Page 470: ...16 4 IDS Accessories ECODRIVE03 FL 04VRS DOK ECODR3 FL 04VRS FK01 EN P Notes ...
Page 489: ......