Herunterladen Inhalt Inhalt Diese Seite drucken

B&R BRCOMP1-0 Anwenderhandbuch Seite 240

Inhaltsverzeichnis

Werbung

Verfügbare Sprachen

Verfügbare Sprachen

B&R COMPACT PLC
33.2 WRITING DATA
When writing data to an EEPROM, remember that there is a slight delay in comparison to writing to a
flag or register.
To write data to a block, the STL macro DTEE is used
The STL macro DTEE is used for programming parameter data which does not change while a facility
is in operation.
NOTE:
If the application program is running in the EEPROM, the additional EEPROM cannot
be programmed.
If data is programmed in the EEPROM, the rest of the program is not processed!
For writing to the EEPROM during a program cycle, the function block MCEE can be
used. This is stored on the "Utility.01" diskette of standard software package 1
(SWPLCSTD01-0 Rev. 00.30 or higher).
Send parameters:
Return parameters:
Used registers:
- 240 -
Source
...
Index register
Destination ...
Block number in R 0881
Offset to address $3800 in R 0882&
Data length ...
In accumulator D
No error:
Carry = 0
...
Data transfer OK
R 0881
...
Block number of the next free byte
R 0882&
...
Offset to $3800 of the next free byte
Error:
Carry = 1
...
Data transfer faulty
Accu. A
...
Error number:
R 0881
...
Block number of the defect memory location
R 0882&
...
Offset to $3800 of the defect memory location
R 0880
...
Run-time counter
R 0884&
...
Current data length
R 0886&
...
Source pointer
1
-
Data length greater than free memory
2
-
EEPROM defect

Quicklinks ausblenden:

Werbung

Inhaltsverzeichnis
loading

Diese Anleitung auch für:

Brcomp2-0

Inhaltsverzeichnis