PC Keyboard C/S Mapping is a reference mapping of standard PC keyboard keys to C/S interface addresses in the SYNTEC CNC system. It helps move from a physical keyboard key to a system signal and locate its use in the PLC program CNC.LAD.
Purpose of PC Keyboard C/S Mapping
In the mapping considered here, the C401–C488 range is associated with Keyboard Scan Codes 1–88, while the corresponding keyboard S bits belong to the S401–S488 range. The number shown next to a key provides the starting point for locating the corresponding address.
PC keyboard key
↓
Mapping number
↓
Cxxx / Sxxx
↓
Cross Reference
↓
CNC.LAD
The presence of an address in the reference mapping does not mean that it is necessarily used by a particular machine. Its actual use depends on the PLC program and the machine configuration.
Why Are Both C and S Used?
S = CNC → PLC C = PLC → CNC C430 ≠ S430
The same numeric part does not make a C address and an S address the same object. To observe the state of a keyboard key from the CNC side, investigate the corresponding S signal; the purpose of the C address must be checked separately.
The Mapping table alone does not prove that a physical key press necessarily passes sequentially through a C bit and an S bit.
See also: C-Bit Interface and S-Bit Interface.
Basic and Extended Keyboard Areas
The reference diagram is divided into a basic keyboard area and an extended keyboard area. C/S numbers are shown next to the keys. For example: Esc = 401, A = 430, Space = 457, Home = 471, and Insert = 482.
How to Observe Keyboard Signals
Determine the key number from the Mapping table, then observe the corresponding address in the CNC/PLC system data while pressing and releasing the key. Use Cross Reference to check whether the address appears in Ladder and on which program lines it is used.
A ↓ 430 ↓ S430 / C430 ↓ Cross Reference ↓ CNC.LAD
The contacts and coils found in Ladder can then be used to trace the machine logic. The absence of an address from Ladder does not by itself prove a keyboard fault.
Working with Ladder Editor and Cross Reference.
Basic Keyboard Area
The table reproduces the provided mapping. When applying it to a machine, verify the numbers against the documentation for its SYNTEC version.
| Key | C/S Number | Addresses |
|---|---|---|
| Esc | 401 | C401 / S401 |
| 1 | 402 | C402 / S402 |
| 2 | 403 | C403 / S403 |
| 3 | 404 | C404 / S404 |
| 4 | 405 | C405 / S405 |
| 5 | 406 | C406 / S406 |
| 6 | 407 | C407 / S407 |
| 7 | 408 | C408 / S408 |
| 8 | 409 | C409 / S409 |
| 9 | 410 | C410 / S410 |
| 0 | 411 | C411 / S411 |
| - | 412 | C412 / S412 |
| = | 413 | C413 / S413 |
| Backspace | 414 | C414 / S414 |
| Tab | 415 | C415 / S415 |
| Q | 416 | C416 / S416 |
| W | 417 | C417 / S417 |
| E | 418 | C418 / S418 |
| R | 419 | C419 / S419 |
| T | 420 | C420 / S420 |
| Y | 421 | C421 / S421 |
| U | 422 | C422 / S422 |
| I | 423 | C423 / S423 |
| O | 424 | C424 / S424 |
| P | 425 | C425 / S425 |
| [ | 426 | C426 / S426 |
| ] | 427 | C427 / S427 |
| Enter | 428 | C428 / S428 |
| Ctrl | 429 | C429 / S429 |
| A | 430 | C430 / S430 |
| S | 431 | C431 / S431 |
| D | 432 | C432 / S432 |
| F | 433 | C433 / S433 |
| G | 434 | C434 / S434 |
| H | 435 | C435 / S435 |
| J | 436 | C436 / S436 |
| K | 437 | C437 / S437 |
| L | 438 | C438 / S438 |
| ; | 439 | C439 / S439 |
| ' | 440 | C440 / S440 |
| ` | 441 | C441 / S441 |
| Z | 444 | C444 / S444 |
| X | 445 | C445 / S445 |
| C | 446 | C446 / S446 |
| V | 447 | C447 / S447 |
| B | 448 | C448 / S448 |
| N | 449 | C449 / S449 |
| M | 450 | C450 / S450 |
| , | 451 | C451 / S451 |
| . | 452 | C452 / S452 |
| / | 453 | C453 / S453 |
| Shift | 454 | C454 / S454 |
| Alt | 456 | C456 / S456 |
| Space | 457 | C457 / S457 |
| Caps Lock | 458 | C458 / S458 |
| F1 | 459 | C459 / S459 |
| F2 | 460 | C460 / S460 |
| F3 | 461 | C461 / S461 |
| F4 | 462 | C462 / S462 |
| F5 | 463 | C463 / S463 |
| F6 | 464 | C464 / S464 |
| F7 | 465 | C465 / S465 |
| F8 | 466 | C466 / S466 |
| F9 | 467 | C467 / S467 |
| F10 | 468 | C468 / S468 |
| F11 | 487 | C487 / S487 |
| F12 | 488 | C488 / S488 |
Numeric Keypad
| Key | C/S Number | Addresses |
|---|---|---|
| Num Lock | 469 | C469 / S469 |
| Num / | 453 | C453 / S453 |
| Num * | 455 | C455 / S455 |
| Num − | 474 | C474 / S474 |
| Num 7 / Home | 471 | C471 / S471 |
| Num 8 / ↑ | 472 | C472 / S472 |
| Num 9 / Page Up | 473 | C473 / S473 |
| Num + | 478 | C478 / S478 |
| Num 4 / ← | 475 | C475 / S475 |
| Num 5 | 476 | C476 / S476 |
| Num 6 / → | 477 | C477 / S477 |
| Num 1 / End | 479 | C479 / S479 |
| Num 2 / ↓ | 480 | C480 / S480 |
| Num 3 / Page Down | 481 | C481 / S481 |
| Num 0 / Insert | 482 | C482 / S482 |
| Num . / Delete | 483 | C483 / S483 |
| Num Enter | 428 | C428 / S428 |
Extended Keyboard Area
The navigation keys and the corresponding numeric keypad positions use the same numbers in the provided mapping.
| Key | C/S Number | Addresses |
|---|---|---|
| Print Screen | — | Number not specified in the provided diagram |
| Scroll Lock | 470 | C470 / S470 |
| Pause | — | Number not specified in the provided diagram |
| Insert | 482 | C482 / S482 |
| Home | 471 | C471 / S471 |
| Page Up | 473 | C473 / S473 |
| Delete | 483 | C483 / S483 |
| End | 479 | C479 / S479 |
| Page Down | 481 | C481 / S481 |
| ↑ | 472 | C472 / S472 |
| ← | 475 | C475 / S475 |
| ↓ | 480 | C480 / S480 |
| → | 477 | C477 / S477 |
Why Is Mapping Useful for Diagnostics?
PC Keyboard C/S Mapping makes it possible to determine the number associated with a specific keyboard key and then move to the corresponding C and S interface addresses. The signal state can then be checked, and Cross Reference can be used to determine whether the address is used in CNC.LAD and on which program lines it appears.
keyboard key
↓
PC Keyboard C/S Mapping
↓
Mapping number
↓
corresponding Cxxx / Sxxx address
↓
signal state / Cross Reference
↓
CNC.LAD
↓
machine logic
Practical Diagnostic Procedure
- Identify the key and find its number in the Mapping table for your SYNTEC version.
- Determine the specific C or S address and the direction of the signal.
- Observe the state of the keyboard signal while pressing and releasing the key.
- Locate the address using Cross Reference.
- Open the corresponding lines in
CNC.LAD. - Trace the contacts, conditions, and related signals.
- Compare the result with the machine configuration and the intended function of the key.
Main principle: first identify the key and its system number, then determine the address space, and only after that investigate how the signal is used in the machine program.
← All materials in C/S/R Interfaces