ECODRIVE03-FL*-04VRS
Writing the User Program
6-29
DOK-ECODR3-FL*-04VRS**-FK01-EN-P
Example:
0000 CLC 0002
0001 AEA Q0.00.4 0
0002 COU +00000 Q0.00.4 000010
0003 PSI 1 +000050.000 999
0004 WAI 01.000
0005 BCE 0002 Q0.00.4 0
0006 JST 0001
Positioning is executed ten times. Then, output Q0.00.4 is set and the
system waits for a new start signal.
Note on actual count offset for ’COU’ (Count) and ’BAC’ (Branch and
count):
The counter display on the BTV04 or Status 4 via the serial interface can
be used to check the counter status. The actual quantity is not apparent
within the command itself. Once a ’COU’ command (’BAC’ command) has
been read in, the actual quantity can be manipulated. To accomplish this,
the actual quantity offset must be entered. With the ’BAC’ command, the
offset has one less digit.
Actual Quantity
Offset
Effect
+00000
or
-00000
No effect on the actual quantity
+02345
or
-02345
The actual quantity offset, with its operational sign,
is added to the actual quantity
000000
When the operational sign is a ‘0,’ the actual
quantity is set to zero
The actual quantity offset is significant only if the ’COU’ command (’BAC’
command) has been read in (even via the RS interface). When the
program is running, the offset has no meaning. In the user program, the
actual quantity can be reset to zero using the ’CLC’ command.
During a production cycle, it may be necessary to change the desired
target quantity. This can be accomplished by overwriting the quantity
within the command and then resaving.
In order to prevent unintentional repetition of a one-time correction every
time the program is read in, the offset within the command itself is reset to
‘+00000’ once the actual quantity offset has been accepted. This prevents
unintentional changes from being made to the actual quantity.
Note: The current actual quantity of every counter is retained even in the
event of a fault, emergency stop, change of operating mode or
shutdown!
Note: If the target piece count is programmed through a variable for the
COU and BAC commands, the current piece count is automatically
assigned to the variable with the number higher by 1.
The program proceeds to the next instruction following the time period of
one cycle.
Содержание 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: ......