EasyManua.ls Logo

Bosch Rexroth OptiFeed-FS EcoDrive 03 FLP04VRS - Page 98

Bosch Rexroth OptiFeed-FS EcoDrive 03 FLP04VRS
490 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Table of Contents

Related product manuals