Siemens SINUMERIK codes
Siemens SINUMERIKProgram/G-codeIntermediate30-60 minutes

12586

Siemens 12586 - Block motion synchronous action: type conflict in variable

Block motion synchronous action: type conflict in variable

Type conversion is not possible for online variables $A. or $V., which are evaluated or written in the interpolation cycle. Only variables of the same type can be linked or assigned to one another. Example 1: WHENEVER $AA_IM[X] > $A_IN[1] DO. An online variable of the REAL type (actual value) cannot be compared with a variable of the BOOL type (digital input) The operation is possible if the following change is made: WHENEVER $AA_IM[X] > $A_INA[1] DO. Example 2: WHENEVER. DO $AC_MARKER[1]=$AA_IM[X]-$AA_MM[X] Improvement: WHENEVER. DO $AC_PARAM[1]=$AA_IM[X]-$AA_MM[X] Control reaction: Correction block is reorganized. Interface signals are set. Alarm display.

Safety

  • Only qualified personnel should diagnose and clear control alarms; follow the machine builder's safety procedures and lockout/tagout where hardware work is required.

Common Causes

  • Type conversion is not possible for online variables $A.. or $V.., which are evaluated or written in the interpolation cycle.
  • Only variables of the same type can be linked or assigned to one another.
  • Example 1: WHENEVER $AA_IM[X] > $A_IN[1] DO ... An online variable of the REAL type (actual value) cannot be compared with a variable of the BOOL type (digital input) The operation is possible if the following change is made: WHENEVER $AA_IM[X] > $A_INA[1] DO ... Example 2: WHENEVER ... DO $AC_MARKER[1]=$AA_IM[X]-$AA_MM[X] Improvement: WHENEVER ... DO $AC_PARAM[1]=$AA_IM[X]-$AA_MM[X]

Troubleshooting Steps

  1. 1Modify part program: Use variables of the same type.
  2. 2Clear alarm with NC START or RESET key and continue the program

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.