C/S/R Interfaces · SYNTEC

C-Bit Interface — Signals from PLC to CNC in SYNTEC CNC Systems

SYNTEC C-bit interface from PLC to CNC: commands, real-time signals, C036 Emergency Stop, the M-code handshake and practical diagnostics.

This page is also available in RU and PL.

In a SYNTEC CNC system, C bits form the PLC-to-CNC side of the system interface.

PLC / CNC.LAD
    │
    │  C bits
    ▼
CNC / NCK

C = PLC → CNC.

A C bit therefore allows the PLC program to send a command, request, operating condition or control state to the CNC kernel.

Depending on the C address, this may start or stop program execution, request an emergency stop, select an operating function, control JOG movement, report completion of an M/S/T operation, request spindle orientation, activate travel-limit states, or perform other CNC-related functions.

What Are C Bits?

C bits are system interface signals written from the PLC side and interpreted by the CNC.

In practical terms, the PLC program in CNC.LAD evaluates machine conditions, buttons, sensors, interlocks and internal logic. When the required conditions are satisfied, it can activate a C bit to request a corresponding CNC function.

machine conditions / operator controls
                ↓
             I / A / R
                ↓
             CNC.LAD
                ↓
              Cxxx
                ↓
            CNC / NCK

A C bit is therefore not a physical output such as Oxxx. It is an internal command/interface signal sent from PLC logic to the CNC.

C Bits Are Not Physical Outputs

It is important to distinguish a C address from a physical PLC output O.

PLC
 │
 ├── Oxxx ──► physical output / machine electrical system
 │
 └── Cxxx ──► CNC / NCK

An O signal is associated with the physical output side of the machine control system, while a C signal transfers information from PLC logic back to the CNC.

C and S — Two Directions of the CNC/PLC Interface

The C-bit interface works together with the S-bit interface. Their directions are opposite:

S = CNC → PLC

C = PLC → CNC
             S bits
CNC / NCK ───────────► PLC
          ◄───────────
             C bits

This bidirectional interface allows the CNC and PLC to coordinate program execution and machine-specific logic.

Example: C036 — Emergency Stop

C036 is the CNC Emergency Stop interface signal.

According to the SYNTEC interface description, when the Emergency Stop condition is active, the Ladder enables C036. The CNC then stops machine movement and changes to the NOT READY state.

machine / PLC conditions
        ↓
      CNC.LAD
        ↓
     C036 = ON
        ↓
      CNC / NCK
        ↓
movement stopped
        ↓
     NOT READY

This illustrates the basic role of a C bit: the PLC evaluates machine-specific logic and transfers the resulting control state to the CNC.

Example: M-Code Handshake — S029 and C038

The relationship between S and C bits can be clearly seen during M-code execution.

When the CNC reads an M code, it activates S029 — M Code Read and places the M-code value in R1. The PLC processes the corresponding machine logic. When the M/S/T operation has been completed, the PLC activates C038 — M.S.T Finish.

NC program
    ↓
M code
    ↓
CNC / NCK
    │
    ├── S029 = ON ─────────────► PLC
    │   R1 = M-code value         │
    │                             │
    │                       machine logic
    │                             │
    │                             ▼
    ◄──── C038 = M.S.T Finish ─── PLC
    │
    ↓
next NC block

This is a typical CNC/PLC handshake: the CNC sends a request through an S signal and the PLC returns the corresponding completion state through a C signal.

Why C Bits Are Important for Diagnostics

C bits are important because they show what the PLC is requesting from the CNC.

If a machine reaches a certain PLC state but the expected CNC action does not occur, the corresponding C bit becomes an important diagnostic point.

machine condition
        ↓
PLC input / internal logic
        ↓
CNC.LAD
        ↓
Is the expected Cxxx active?
        ↓
      CNC / NCK
        ↓
expected CNC state or function

Conversely, if the required C bit is not being generated, the diagnostic path should be followed backwards through CNC.LAD using Cross Reference to determine which conditions prevent that C bit from becoming active.

Real-Time C Bits

The SYNTEC source marks some C-bit addresses with the ® symbol.

According to the source, all C bits are read simultaneously, but C bits marked with ® are handled in real time. Other C-bit requests are placed in a stack and processed sequentially.

This distinction is important when analyzing functions that require immediate response, particularly JOG, skip and direct PLC axis-control functions.

How to Read the C-Bit Table

The following table lists the C-bit interface described in the SYNTEC documentation used for this diagnostic reference.

Some descriptions in the original documentation are incomplete or contain translation errors. The wording below has been normalized only where the intended meaning is sufficiently clear. Functions that are not described in the source are not assigned an assumed meaning.

The ® symbol is retained where it appears in the source documentation and identifies C bits described there as being handled in real time.

C-Bit Interface Table — PLC → CNC

C BitFunctionDescription
C000Cycle StartIn Auto mode, activating this bit commands the CNC to start execution of the NC program.
C001Feed HoldIn Auto mode, activating this bit pauses execution of the NC program.
C002–C005—No function specified in the source.
C006®X Axis JOG+In JOG mode, activation requests movement of the X axis in the positive direction. Real-time C bit.
C007®X Axis JOG−Requests X-axis movement in the negative direction in JOG mode. Real-time C bit.
C008®Y Axis JOG+Requests Y-axis movement in the positive direction in JOG mode. Real-time C bit.
C009®Y Axis JOG−Requests Y-axis movement in the negative direction in JOG mode. Real-time C bit.
C010®Z Axis JOG+Requests Z-axis movement in the positive direction in JOG mode. Real-time C bit.
C011®Z Axis JOG−Requests Z-axis movement in the negative direction in JOG mode. Real-time C bit.
C012®C (6th) Axis JOG+Requests movement of the C (6th) axis in the positive direction in JOG mode. Real-time C bit.
C013®C (6th) Axis JOG−Requests movement of the C (6th) axis in the negative direction in JOG mode. Real-time C bit.
C014–C015—No function specified in the source.
C016X Axis MPG SelectionSelects the X axis for MPG control. When enabled, MPG input controls X-axis movement.
C017Y Axis MPG SelectionSame MPG-selection function as C016 for the Y axis.
C018Z Axis MPG SelectionSame MPG-selection function as C016 for the Z axis.
C019C (6th) Axis MPG SelectionSame MPG-selection function as C016 for the C (6th) axis.
C020MPG SimulationIn Auto mode, the MPG controls the feedrate override for G00, G01, G02 and G03. According to the source, faster MPG rotation increases the override, and movement stops when the MPG stops.
C021–C022—No function specified in the source.
C023Rapid TraverseIn continuous JOG mode, activation changes the movement from normal JOG to rapid traverse.
C024—No function specified in the source.
C025–C028Set Axis Machine PositionUsed to set the machine-coordinate position for X, Y, Z and C (6th) axes respectively. The source describes the set value as being written through R38. The detailed source wording for this function should be checked together with the relevant axis/manual-control configuration before practical use.
C029–C030—No function specified in the source.
C031–C034Axis Manual ControlManual-control mode for X, Y, Z and C (6th) axes respectively. According to the source, when active the controller leaves normal closed-loop servo control and operates in position-display-only mode. This function requires corresponding servo-off integration in the Ladder program.
C035Absolute Position Sync.The source provides the function name but no additional description.
C036Emergency StopWhen enabled by the Ladder, the CNC stops machine movement and changes to NOT READY. According to the source, after the Emergency Stop condition is released and this bit is disabled, the CNC automatically generates a Reset command to return toward READY state.
C037External ResetSends a RESET request from an external device/PLC logic to the CNC.
C038M.S.T FinishUsed by the Ladder to report completion of an M, S or T operation to the CNC, allowing CNC execution to proceed to the next block.
C039Part Count M-Code Stop RequestAccording to the source, when this bit is ON, M99 in the main program causes execution to enter Feed Hold / B-STOP.
C040Single BlockWhen ON, program execution stops after completion of each block. Cycle Start is required to continue with the next block.
C041Optional SkipWhen enabled, program blocks beginning with “/” are skipped under the Optional Skip function.
C042Dry RunActivates the Dry Run function. According to the source, movement is executed at G00 speed while this function is active.
C043Machine LockSuppresses physical movement generated by travel commands while coordinate display continues to change. Intended for program checking.
C044Optional StopWhen ON, execution stops at an M01 block. When OFF, M01 is ignored.
C045Z Axis LockSuppresses Z-axis movement while active. The source describes this as a program-checking function.
C046Axis Coupling RequestWhen axis coupling is configured by system parameter No. 3825, this bit requests coupling of the configured master and slave axes. The source states that the slave axis then moves proportionally to the master axis.
C047Inhibit Persist State FlushControls persistence-state flushing. The original source wording is limited; its exact operational behavior should be confirmed from the corresponding SYNTEC Persist documentation before use.
C048Wait Function Skip SignalThe source provides the function name but no additional description.
C049—No function specified in the source.
C050–C057Over TravelOver-travel states for X+, X−, Y+, Y−, Z+, Z−, C(6th)+ and C(6th)− respectively. According to the source, activation causes Feed Hold and permits retraction only in the opposite direction using MPG or JOG.
C058–C059—No function specified in the source.
C060Spindle JOG ModeRequests spindle JOG operation using the value configured by system parameter No. 1721. The source mentions use with functions such as gear change or a bar feeder.
C061Spindle Orientation StopRequests spindle orientation. The source references parameter No. 1741 for orientation speed and No. 1751 for orientation angle. S061 reports completion of spindle orientation.
C062®Skip Signal StateUsed with G31 skip measurement. According to the source, activation records the current machine coordinate and interrupts the command. The source recommends using C062 with a rising-edge trigger to avoid unintended skipping across multiple G31 blocks. Real-time C bit.
C063Spindle OFFFor the spindle configuration described by system parameter No. 1791, activation changes the spindle to position-control mode; when OFF, it returns to velocity-control mode. Rotation direction is controlled by C064/C065.
C064Spindle ClockwiseRequests clockwise spindle rotation.
C065Spindle CounterclockwiseRequests counterclockwise spindle rotation.
C066®–C069®Axis Controlled by PLCTransfer control of X, Y, Z and C (6th) axes respectively to the PLC while active. When OFF, the CNC controller retains axis control. The source warns that PLC-generated commands during NC-program execution can cause a command-interference alarm. Real-time C bits.
C070—No function specified in the source.
C071–C073Enable MPG No.1–No.3Enable the corresponding MPG input so that it can generate movement commands for the selected axis.
C074–C075—No function specified in the source.
C076–C078Clear MPG PositionClear the current position of MPG1, MPG2 and MPG3 respectively. The source associates these positions with R6, R7 and R8.
C079–C082Axis HOME DOGHOME DOG interface signals for X, Y, Z and C (6th) axes respectively. The Ladder sets the corresponding bit to enable the function associated with the HOME DOG signal from the I/O board.
C083Stroke Limit Two SwitchON = enabled; OFF = disabled.
C084–C085—No function specified in the source.
C086CHPSTThe source provides the signal name but no description.
C087CHLDThe source provides the signal name but no description.
C088Disable Screen SaverDisables the screen saver. The source specifies this function for CE systems and lists applicable software versions.
C089Edit InhibitionControls permission for program editing. According to the source: 0 = editing enabled, 1 = editing prohibited.
C090Program Edit ScreenSelects the program-editing screen/mode.
C091Graph Dialog ScreenSelects the graph/dialog screen mode.
C092Monitor ScreenSelects the monitoring/RUN screen for observing program execution.
C093Position ScreenSelects the coordinate/position display screen.
C094Tool Offset ScreenSelects the Tool Offset screen.
C095Tool Measure ScreenThe source provides the function name but no additional description.
C096–C100—No function specified in the source.
C101–C132Macro Mapping VariableC101–C132 are mapped to macro variables #6001–#6032. The source confirms the mapping but does not provide enough information here to infer additional value-conversion semantics.
C133–C139—No function specified in the source.
C140–C163Additional Axis Over TravelPositive and negative over-travel states for the 4th, 5th and 7th through 16th axes. The source describes the same behavior as the primary-axis OT signals: Feed Hold is entered and retraction is allowed only in the opposite direction using MPG or JOG.
C164–C169—No function specified in the source.
C170®–C193®Additional Axis JOG ±Positive and negative JOG commands for the 4th, 5th and 7th through 16th axes. These addresses are marked as real-time C bits in the source.
C194–C199—No function specified in the source.
C200–C211Additional Axis HOME DOGHOME DOG interface signals for the 4th, 5th and 7th through 16th axes.
C212–C214—No function specified in the source.
C215–C226Additional Axis MPG SelectionSelect the 4th, 5th and 7th through 16th axes respectively for MPG control.
C227–C229—No function specified in the source.
C230–C241Set Additional Axis Machine PositionMachine-position setting functions for the 4th, 5th and 7th through 16th axes. The source associates the set value with R38. The exact operational procedure should be verified from the relevant SYNTEC axis documentation before practical use.
C242–C244—No function specified in the source.
C245–C256Additional Axis Manual ControlManual-control functions for the 4th, 5th and 7th through 16th axes. The source describes the same behavior as C031–C034: transition from closed-loop servo control to position-display-only mode while active.
C257–C259—No function specified in the source.
C260®–C271®Additional Axis Controlled by PLCTransfer control of the 4th, 5th and 7th through 16th axes to the PLC while active. When OFF, axis control remains with the CNC controller. The source warns about command-interference alarms if PLC commands are generated during NC-program execution. These addresses are marked as real-time C bits.
C272–C400—No function specified in the source.
C401–C488Standard Keyboard Scan CodeMapped to standard PC keyboard scan codes 1–88.
C489–C511OEM Extended KeysOEM extended keyboard mappings. The source maps C489–C511 to ALT-key combinations, beginning with ALT-1 through ALT-0 and continuing with ALT-B, ALT-V, ALT-E, ALT-F, ALT-I, ALT-J, ALT-K, ALT-L, ALT-W, ALT-N, ALT-S, ALT-T and ALT-U.

Using C Bits in Practical Diagnostics

When troubleshooting a SYNTEC-controlled machine, a C bit helps determine whether the PLC has actually issued the expected request to the CNC.

Expected CNC function
        ↑
      Cxxx
        ↑
     CNC.LAD
        ↑
PLC conditions / interlocks
        ↑
I / A / R / S / other logic

If the expected C bit is not active, use Cross Reference in Ladder Editor to find where that C bit is generated and then trace its conditions backwards.

If the C bit is active but the expected CNC state or function does not follow, the diagnostic investigation moves toward the CNC side: the relevant CNC state, mode, parameters, alarms and associated interface signals must then be checked.

Example Diagnostic Boundary

Consider C036 — Emergency Stop.

machine conditions
        ↓
CNC.LAD
        ↓
C036
        ↓
──────── diagnostic boundary ────────
        ↓
CNC / NCK
        ↓
NOT READY

The state of C036 therefore helps separate the PLC-side logic from the CNC-side response.

The same diagnostic principle can be applied to other C bits: first determine whether the PLC generates the required C signal, and then determine how the CNC responds to it.

Main Diagnostic Principle

physical inputs / machine state
            ↓
         CNC.LAD
            ↓
PLC conditions / interlocks
            ↓
           Cxxx
            ↓
         CNC / NCK
            ↓
CNC state / requested function

C bits provide the PLC → CNC side of the SYNTEC system interface. They allow the machine PLC logic to request CNC functions and communicate control states back to the CNC kernel.

Together with S bits, they form one of the most important diagnostic interfaces in a SYNTEC-controlled machine:

             S = CNC → PLC
        ┌──────────────────►
CNC/NCK │                  │ PLC / CNC.LAD
        ◄──────────────────┘
             C = PLC → CNC
← All materials in C/S/R Interfaces