System Architecture · SYNTEC

How CNC Kernel, PLC, HMI, Servo Drives, and I/O Devices Communicate in SYNTEC CNC Systems

How SYNTEC CNC Kernel, PLC, HMI, servo drives and I/O communicate: C/S/R interfaces, M-code exchange, PLC address areas and systematic signal-path diagnostics.

This page is also available in RU and PL.

SYNTEC CNC Control System Architecture

A modern Computer Numerical Control (CNC) system consists of several interconnected software and hardware components. Each component is responsible for a specific part of machine operation.

The main components of a SYNTEC CNC control system include:

  • CNC Kernel — the computational core of the CNC system.
  • PLC — the Programmable Logic Controller.
  • HMI — the Human-Machine Interface.
  • I/O Interface — modules for processing electrical input and output signals.
  • Servo Drives & Motors — servo drives and motors controlling machine axes.
  • NC Program — the machining program.
  • External Devices — sensors, valves, tool magazines, auxiliary mechanisms, and other machine devices.

These components operate together but perform different tasks. The NC Program is input data for the control system rather than a separate hardware unit.

The CNC Kernel is primarily responsible for processing NC programs, interpolation, and motion control. The PLC executes the machine's discrete control logic, controls auxiliary mechanisms, and exchanges signals between the CNC system and machine equipment.

The HMI provides the operator with tools for machine operation, configuration, and diagnostics.

A dedicated communication interface exists between the CNC Kernel and PLC, using the C, S, and R address areas.

Understanding this interface is essential for diagnosing CNC machines equipped with SYNTEC control systems.

SYNTEC functional diagram: CNC Kernel, PLC, HMI, NC program, servo drive system and I/O devices; I/O and C/S/R signal directions
SYNTEC functional diagram: CNC Kernel, PLC, HMI, NC program, servo drive system and I/O devices; I/O and C/S/R signal directions

The functional diagram shows the directions of command, status and data exchange. Its arrows do not represent a specific electrical cable or the only possible connection method. The servo drive and motor are separate devices combined into one functional block in the diagram; the NC Program is shown as an object handled through the HMI, but its commands are executed by the CNC Kernel.

Hardware components are described in more detail in SYNTEC CNC Control System Architecture.

All Ladder diagrams below are educational examples that assume execution of the illustrated rungs and no other writes to the same addresses. Sxx, TIM, CMP and arrow notation illustrate operating principles and are not ready-to-import IL code. The G-code fragments explain how system functions are divided; they are not complete, safe programs ready to run on a machine.

CNC Kernel — The Computational Core of the CNC System

The CNC Kernel is the main software component responsible for numerical control functions.

It processes commands from the NC program and generates motion commands for the machine's motion control system.

Its main functions include:

  • Interpreting NC programs containing G-codes and M-codes.
  • Calculating tool movement trajectories.
  • Performing linear and circular interpolation.
  • Planning feed rates, acceleration, and deceleration.
  • Managing coordinate systems.
  • Processing tool offsets and compensation.
  • Generating motion commands for the servo drive system.
  • Processing system states and alarms.

G01 Execution Example

Consider the following command:

G90 G01 X100. Y50. F500

With the plane, coordinate system, measurement units and feed mode established, the CNC Kernel determines the starting and target coordinates, calculates the movement trajectory, and generates coordinated commands for the X and Y axes.

The PLC does not calculate linear interpolation.

The PLC may monitor the conditions required to permit machine operation, but trajectory calculations are performed by the CNC Kernel.

Communication Between the CNC Kernel and Servo Drives

The CNC Kernel communicates with the motion control system, which sends commands to the servo drives.

Depending on the SYNTEC controller model and hardware configuration, different motion control interfaces may be used.

The servo drive controls electrical power to the motor and uses control loops and feedback. The distribution of position, speed and current control loops between the CNC and drive depends on the interface type and control mode: these loops must not all be assumed to close inside the servo drive in every configuration.

Therefore, the CNC Kernel and servo drive perform different functions:

The CNC Kernel calculates the required motion, while the servo drive system executes it at the motor level.

PLC — The Machine Logic Controller

The PLC executes Ladder Diagram instructions and controls auxiliary machine functions.

Unlike the CNC Kernel, the PLC primarily processes signal states, logical conditions, and operating sequences.

Typical PLC functions include:

  • Tool magazine control.
  • Tool clamping and unclamping.
  • Pneumatic valve control.
  • Position sensor monitoring.
  • Coolant and lubrication pump control.
  • Mechanism readiness checks.
  • User-defined alarm processing.
  • Exchange of commands and status information between machine equipment and the CNC Kernel.

PLC Operation Example

Suppose a pump must operate only when two conditions are satisfied:

  • Pump operation is permitted.
  • No alarm is active.

A simplified Ladder diagram:

──| |────|/|──────────( )──
  A100    A101         O10

Where:

  • A100 — internal permission signal.
  • A101 — internal alarm signal.
  • O10 — PLC output controlling the corresponding actuator.

The output turns ON only when A100 = 1 and A101 = 0.

This illustrates the basic PLC operating principle: the controller evaluates conditions and generates the required output.

In an actual machine, additional interlocks, feedback signals, and fault monitoring may be included.

I/O Interface — Connecting the PLC to Physical Equipment

The I/O interface connects PLC logic to the machine's electrical devices.

The part considered here consists of input and output channels used to exchange discrete signals. Other types of communication, including analog signals and digital networks, depend on the hardware configuration.

I — Input Bits

The I address area is used to process physical input signals.

Example:

I10

A position sensor, limit switch, or push button may be connected to the corresponding input.

When the input module detects an active signal, the associated bit becomes ON according to the electrical circuit and input configuration.

The PLC can evaluate this bit using an NO or NC contact.

──| |──────────────( )──
  I10                A100

Physical input I10 controls internal bit A100.

O — Output Bits

The O address area is used to control physical outputs.

Example:

──| |──────────────( )──
  A100               O10

When the condition is TRUE, the PLC activates output O10.

An output channel may control a relay, driver input, contactor through a suitable intermediate circuit, or solenoid valve.

The actual load type depends on the output module specifications and the machine's electrical design.

Why Input and Output States Must Be Checked Separately

An active PLC output command does not guarantee that the physical operation has been completed.

For example, the PLC sets O10 = 1, but the actuator does not respond.

Possible causes include:

  • Missing actuator supply voltage.
  • Broken wiring.
  • Faulty relay or valve.
  • Defective output channel.
  • Mechanical jamming.
  • Insufficient pneumatic pressure.

Therefore, diagnostics must distinguish between the logical PLC state, the electrical state of the output channel, and the actual state of the mechanism.

CNC Kernel ↔ PLC Interface: S, C, and R Address Areas

Communication between the CNC Kernel and PLC takes place through dedicated address areas.

The most important characteristic is that these address areas have different purposes.

Address areaMain directionFunction
SCNC Kernel → PLCSystem status signals
CPLC → CNC KernelControl commands
RDefined for each registerNumerical data and interface registers; collectively used for bidirectional exchange

S Bits — CNC Kernel System Status

The S address area transfers CNC Kernel status information to the PLC.

For example, the Kernel may inform the PLC about program execution, the selected operating mode, or the processing of a particular system function.

The PLC uses these states as conditions in Ladder logic.

──| |────────────────( )──
  Sxx                 A100

Here, Sxx represents a specific system status bit whose function is defined in the SYNTEC interface documentation.

Basic principle: S bits allow the PLC to determine what is happening inside the CNC Kernel.

The PLC should not arbitrarily write values to the S system address area instead of the Kernel.

Signal assignments are listed in the SYNTEC S-bit reference.

C Bits — Commands from PLC to CNC Kernel

The C address area transfers control commands from the PLC to the CNC Kernel.

Unlike S bits, which report system states, C bits request specific actions or establish control states defined by the interface.

Examples from the SYNTEC interface:

AddressFunction
C0Cycle Start
C1Feed Hold
C6X Axis JOG+
C7X Axis JOG−
C36Emergency Stop
C37External Reset
C38M/S/T Finish
C40Single Block
C44Optional Stop

The exact function of each bit must be checked against the documentation for the relevant CNC version and configuration. C0 and C000, or C36 and C036, refer to the same address numbers written with different numbers of leading zeros.

Basic principle: C bits allow the PLC to send control requests to the CNC Kernel.

Detailed assignments and restrictions are given in the SYNTEC C-bit reference.

C0 Example — Cycle Start

Consider the following simplified Ladder circuit:

──| |────| |─────────( )──
  I10     A100         C0

Assume:

  • I10 — start button signal.
  • A100 — start permission.
  • C0 — Cycle Start command.

When both conditions are TRUE, the PLC activates C0.

The CNC Kernel receives a request to start the NC program.

However, actual program execution also depends on the operating mode and system readiness conditions. Command generation requirements, including signal edge and duration, must be checked in the documentation for the specific CNC.

The PLC does not execute the machining NC program itself.

C36 Example — Emergency Stop

In the SYNTEC documentation, C36 is designated as an Emergency Stop command.

The PLC may generate this signal according to the machine's control logic.

When C36 is active, the CNC Kernel receives the corresponding emergency stop condition and enters the defined state.

However, software processing of C36 does not replace a hardware functional safety system.

Emergency stop functions on industrial machinery must be implemented using the safety measures specified in the machine design, such as dedicated safety circuits, safety relays, or a Safety PLC.

R Registers — Numerical Data Exchange Between CNC and PLC

The R address area contains numerical registers used for data storage and information exchange.

Unlike individual C and S bits, an R register can store a numerical value.

Example:

R13 = 2

Depending on the address definition, a value may represent an operating mode, tool number, parameter, or another machine state. R13 belongs to the CNC operating-mode selection interface; the example value is not a recommendation to change this register arbitrarily.

For registers that support bit-level access, the following notation can be used:

R45.10

This represents bit 10 of register R45, not a separate register numbered 45.10.

Not all R registers support unrestricted writing or bit-level access. Some are read-only, while others allow writing by the PLC, HMI, or other system components.

The exact access permissions are defined by the SYNTEC address documentation. Check them in the R Register Interface reference.

Example of M-Code Communication Between CNC Kernel and PLC

Consider a typical situation in which an NC program contains an auxiliary function command.

N100 G01 X100. F500
N110 M08
N120 G01 Y50.

In this example, M08 is used as a coolant ON command, provided this function is supported by the machine configuration.

CNC Kernel Detects M08

When block N110 is executed, the CNC Kernel recognizes the M08 command.

The standard SYNTEC interface uses registers and system signals to transfer information about the requested M-function to the PLC.

For example, R1 is used for M-code information in the corresponding configuration, while S29 is associated with M-function processing.

PLC Processes the Command

The PLC checks the received command, evaluates the required conditions, and executes the coolant activation logic.

A simplified sequence:

M08 received
     |
     v
Check coolant permission
     |
     v
Activate coolant output
     |
     v
Handle completion as required by machine logic

The actual Ladder program may contain additional conditions, including pump readiness, alarm states, operating modes, and other interlocks.

PLC Confirms Completion

SYNTEC uses C38 — M/S/T Finish — in the M/S/T completion interface. For operations requiring completion confirmation, the PLC sets the corresponding finish state after the required operation is complete.

Not every auxiliary function needs a separate wait-and-confirm sequence. In the manufacturer's recommended arrangement, functions such as coolant control that do not require completion confirmation can be handled without turning C38 OFF for the operation. Whether M08 requires a wait depends on the machine's implemented logic; it must not be assumed to require a separate C38 transition in every case.

The CNC Kernel continues executing the NC program according to the configured M-code processing sequence.

Complete Communication Sequence

NC Program: M08
       |
       v
CNC Kernel recognizes M08
       |
       v
M-code information: R1 / S29
       |
       v
PLC checks the command
       |
       v
PLC controls coolant equipment
       |
       v
M/S/T completion: C38
(with or without a separate wait, according to machine logic)
       |
       v
CNC Kernel continues NC execution

This example demonstrates bidirectional communication between the CNC Kernel and PLC.

The Kernel determines which function is required, the PLC executes the corresponding logic, and the completion state required by the interface is maintained or generated.

The detailed sequence is described in How to Write M, S, T Code Ladder Logic in SYNTEC CNC.

HMI — Human-Machine Interface

HMI (Human-Machine Interface) is the software interface through which the operator interacts with the CNC system.

The HMI allows the operator to:

  • Select operating modes.
  • View axis coordinates.
  • Load and edit NC programs.
  • Configure machining parameters.
  • View alarms and messages.
  • Monitor input and output states.
  • Perform PLC diagnostics.
  • Control available CNC functions.

The HMI communicates with the CNC Kernel through the controller's software interface.

Depending on the function, certain commands may also be processed through the PLC and associated interface registers.

HMI vs. CNC Kernel

The HMI displays information and provides command input.

The CNC Kernel performs calculations, processes NC programs, and controls motion.

For example, the operator enters:

G01 X100. F500

The HMI provides the interface for editing and starting the program.

The CNC Kernel processes the command and generates the required motion.

The PLC provides the necessary machine operating conditions.

PLC Diagnostics Through the HMI

SYNTEC systems provide PLC diagnostic screens for monitoring different address areas.

Depending on the controller model and software version, the following screens may be available:

  • PLC I Bit.
  • PLC O Bit.
  • PLC C Bit.
  • PLC S Bit.
  • PLC A Bit.
  • PLC Register.
  • PLC Timer.
  • PLC Counter.

These screens help identify where a control sequence fails: whether an input signal is missing, a PLC command has not been generated, or the CNC Kernel has not entered the required state.

NC Program — Machining Program

An NC program contains machining instructions that define how a part is processed.

Common commands include:

  • G-codes — motion, coordinate modes, and machining functions.
  • M-codes — auxiliary functions.
  • S — spindle speed or cutting-speed command in the corresponding mode.
  • T — tool selection according to the CNC tool-addressing convention.
  • F — feed command interpreted according to the active feed mode.

Example:

%
O1000
G90 G54 G17
T1 M06
S6000 M03
G00 X0. Y0.
G01 Z-2. F150.
G01 X100. F500.
M05
M30
%

This is an illustrative fragment, not a prepared machining program: it does not define all initial modes, safe movements, offsets and tool-change conditions. It must not be transferred to a machine without development and verification for the specific setup.

During program execution, the CNC Kernel calculates motion, while the required auxiliary functions are handled through the appropriate control mechanisms.

Some M-codes may require communication with the PLC.

Therefore, an NC program defines the required machining sequence but does not contain the machine's entire electrical and logical control system.

Servo Drives & Motors — Motion Control System

Servo drives receive motion commands from the CNC motion control system and control electric motors.

The CNC controller calculates the required coordinates and motion parameters, while the servo drive implements the corresponding electrical and mechanical control.

CNC motion systems use feedback, but its location and the distribution of control loops depend on the hardware configuration and control mode.

The servo drive and CNC use the feedback signals available to them for motion regulation and monitoring.

Faults may include communication errors, overloads, feedback errors, and other events reported to the CNC system.

Why the PLC Does Not Replace a Servo Drive

The PLC processes discrete logic and auxiliary commands.

The servo drive performs high-speed motor control.

The CNC Kernel generates motion commands.

Although SYNTEC supports special PLC Axis functions, standard coordinate-axis control and interpolation are performed by the CNC motion control system rather than ordinary Ladder contacts.

Example of a Complete Machine Control Sequence

Consider activating an auxiliary mechanism using an M-code.

StepComponentAction
1NC ProgramContains the M08 command
2CNC KernelRecognizes M08
3Kernel–PLC InterfaceTransfers M-code information
4PLCChecks activation conditions
5I/O InterfaceActivates the assigned output
6External DevicePerforms the physical operation
7PLCHandles the required completion conditions
8C38Represents M/S/T readiness or completion according to the implemented logic
9CNC KernelContinues NC program execution

Physical completion checks and C38 transitions are required only where the algorithm calls for them. Coolant activation can be handled without a separate wait, as described above.

This example demonstrates that even a simple auxiliary command may pass through several components.

When a malfunction occurs, the technician must determine at which stage the control sequence has failed.

Practical Diagnostics of CNC–PLC Communication

Suppose the coolant pump does not start after an M08 command.

Diagnostics should be performed systematically.

Check the NC Program

Verify that the CNC is actually executing M08 and is not in a state that prevents the command from being processed.

Check the CNC–PLC Interface

Check the corresponding registers and system signals through which the CNC communicates the M-code to the PLC.

If the M08 information does not appear in the expected interface, the cause may involve the CNC software configuration, operating mode, or M-code processing. Read signals can be brief, so failing to observe ON on a slowly refreshing diagnostic screen does not by itself prove that the command was absent.

Check the Ladder Program

Locate the PLC logic responsible for M08 and determine:

  • Which input conditions are used.
  • Which logical interlocks are active.
  • Which output controls the pump.
  • Which signals confirm completion, if confirmation is required.

Check the Physical I/O

If the PLC output is active but the pump does not operate, inspect the electrical circuit, output module, power supply, switching device, and load circuit.

If the output is not active, continue investigating the PLC logic and its input conditions.

Check the Completion Confirmation

If the pump starts but the CNC continues waiting for the M-code to finish, inspect the C38 completion logic and the corresponding completion signals. This check applies to an implementation in which the command actually requires a wait.

This approach helps distinguish a CNC Kernel issue from a PLC, I/O, or physical equipment malfunction.

Important Differences Between SYNTEC PLC Address Areas

Correct Ladder program analysis requires understanding the purpose of each PLC address area.

Although these address types may appear together in the same logical rung, their functions differ significantly.

Some addresses represent physical inputs and outputs, others are used for internal PLC logic, and others support communication between the CNC Kernel and PLC.

Main Address Areas and Element Categories

DesignationTypeMain function
IBitPhysical PLC inputs
OBitPhysical PLC outputs
ABitInternal auxiliary PLC variables
CBitControl commands from PLC to CNC Kernel
SBitSystem status signals from CNC Kernel to PLC
RRegister; bit-level access for supported addressesNumerical data, internal variables, and CNC–PLC data exchange
TMTimer object and its logical resultTiming; TM contacts evaluate the result
CTCounter object and its logical resultEvent counting; CT contacts evaluate the result
AXEditor axis-element categorySupported PLC Axis instructions
JMPEditor jump/label categoryProgram jumps in supported configurations
JSRSubroutine-call categorySubroutine organization and calls

AX, JMP and JSR in the editor list must not be treated as universal memory areas equivalent to I, O or R. The presence of a category does not confirm that every related instruction is available on every controller.

Specific address ranges, read/write permissions, and the functions of system variables depend on the SYNTEC software version and controller configuration.

I — PLC Input Signals

The I address area receives information from physical devices connected through the I/O interface.

Example:

I10 = 1

This means that the input signal assigned to I10 is logically active.

The corresponding physical device may be a position sensor, push button, limit switch, or another input device.

In Ladder logic, an input is evaluated through a contact.

──| |────────────────( )──
  I10                 A100

When I10 becomes active, internal bit A100 also becomes active.

The I address area represents input data. Normal PLC logic reads these states rather than controlling the physical inputs.

O — PLC Output Signals

The O address area sends control signals to external devices.

Example:

──| |────────────────( )──
  A100                O10

When A100 becomes active, the PLC activates output O10.

The output may be connected to a relay, contactor, solenoid valve, or input of another control device.

Three different states must be distinguished during diagnostics:

  • The PLC generates an output command.
  • The output module physically switches.
  • The actuator performs the required operation.

These events do not necessarily occur simultaneously, nor does one guarantee the next.

A — Internal Auxiliary Bits

The A address area stores internal PLC logic states.

Example:

A450

Such a bit may represent an operating stage, permission condition, memorized command, or intermediate logical result.

Example:

──| |────────────────( )──
  I10                 A100

──| |────────────────( )──
  A100                O10

The first rung uses input I10 to control internal bit A100.

The second rung uses A100 as a condition for physical output O10.

Therefore, A bits allow programs to be divided into logical stages without directly connecting every input condition to a physical output.

S — CNC Kernel System Status

The S address area transfers system states from the CNC Kernel to the PLC.

These signals inform the Ladder program about the current numerical control state.

For example, the PLC may check whether a particular CNC mode is active, whether a system function is being executed, or whether a specific Kernel status condition is present.

In Ladder logic, an S bit is used as a contact.

──| |────────────────( )──
  Sxx                 A100

Here, Sxx represents a specific system status bit.

The main principle is:

S bits transfer status information from the CNC Kernel to the PLC.

They are not ordinary physical inputs. Their values are generated by CNC software functions.

C — Commands from PLC to CNC Kernel

The C address area transfers control commands from the PLC to the CNC Kernel.

Example:

──| |────| |──────────( )──
  I10     A100          C0

In the standard SYNTEC interface, C0 is associated with Cycle Start.

When the required conditions are satisfied, the PLC can activate C0 and send a start request to the CNC Kernel.

Unlike S bits, which report system states, C bits are used to control CNC functions.

Main communication direction: PLC → CNC Kernel.

However, generating a C command does not guarantee immediate execution. The CNC Kernel also considers the operating mode, readiness state, and applicable system restrictions.

R — Numerical Registers

The R address area stores and processes numerical data.

Example:

R100 = 250

Register R100 contains the numeric value 250. The example illustrates a numerical value; before writing to any specific register, check whether it is reserved for a system function.

In Ladder programs, registers are used in arithmetic operations, comparisons, data transfers, timers, and special instructions.

Schematic comparison example:

──| |────[ R100 > #200 ]────( )──
  I10                       A100

When I10 is active and R100 is greater than 200, the comparison result can activate A100. In the documented Compare form with a constant, the constant is on the left: the equivalent condition is #200 < R100. The mathematical expression in the diagram does not specify the field order of the actual editor element.

SYNTEC R registers are also used for information exchange between the CNC Kernel and PLC.

However, not all R registers support bidirectional writing. The allowed communication direction and operations depend on the specific address.

Bit-level register access

Individual registers within supported ranges can also be accessed as groups of bits.

Example:

R45.10

This means bit 10 of register R45.

The bit can be evaluated in Ladder logic using an ordinary contact.

──| |────────────────( )──
  R45.10              A100

A numerical register and an individual register bit are two different methods of accessing the same memory area. Bit-level access must not be assumed to apply to the entire R range.

TM — Timers

TM addresses identify PLC timers; contacts use their logical results.

Example:

──| |────[ TIM TM0 #5 ]──
  I10       0.1 sec

──| |────────────────( )──
  TM0                 A100

In the first rung, the TIM block measures a 0.5-second interval while its input condition remains continuously ON.

In the second rung, the TM0 contact checks whether the timer has reached its preset.

When the preset is reached, the normally open TM0 contact closes. When the block's input condition turns OFF, the result becomes OFF; a new OFF-to-ON transition starts timing from zero.

A single timer can be referenced in multiple logical rungs, but all its contacts evaluate the state of the same timer.

CT — Counters

CT addresses are associated with PLC counters.

For example, counter CT0 may count the number of positive edges of an input signal.

After the configured number of events has been reached, the counter result becomes active.

CT contacts are used to check whether counting has been completed.

A counter differs from a timer because it measures the number of events rather than elapsed time.

Contacts, coils, timers and counters are explained in SYNTEC Ladder Editor — PLC Elements and Instructions: Complete Guide to All 12 Tabs.

AX — Editor Axis Elements

The AX category is associated with the PLC-axis control elements provided by the editor.

The applicability of axis instructions, their parameters and the available axes depend on the controller model, version and CNC configuration.

The presence of AX in the editor panel does not imply a universal group of freely addressable AX bits. It must not be confused with physical inputs or internal A bits.

JMP and JSR — Program Jumps and Subroutines

These designations relate to the organization of Ladder program execution.

JMP is associated with jumps and labels in configurations that support the corresponding constructs. The presence of a tab alone does not confirm that the instruction is available in the current project.

JSR (Jump Subroutine) is used to call a subroutine.

For example, a separate subroutine may contain the control logic for a tool magazine or another auxiliary sequence.

Organizing functions into subroutines simplifies the structure of large PLC projects. If a subroutine is not called, its instructions are not processed; automatic updating of its states during every main-program scan is not guaranteed.

JMP and JSR are not physical electrical inputs or outputs.

How to Identify the Source of a Machine Malfunction

Understanding PLC address areas makes it possible to organize diagnostics according to the direction of signal flow.

If a mechanism fails to execute a command, the first task is to determine which component should generate the next action.

Missing Input Signal

If the PLC expects an I bit to become active but it remains OFF, check:

  • The physical sensor.
  • Sensor supply voltage.
  • Electrical wiring.
  • The corresponding I/O input channel.
  • Correct address mapping.

The cause may be outside the Ladder program.

Input Active, but Output Does Not Turn ON

If an I input has the expected state but the required O bit does not become active, inspect the PLC logical conditions.

The required rung may be blocked by:

  • An internal A bit.
  • A system S bit.
  • An alarm condition.
  • A TM timer contact.
  • A CT counter contact.
  • An R register comparison result.

The Cross Reference function in SYNTEC Ladder Editor is useful for locating related elements.

PLC Generates a Command, but CNC Does Not Respond

If the PLC activates the required C bit but the CNC Kernel does not perform the action, check:

  • Whether the correct C command is used.
  • CNC readiness conditions.
  • The current operating mode.
  • Corresponding S system status bits.
  • R interface registers involved in the operation.
  • CNC alarm messages.

This method helps determine whether the command reached the CNC interface and which conditions prevent its execution.

CNC Processes the Command, but the Mechanism Does Not Operate

If the CNC Kernel processes the command and the PLC activates the corresponding physical output, the problem may be in the actuator circuit.

Possible causes include:

  • Missing motor supply voltage.
  • Contactor failure.
  • Defective solenoid valve.
  • Insufficient air pressure.
  • Mechanical transmission problems.
  • Actuator drive malfunction.

Therefore, diagnostics should not be limited to reviewing Ladder logic.

Software signal states must be compared with actual electrical measurements and the physical condition of the equipment, following the procedures specified for safe work on the machine.

Practical SYNTEC Signal Analysis Procedure

The general CNC–PLC architecture can be represented by two main signal paths.

From physical equipment to the CNC:

Physical Sensor
      ↓
I/O Interface
      ↓
PLC Input (I)
      ↓
Ladder Logic
      ↓
CNC Interface (C / R)
      ↓
CNC Kernel

From the CNC to physical equipment:

NC Program
      ↓
CNC Kernel
      ↓
System Status / Data (S / R)
      ↓
PLC Ladder Logic
      ↓
PLC Output (O)
      ↓
I/O Interface
      ↓
External Device

These are simplified representations of typical communication paths. Specific operations may use other routes and additional software interfaces.

During diagnostics, determine:

  • Where the original command is generated.
  • Which address area transfers the information.
  • Which Ladder rung processes the signal.
  • What result the system should generate.
  • Whether confirmation of actual execution has been received.

This method helps isolate malfunctions by systematically checking every stage of command transmission.

Conclusion

A SYNTEC CNC control system combines several components, each performing a specific function.

CNC Kernel processes NC programs, calculates trajectories, and organizes motion control.

PLC executes Ladder logic, monitors operating conditions, and controls auxiliary mechanisms.

HMI provides the operator interface for machine operation and diagnostics.

I/O Interface connects PLC logic to physical sensors and actuators.

Servo Drives & Motors execute axis movement according to commands generated by the CNC motion control system.

Communication between the CNC Kernel and PLC is organized through dedicated address areas:

  • S — CNC status information sent to the PLC.
  • C — PLC control commands sent to the CNC.
  • R — numerical data and interface registers; access permissions depend on the address.

Inputs I and outputs O connect the PLC to physical equipment, while internal variables A, timers TM, and counters CT are used to construct control logic.

Understanding these address areas makes it possible to read PLC programs, trace command execution sequences, and determine which part of the system is responsible for a malfunction.

The fundamental principle of SYNTEC diagnostics is to trace the complete signal path: from its source, through the CNC and PLC, to the final actuator, and back through the corresponding feedback and completion signals.

← All materials in System Architecture