5-16
Writing the User Program
CLM01.4-LAP-01VRS
DOK-CONTRL-CLM01.4LAP1-FK01-EN-P
BCE – Branch Conditional on Bit
or
0 = Low - Jump when status is ’0’
1 = High - Jump when status is ’1’
Bit:
M0 – M5
I0 - I1
Q0 - Q1
Fieldbus :
Q2, I2
Target location
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 (input values 2 through 9 for future
expansions, e.g., BCD, Gray code, etc.)
1 = evaluate BCD
Number of bits: 1 to 8
Low bit:
M0 – M5
I0 - I1
Q0 - Q1
Fieldbus :
Q2, I2
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 location of >2999 is produced, the error message
‘illegal instruction’ is generated.
The target location is calculated as follows:
(
)
Interval
Jump
Scaling
Total
Offset
Instr
n
Instructio
Target
×
+
=
.
Fig. 5-6: Calculation of Target Location with Binary Input Logic
BCE V602 M2.02.3 V600
BCE 0100 M2.02.3 1
BIC 0234 10 M2.02.3 2 1
BIC V600 V601 M2.02.3 2 1
Summary of Contents for CLM1.4
Page 117: ...7 20 Functions CLM01 4 LAP 01VRS DOK CONTRL CLM01 4LAP1 FK01 EN P Notes...
Page 205: ...9 42 Interfaces CLM01 4 LAP 01VRS DOK CONTRL CLM01 4LAP1 FK01 EN P Notes...
Page 213: ...10 8 Command Communications CLM01 4 LAP 01VRS DOK CONTRL CLM01 4LAP1 FK01 EN P Notes...
Page 233: ...11 20 Diagnostic Messages CLM01 4 LAP 01VRS DOK CONTRL CLM01 4LAP1 FK01 EN P Notes...
Page 272: ......
Page 273: ...Printed in the U S A Barcode...