
5-14
Writing the User Program
CLM01.4-LAP-01VRS
DOK-CONTRL-CLM01.4LAP1-FK01-EN-P
APE – Byte Set/Clear
Bit field
Byte:
M2, M3, M4, Q1
Fieldbus :
Q2.02.0-Q2.05.7
This command represents an extension of the ’AEA’ command. It can be
used to switch the bits in a byte. At the same time, each of the bits can be
controlled independently.
Three different conditions are possible:
0 =
The bit is set to ’0’.
1 =
The bit is set to ’1’.
2 =
The status of the bit remains unchanged
Example: a)
0008_APE_M2.02 _2 1 0 0 2 2 1 0
7 6 5 4 3 2 1 0
Bits 0, 4 and 5 are set to ’0.’
Bits 1 and 6 are set to ’1.’
Bits 2, 3 and 7 are not changed.
Example: b)
0008_APE_M2.02 _2 1 1 1 0 0 0 2
7 6 5 4 3 2 1 0
Bits 1, 2 and 3 are set to ’0.’
Bits 4, 5 and 6 are set to ’1.’
Bits 0 and 7 are not changed.
The program proceeds to the next instruction following the time period of
one cycle.
APE M2.02 21022001
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...