Warnung

Sie lesen eine alte Version dieser Dokumentation. Wenn Sie aktuelle Informationen wünschen, schauen Sie bitte unter 5.0 .

Reserved memory

Registers

Registers reserved by default

Most of the registers used by the plugin can be modified if needed in the input parameters of the programs. But if they are not changed, the default register numbers used are those listed in Default registers.

Tab. 36 Default registers

Register number

Register type

Beschreibung

R[21]

Registers

Stores the last error found by EYE_CHECK_LAST_ERROR

PR[20]

Position Reg

Stores the last part coordinates found by EYE_GET_PART

SR[20]

String Reg

Stores the last response found by EYE_RAW_COMMAND

Bemerkung

Once the registers are chosen, consider them reserved by Asyril.

Reserved registers

Three registers must never be modified by another program.

Tab. 37 Reserved registers for private use

Register number

Register type

R[18]

Registers

R[19]

Registers

R[20]

Registers

Wichtig

If you modify any of these private registers, you may encounter unexpected behavior.

Semaphores

Semaphores are only dedicated to KAREL programs. These semaphores are shared from one KAREL program to another. Therefore, if you use another KAREL program, make sure you do not use the same semaphore as these:

  • Semaphore 22

  • Semaphore 23

  • Semaphore 24

  • Semaphore 25

  • Semaphore 26

  • Semaphore 27

Warnung

These semaphores are dedicated to communication synchronization. If you modify one of them, you may encounter unexpected behavior.