Alarms and MLC · SYNTEC

BGND Errors — Background Execution Errors (SYNTEC)

BGND AlarmID in SYNTEC: background program execution errors related to COR errors, available memory, validity of program instructions and G-code arguments, restrictions on the use of S, F, H, D, T, and M codes, as well as the maximum number of background programs.

This page is also available in RU and PL.

What are BGND errors?

The BGND (Background Execution Errors) section contains errors related to the execution of programs in the background mode of the SYNTEC controller. According to the provided table, this group includes both references to corresponding COR errors and separate errors specific to background execution.

For AlarmIDs 001–500, the source table states that the error title corresponds to the COR alarm with the same ID. Therefore, for this part of BGND, the corresponding COR AlarmID must be referenced.

AlarmIDs 501–510 are directly related to background execution conditions. In the provided list, they cover insufficient memory, invalid program instructions, invalid G-code arguments, restrictions on the use of S, F, H, D, T, and M codes, and exceeding the maximum number of background programs.

Which functions and restrictions are related to BGND?

Based on the provided AlarmID list, BGND errors can be divided into the following main areas:

  • COR errors — AlarmIDs 001–500
    For this range, the BGND error title corresponds to the COR error with the same AlarmID.
  • System memory
    Insufficient memory preventing the background program from being executed.
  • Program instructions
    Invalid instructions detected during background program execution.
  • G-code arguments
    Invalid G-code arguments in a program executed in background mode.
  • S codes
    S-code commands are not supported in background execution mode.
  • F codes
    F-code commands are not supported in background execution mode.
  • H codes
    H-code commands are not supported in background execution mode.
  • D codes
    D-code commands are not supported in background execution mode.
  • T codes
    T-code commands are not supported in background execution mode.
  • M codes
    M-code commands are not supported in background execution mode.
  • Number of background programs
    The error occurs when the system-defined maximum number of background programs is exceeded.
Background Program
        ↓
BGND Execution
        ↓
Program Check
        ↓
COR-related AlarmID 001–500
or
BGND-specific AlarmID 501–510
        ↓
Memory / Instruction / G-code
        ↓
S / F / H / D / T / M
        ↓
Background Program Limit
        ↓
BGND AlarmID

Relationship between BGND and COR errors

A specific feature of the provided BGND table is the AlarmID 001–500 range. The original description for this range states: 标题参照相同ID之COR警报 — the title refers to the COR alarm with the same ID.

Therefore, for a BGND AlarmID within the 001–500 range, a separate error meaning should not be created unless it is explicitly defined in the source documentation. The BGND AlarmID should be identified and the corresponding COR AlarmID with the same number should be referenced.

BGND AlarmID 001–500
        ↓
Same AlarmID
        ↓
COR AlarmID
        ↓
Description of the Corresponding COR Error

How to use BGND AlarmID for diagnostics

When a BGND AlarmID appears, first determine whether the number belongs to the 001–500 range or to the separate 501–510 errors. This determines the next diagnostic direction.

If the AlarmID is within the 001–500 range, find the corresponding COR AlarmID with the same number. If the displayed AlarmID is within 501–510, use the description of the specific BGND error and check the background execution condition explicitly indicated by it.

BGND Alarm
      ↓
Identify AlarmID
      ↓
      ├── 001–500
      │       ↓
      │   Find COR with the Same AlarmID
      │       ↓
      │   Check the Corresponding COR Error
      │
      └── 501–510
              ↓
          Check BGND
              ↓
          Memory
          Program Instruction
          G-code Argument
          S / F / H / D / T / M
          Number of Background Programs

Example of a diagnostic direction

For example, according to the provided table, BGND 504 means that background execution mode does not support S-code commands. In this case, the diagnostic direction is determined directly by the contents of the background program.

BGND 504
      ↓
Background Execution Mode
      ↓
S-code Command Detected
      ↓
S-code Is Not Supported by BGND
      ↓
Check the Corresponding Program Command

Important: the 001–500 range in the provided BGND table is defined as a reference to the corresponding COR AlarmIDs. This does not mean that all 500 codes are individually defined in the BGND table. For a specific number, only an existing corresponding COR AlarmID should be used.

For AlarmIDs 501–510, use the exact description of the corresponding BGND error. Do not add meanings, causes, or diagnostic procedures that are not supported by the source table.

BGND Error Table

The table below contains the AlarmIDs from the provided BGND (Background Execution Errors) table. The source structure contains the general 001–500 range, which refers to the corresponding COR errors, and separate BGND AlarmIDs 501–510.

共通部分 (Common)

AlarmIDCategory / Original Description (Chinese)English TranslationDiagnostic Meaning / Notes
001~500标题参照相同ID之COR警报Titles refer to COR alarms with the same IDRefers to standard controller errors (COR) for the corresponding ID range. COR AlarmID reference →
501内存不足,程序执行失败Insufficient memory, program execution failedFree RAM is insufficient to run the background task. System memory cleanup is required.
502不合法的程序指令Invalid program instructionUnsupported or syntactically incorrect instruction found in the background file.
503不合法的G码自变量Invalid G-code argumentError in parameters or variables of the G-code used in background mode.
504背景执行模式不支持S码指令Background execution mode does not support S-code instructionsSpindle speed commands (S) cannot be executed in a background program.
505背景执行模式不支持F码指令Background execution mode does not support F-code instructionsFeed rate commands (F) are not supported by background tasks.
506背景执行模式不支持H码指令Background execution mode does not support H-code instructionsTool length offset commands (H) are unavailable in background mode.
507背景执行模式不支持D码指令Background execution mode does not support D-code instructionsTool radius compensation commands (D) are unavailable in background mode.
508背景执行模式不支持T码指令Background execution mode does not support T-code instructionsTool selection commands (T) are not supported by background tasks.
509背景执行模式不支持M码指令Background execution mode does not support M-code instructionsMiscellaneous functions and technological commands (M) cannot be executed in the background.
510背景执行程序超过最大数量上限Background programs exceeded the maximum quantity limitThe maximum limit of simultaneously running or stored background tasks has been reached.
← All materials in Alarms and MLC