C/S/R Interfaces · SYNTEC

PC Keyboard C/S Mapping — PC Keyboard Interface with SYNTEC C/S Signals

Mapping of PC keyboard keys to SYNTEC C/S addresses: basic and extended keyboard areas, the difference between C and S, and diagnostics using Cross Reference and CNC.LAD.

This page is also available in RU and PL.

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.

KeyC/S NumberAddresses
Esc401C401 / S401
1402C402 / S402
2403C403 / S403
3404C404 / S404
4405C405 / S405
5406C406 / S406
6407C407 / S407
7408C408 / S408
8409C409 / S409
9410C410 / S410
0411C411 / S411
-412C412 / S412
=413C413 / S413
Backspace414C414 / S414
Tab415C415 / S415
Q416C416 / S416
W417C417 / S417
E418C418 / S418
R419C419 / S419
T420C420 / S420
Y421C421 / S421
U422C422 / S422
I423C423 / S423
O424C424 / S424
P425C425 / S425
[426C426 / S426
]427C427 / S427
Enter428C428 / S428
Ctrl429C429 / S429
A430C430 / S430
S431C431 / S431
D432C432 / S432
F433C433 / S433
G434C434 / S434
H435C435 / S435
J436C436 / S436
K437C437 / S437
L438C438 / S438
;439C439 / S439
'440C440 / S440
`441C441 / S441
Z444C444 / S444
X445C445 / S445
C446C446 / S446
V447C447 / S447
B448C448 / S448
N449C449 / S449
M450C450 / S450
,451C451 / S451
.452C452 / S452
/453C453 / S453
Shift454C454 / S454
Alt456C456 / S456
Space457C457 / S457
Caps Lock458C458 / S458
F1459C459 / S459
F2460C460 / S460
F3461C461 / S461
F4462C462 / S462
F5463C463 / S463
F6464C464 / S464
F7465C465 / S465
F8466C466 / S466
F9467C467 / S467
F10468C468 / S468
F11487C487 / S487
F12488C488 / S488

Numeric Keypad

KeyC/S NumberAddresses
Num Lock469C469 / S469
Num /453C453 / S453
Num *455C455 / S455
Num −474C474 / S474
Num 7 / Home471C471 / S471
Num 8 / ↑472C472 / S472
Num 9 / Page Up473C473 / S473
Num +478C478 / S478
Num 4 / ←475C475 / S475
Num 5476C476 / S476
Num 6 / →477C477 / S477
Num 1 / End479C479 / S479
Num 2 / ↓480C480 / S480
Num 3 / Page Down481C481 / S481
Num 0 / Insert482C482 / S482
Num . / Delete483C483 / S483
Num Enter428C428 / S428

Extended Keyboard Area

The navigation keys and the corresponding numeric keypad positions use the same numbers in the provided mapping.

KeyC/S NumberAddresses
Print Screen—Number not specified in the provided diagram
Scroll Lock470C470 / S470
Pause—Number not specified in the provided diagram
Insert482C482 / S482
Home471C471 / S471
Page Up473C473 / S473
Delete483C483 / S483
End479C479 / S479
Page Down481C481 / S481
↑472C472 / S472
←475C475 / S475
↓480C480 / S480
→477C477 / 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

  1. Identify the key and find its number in the Mapping table for your SYNTEC version.
  2. Determine the specific C or S address and the direction of the signal.
  3. Observe the state of the keyboard signal while pressing and releasing the key.
  4. Locate the address using Cross Reference.
  5. Open the corresponding lines in CNC.LAD.
  6. Trace the contacts, conditions, and related signals.
  7. 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