6-34
Writing the User Program
Marker
Bit Number
Flag
7654 3210
M2.00
0010 0001
M2.01
0100 0011
M2.02
0110 0101
M2.03
0010 0001
M2.04
0100 0011
M2.05
0110 0101
M2.06
1000 0111
M2.07
1111 1111
Instruction No.
0000
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
Value
Comment
2 1
After decimal point
4 3
After decimal point
6 5
After decimal point
2 1
Before decimal point
4 3
Before decimal point
6 5
Before decimal point
8 7
Before decimal point
-
Operational sign
Fig. 6-14: Marker Use After Executing the CVT Command
Example: Loading the Decade Switch
Fig. 6-15: Loading the Decade Switch
Commands
SET V600 = +00000000.000000
CVT V600 M2.00 0 0
APE Q0.01 22220001
WAI 00.02
CIO
I1.01.0 M2.03.0 04
APE Q0.01 22220010
WAI 00.02
CIO
I1.01.0 M2.03.4 04
APE Q0.01 22220100
WAI 00.02
CIO
I1.01.0 M2.04.0 04
APE Q0.01 22221000
WAI 00.02
CIO
I1.01.0 M2.04.4 04
CVT V600 M2.00 0 1
JMP 0002
Fig. 6-16: Programming Example: Loading the Decade Switch
ECODRIVE03-FL*-04VRS
M2.03.0 indicates if value is even or odd.
Comment
Initial Value for Marker
Initialize Marker with 0
4. Select Decade Switch 10
Wait Until Level is Stable
Load Value of the Decade Switch
3. Select Decade Switch 10
Wait Until Level is Stable
Load Value of the Decade Switch
2. Select Decade Switch 10
Wait Until Level is Stable
Load Value of the Decade Switch
1. Select Decade Switch 10
Wait Until Level is Stable
Load Value of the Decade Switch
Write Decade Switch Value after V600
Read Decade Switch Again
DOK-ECODR3-FL*-04VRS**-FK01-EN-P
CVT_be_fl_AE.WMF
0
1
2
3
Need help?
Do you have a question about the Rexroth OptiFeed-FS EcoDrive 03 FLP04VRS and is the answer not in the manual?
Questions and answers