6-18
Writing the User Program
ECODRIVE03-FL*-04VRS
DOK-ECODR3-FL*-04VRS**-FK01-EN-P
APE - Byte Set / Clear
Bit Field
Byte:
M2, M3, M4 ,M8
DKC21.3 :
Q0.00.4-Q0.01.3
DKC 3.3 :
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 bits 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 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: ......