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