6-20
Writing the User Program
ECODRIVE03-FL*-04VRS
DOK-ECODR3-FL*-04VRS**-FK01-EN-P
BCE - Branch Conditional on Bit
or
0 = Jump when status is ’0’
1 = Jump when status is ’1’
Bit:
M0 – M5, M8
I0 - I4
Q0 - Q2
Target Instruction
The jump is executed if the programmed bit has met the preselected
condition.
If the condition is not met, the program continues at the instruction with
the next higher number.
The program continues after the time period of one cycle.
BIC - Branch Conditional on Bit Field Value
or
Mode
0 = Evaluate as binary
1 = Evaluate BCD
Number of Bits:
1 to 8
Start Bit (Low Bit):
M0 – M5, M8, I0 - I4, Q0 - Q2
Jump Length :
Maximum value = 99
Jump Offset
This command executes a jump to a calculated target location. The
destination depends on the state of the programmed bits. Up to 8 bits are
considered. If a target instruction is >0999, the error message "F- 03 02 –
NC-Block Nr.illegal." is issued.
If digits >9 result from the BCD evaluation, the error message "F- 02 14 –
Input Not BCD" is issued.
The target location is calculated as follows:
(
)
Length
Jump
Scaling
Total
Offset
n
Instructio
n
Instructio
Target
×
+
=
Fig. 6-11: Calculation of the Target Instruction, BIC Command
The program proceeds to the target location following the time period of
one cycle.
BCE V602 M0.02.3 V600
BCE 0100 M0.02.3 1
BIC 0234 10 M2.02.3 2 1
BIC V600 V601 M2.02.3 2 1
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: ......