KUKA Robot codes
KUKA RobotSystemBasic

KRC0695

KUKA Robot KRC0695 - MODULE USED BY ANOTHER PROCESS 2031

MODULE USED BY ANOTHER PROCESS 2031

A KRL program object (module, function, or variable) referenced in the code is currently being used or locked by another process, preventing simultaneous access. This typically occurs when multiple tasks or processes attempt to access the same resource without proper synchronization mechanisms.

Common Causes

  • Multiple programs or tasks attempting to access the same module or variable simultaneously without mutual exclusion
  • A background process or interrupt routine holding a lock on the requested object
  • Circular dependencies between modules where process A waits for process B while process B waits for process A
  • Insufficient use of semaphores, mutexes, or other synchronization primitives in multi-tasking applications
  • A previously running task not properly releasing resources before a new task attempts to access them

Troubleshooting Steps

  1. 1Identify which object (@P1@) is causing the conflict by reviewing the alarm details and program execution logs
  2. 2Check all running tasks and processes to determine which one currently holds the lock on the disputed resource
  3. 3Implement proper synchronization mechanisms such as semaphores or mutexes to manage concurrent access to shared objects
  4. 4Review the program logic for circular dependencies and redesign the task execution sequence if necessary
  5. 5Ensure all tasks properly release locks and resources when finished by using appropriate KRL commands (e.g., RELEASE statements)
  6. 6Test the multi-tasking application in isolation to verify that resource conflicts are resolved before deploying to production

Seeing Multiple Alarms?

Seeing another alarm with this one? Enter the code.

Get machine-aware diagnosis

AxisMD logs alarms against your actual machines, tracks patterns, and gives AI context your manual doesn't have.

Start free

Was this guide helpful?

Always verify with your machine manual or a certified technician before performing service procedures.