6-34
Writing the User Program
ECODRIVE03-FL*-04VRS
DOK-ECODR3-FL*-04VRS**-FK01-EN-P
Marker
Flag
Bit Number
7654 3210
Value
Comment
M2.00
0010 0001
2 1
After decimal point
M2.01
0100 0011
4 3
After decimal point
M2.02
0110 0101
6 5
After decimal point
M2.03
0010 0001
2 1
Before decimal point M2.03.0 indicates if value is even or odd.
M2.04
0100 0011
4 3
Before decimal point
M2.05
0110 0101
6 5
Before decimal point
M2.06
1000 0111
8 7
Before decimal point
M2.07
1111 1111
-
Operational sign
Fig. 6-14: Marker Use After Executing the CVT Command
Example: Loading the Decade Switch
CVT_be_fl_AE.WMF
Fig. 6-15: Loading the Decade Switch
Instruction No.
Commands
Comment
0000
SET V600 = +00000000.000000
Initial Value for Marker
0001
CVT V600 M2.00 0 0
Initialize Marker with 0
0002
APE Q0.01 22220001
4. Select Decade Switch 10
0
0003
WAI 00.02
Wait Until Level is Stable
0004
CIO I1.01.0 M2.03.0 04
Load Value of the Decade Switch
0005
APE Q0.01 22220010
3. Select Decade Switch 10
1
0006
WAI 00.02
Wait Until Level is Stable
0007
CIO I1.01.0 M2.03.4 04
Load Value of the Decade Switch
0008
APE Q0.01 22220100
2. Select Decade Switch 10
2
0009
WAI 00.02
Wait Until Level is Stable
0010
CIO I1.01.0 M2.04.0 04
Load Value of the Decade Switch
0011
APE Q0.01 22221000
1. Select Decade Switch 10
3
0012
WAI 00.02
Wait Until Level is Stable
0013
CIO I1.01.0 M2.04.4 04
Load Value of the Decade Switch
0014
CVT V600 M2.00 0 1
Write Decade Switch Value after V600
0015
JMP 0002
Read Decade Switch Again
Fig. 6-16: Programming Example: Loading the Decade Switch
Содержание Rexroth OptiFeed-FS EcoDrive 03 FLP04VRS
Страница 18: ...XVI Table of Contents ECODRIVE03 FL 04VRS DOK ECODR3 FL 04VRS FK01 EN P ...
Страница 58: ...4 20 General Instructions for Start Up ECODRIVE03 FL 04VRS DOK ECODR3 FL 04VRS FK01 EN P Notes ...
Страница 187: ...ECODRIVE03 FL 04VRS Functions 8 41 DOK ECODR3 FL 04VRS FK01 EN P fp5007fj_AE WMF Fig 8 22 Control Loop ...
Страница 241: ...ECODRIVE03 FL 04VRS Parameters 9 29 DOK ECODR3 FL 04VRS FK01 EN P SIC_2_AE WMF Fig 9 12 Signal Control ...
Страница 348: ...11 18 Command Communications ECODRIVE03 FL 04VRS DOK ECODR3 FL 04VRS FK01 EN P Notes ...
Страница 418: ...13 4 Connectors ECODRIVE03 FL 04VRS DOK ECODR3 FL 04VRS FK01 EN P Notes ...
Страница 469: ...ECODRIVE03 FL 04VRS IDS Accessories 16 3 DOK ECODR3 FL 04VRS FK01 EN P IDS_mas_AE WMF Fig 16 5 IDS Dimensions ...
Страница 470: ...16 4 IDS Accessories ECODRIVE03 FL 04VRS DOK ECODR3 FL 04VRS FK01 EN P Notes ...
Страница 489: ......