警告

あなたはこのドキュメントの古いバージョンを読んでいます。 最新の情報を知りたい場合は、以下を参照してください 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.

表 36 Default registers

Register number

Register type

説明

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

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

Reserved registers

Three registers must never be modified by another program.

表 37 Reserved registers for private use

Register number

Register type

R[18]

Registers

R[19]

Registers

R[20]

Registers

重要

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

警告

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