CLM01.4-LAP-01VRS
Writing the User Program
5-17
DOK-CONTRL-CLM01.4LAP1-FK01-EN-P
Examples:
M2.03
M2.02
Starting bit
:
2
1
0
7
6
5
4
3
2
1
0
Current status
:
0
1
1
0
1
1
0
1
0
1
1
1) Input
: BIC 0500 11 M2.02.4 5 0
Selected bits:
1
0
1
1
0
Binary value
:
2
4
2
3
2
2
2
1
2
0
corresponds to decimal value
:
16
8
4
2
1
Target location
: (16 + 0 + 4 + 2 + 0) = 22
22 * 11 + 500 = 0742
2) Input
: BIC 0300 02 M2.02.2 8 0
Selected bits:
1
1
0
1
1
0
1 0
Binary value
:
2
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
corresponds to decimal value
:128 64 32 16 8
4
2 1
Target instruction : (128 + 64 + 0 + 16 + 8 + 0 + 2 + 0) = 218
218 * 02 + 300 = 0736
The program proceeds to the target location following the time period of
one cycle.
BIO - Branch Conditional on Byte Compare
or
Assigned bit field
Compare byte 2 : M0 – M5, I0 - I2, Q0 - Q2
Compare byte 1 : M0 – M5, I0 - I2, Q0 - Q2
Target instruction
The assigned bit field is to designate which bits of the two compare bytes
are to be checked for which states.
0 = The bit is checked to see if it is set to '0.'
1 = The bit is checked to see if it is set to '1.'
2 = The bit is not checked
The condition is met when the state of all selected bits in both compare
bytes matches the state of the assigned bit field.
The jump is executed when all conditions are met.
BIO V600 M2.02 Q1.06 01201201
BIO 0123 M2.02 Q1.06 01201201
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...