Configuring Omron Thumbwheel Switches for Signed Parameter Entry

James Nishida17 min read
HMI ProgrammingOmronTechnical Reference
Licensed PE Working through this on a live machine? A Maine-licensed engineer can take it from here — included with IMD hardware, by the hour for everything else. Book an engineer

Overview

Signed parameter entry on industrial operator panels — for offsets, tuning trim values, calibration constants, recipe bias words, and PID setpoint adjustments — is a recurring requirement when commissioning process cells, motion axes, and closed-loop controllers. A field engineer who needs to push values such as +3 or -2 into a controller typically has two implementation paths available: a physical thumbwheel or pushwheel switch wired into a Programmable Logic Controller (PLC), or a software thumbwheel component rendered on an Omron Programmable Terminal (PT) such as the NS, NSJ, or NB series. Both paths are technically valid; the HMI route is preferred on new builds because it eliminates hand-wiring, supports password protection, logs operator changes, and keeps the operator panel sealed to IP65.

This reference documents both approaches using Omron industrial automation components, with emphasis on the CX-Designer "Display Sign" property that the originating discussion identified as the practical answer for the PT side. It covers Binary Coded Decimal (BCD) output coding, switch electrical specifications, register mapping, ladder-logic examples, and Structured Text (ST) examples for converting a sign-plus-magnitude input into a signed integer that can be written to a PID block, servo command word, or scaling routine. Cross-references to the official Omron components portal and a major authorized distributor are provided for component sourcing.

Engineering note: The HMI thumbwheel component's signed value range is bounded by the destination word width. A 16-bit signed word yields a range of -32,768 to +32,767, but the typical operator-facing UI uses -999 to +999 or -9,999 to +9,999. Confirm the target register width before binding the component to avoid silent truncation.

Why Signed Parameter Entry Matters in Process and Motion Control

Many industrial parameters are bipolar by nature: a temperature offset can be either cooling- or heating-biased, an axis backlash compensation value is positive in one travel direction and negative in the other, a torque-limit trim reduces or extends the base limit, and a recipe scale factor multiplies or divides the base batch size. Forcing the operator to enter a magnitude only and then operate a separate "polarity" key doubles keystrokes and introduces mis-entry risk. A native signed thumbwheel — physical or HMI — collapses the entry to a single action.

The IEC 61131-3 signed integer types most commonly used are INT (16-bit, -32768 to 32767) and DINT (32-bit, -2147483648 to 2147483647). Both are encoded in two's complement. The HMI thumbwheel component on the NS and NB series produces the binary representation directly; a physical BCD thumbwheel plus a sign bit must be assembled in ladder or ST.

Physical Thumbwheel Switch Fundamentals

A thumbwheel switch is a manually operated rotary selector that presents a single decimal digit (0-9) at the operator face and provides electrical outputs that encode that digit. The most common encodings are:

Encoding Output Bits Decimal Range per Digit Typical Use
BCD (8-4-2-1) 4 per decade 0-9 Direct BCD input to PLC BCD-compatible registers
Binary 4 per decade 0-15 (only 0-9 used) Binary PLC inputs, fewer wires when parity is unused
Decimal (1-of-10) 10 per decade 0-9 Selector logic, low-current signaling, no decoder required
Hexadecimal 4 per decade 0-F Memory address entry, configuration

For PLC integration, BCD output is the dominant choice because most Omron CP, CJ, CS, and NJ/NX-series controllers accept BCD directly into the CIO, HR, AR, and DM areas when those areas are configured for BCD. Multiple decades are stacked side-by-side to form a multi-digit entry; each decade adds four input bits to the I/O budget.

Reference for broader product taxonomy: Thumbwheel Switches & Pushwheel Switches - Mouser Electronics.

Omron Industrial Thumbwheel Switch Families

Omron's industrial thumbwheel lineup is documented on the official components portal. Reference: What is a Thumbwheel Switch? | OMRON Device & Module Solutions.

A7PS Series — Snap-in Mount, PCB or Solder Terminal

  • Operating force: approximately 2.45 N (250 gf) per detent
  • Contact rating: 50 mA at 24 VDC resistive; 0.4 VA maximum AC
  • Mechanical life: 100,000 detents minimum
  • Electrical life: 50,000 detents minimum at rated load
  • Dielectric strength: 250 VAC for one minute between non-connected terminals
  • Insulation resistance: 100 MΩ minimum at 500 VDC
  • Operating temperature: -10 °C to +65 °C (no icing)
  • Output codes available: BCD (true), BCD (complement), decimal (1-of-10), binary, hexadecimal
  • Mounting: snap-in to panel cut-out; locking plate accessory for stacked assemblies

A7PH Series — Surface Mount, Screw Terminal

  • Same contact rating and electrical life as A7PS
  • Field-wireable screw terminals, no PCB required
  • Suited for retrofit on existing control panels where a PCB cannot be added
  • Same range of output codes
Common terminals: Stacked decade assemblies share a "common" terminal per decade to reduce wiring from 5 to 2 wires per digit. Always tie commons to the same PLC input common rail to avoid ground-loop-induced false states.

Pushwheel Switch Alternatives (ITW / Cherry Type)

For environments that demand a sealed, automotive-grade pushwheel, ITW (formerly Cherry) pushwheel switches are the de-facto industrial standard. They differ from a pure thumbwheel by providing both rotary and push actuation per digit, with positive tactile feedback and click-stop engagement.

Typical ITW pushwheel characteristics:

  • BCD, BCD complement, decimal, or hexadecimal output
  • 0.1 A at 50 VDC switching; 1 A carry
  • PCB mount with locking plate
  • Sealed rotor option available (IP67 face) for washdown environments
  • Operating temperature: -40 °C to +85 °C on most series

Selection note: the ITW 4-digit sealed pushwheel is a common drop-in for the Omron A7PS where the panel is exposed to high-pressure cleaning, food-grade washdown, or outdoor weather.

Adding a Sign Stage to a Physical Switch Stack

Omron does not offer a stock thumbwheel with +/- rotation in the A7PS or A7PH family. The factory-typical approach is to use a separate Single-Pole Double-Throw (SPDT) or Double-Pole Double-Throw (DPDT) switch for sign and pair it with a single A7PS decade wired for the magnitude. Alternatively, the Omron M7E digital display plus pushbutton set can be paired with a panel-mounted SPDT toggle for the sign.

Recommended sign-stage switch options for 24 VDC control:

Part Series Type Rating Mounting
Omron A22NN / A22NL Selector, 2-position maintained 10 A at 24 VDC 22 mm panel cut-out
Omron A165W Toggle, 2-position 5 A at 125 VAC / 3 A at 250 VAC 16 mm panel cut-out
Omron D4MC Limit-style SPDT (for high-vibration panels) 10 A at 250 VAC External bracket
Omron A2C Key-operated selector (for safety-locked parameters) 5 A at 24 VDC 22 mm panel cut-out

The sign toggle should be a maintained (not momentary) two-position switch so the polarity persists across power cycles without spring return. For safety-critical parameters, use a key-operated A2C so only authorized personnel can change sign.

HMI Thumbwheel Components in CX-Designer (NS / NSJ Series)

For new builds, the most direct answer to the original question is to drop a Thumbwheel Switch component onto the Omron NS or NSJ PT screen in CX-Designer and enable the Display Sign property. The component then renders two columns: a sign selector (+/-) on the left and a decade stack on the right. CX-Designer is the legacy configuration software bundled in the Omron CX-One suite; the current Sysmac Studio supports NB-series terminals and uses a slightly different property set documented in the next section.

Step-by-Step Configuration (CX-Designer V4.x or V5.x)

  1. Open the target .IPP project in CX-Designer and open the screen where the signed parameter is to be entered.
  2. From the Parts toolbar, select Numeral Display & Input (or directly Thumbwheel Switch in the selector palette).
  3. Drag the component onto the screen and resize to the desired width. For a signed entry, the width must accommodate one extra column for the sign.
  4. Right-click the component and open Properties.
  5. On the Display tab, locate the Display Sign checkbox and enable it. The component preview updates immediately to show a + / - column.
  6. On the General tab, configure:
    • Storage Type: BIN (binary integer) for direct signed-int use, or BCD if writing to a BCD area.
    • Format: SIGNED for two's-complement output.
    • Number of Digits: 3 for -999 to +999, 4 for -9999 to +9999.
    • Min/Max Value: enter the safe operator range, e.g., Min = -100, Max = +100 for a trim value.
  7. On the Address tab, set the host (PLC) register. For a CJ2, use a CIO, HR, DM, or WR word such as D100 or H100.
  8. Click OK and download the project to the PT.
Bound check: If Min is set to -9 and Max to +9, the operator cannot enter +12. This is intentional and protects the downstream consumer (e.g., a servo offset word) from accidental over-range values. Disable the Min/Max only when downstream consumers can safely accept the full INT or DINT range.

NB-Series HMI Configuration in Sysmac Studio

For NB3Q, NB5Q, NB7W, or NB10W Programmable Terminals programmed in Sysmac Studio, the signed entry is configured under HMI > Numeral Display & Input > Numeral Input. The property list differs slightly from CX-Designer:

  1. Insert a Numeral Input component on the page.
  2. Open Properties > General.
  3. Set Data Type to INT (16-bit signed) or DINT (32-bit signed).
  4. Set Display Type to Thumbwheel.
  5. Set Signed to True. This adds the +/- column automatically.
  6. Bind to an NJ/NX or CP/CJ variable (e.g., SignedTrim).
  7. Set Lower Limit and Upper Limit to the safe operator range.

The Sysmac Studio simulator can be used offline to verify the +/- column renders correctly without connecting to physical hardware — useful for FAT (Factory Acceptance Testing) where the NB terminal may not yet be cabled to the controller.

NSJ Controller + PT in Same Package

The NSJ-series integrates a CJ2 CPU and an NS PT in one chassis. The thumbwheel component configures identically to the standalone NS, but the destination register can be an internal CIO/HR/DM word with no external cabling. This is the lowest-latency signed-entry path because the PT-to-CPU memory is on the backplane, not over Ethernet/IP or serial, eliminating the typical 50-200 ms PT-to-PLC scan delay.

PLC Register Mapping for Signed Integers

For the physical-switch path, the engineer must define an address map and a conversion routine. The map below assumes a single-digit signed entry (-9 to +9) on a CJ2 with an ID211 16-point 24 VDC input unit at the first slot.

Address Map for Single-Digit Signed Entry

Signal Source PLC Address Encoding
BCD units (8) A7PS bit 8 CIO 0.00 1
BCD units (4) A7PS bit 4 CIO 0.01 2
BCD units (2) A7PS bit 2 CIO 0.02 4
BCD units (1) A7PS bit 1 CIO 0.03 8
Sign (0 = +, 1 = -) A165W pole A CIO 0.04 1 = negative

For a 4-digit signed entry (-9999 to +9999), allocate 16 bits for the four BCD decades plus 1 bit for the sign, occupying one full input word plus one bit from the next. For a 6-digit signed entry (-999999 to +999999), 24 bits plus 1 sign bit are required; use two input words plus one bit.

Ladder Example (CJ2 / CP1L)

The following rung builds a signed 16-bit word at D200 from the BCD magnitude at CIO 0 and the sign bit at CIO 0.04. It uses standard CJ2 instructions; the same logic applies to CP1, CS1, and the ladder portion of NJ/NX projects.

       +--[ NOT CIO 0.04 ]-----------------( MOV(021) CIO 0 D200 )--+
       |                                                                       |
       +---[ CIO 0.04 ]-------------( MOV(021) CIO 0 D201 )---( NEG(160) D201 D200 )---+

After execution, D200 contains the signed integer in range -9 to +9 (or whatever the magnitude range is). The MOV into the scratch word D201 prevents the negation from corrupting the live input image during the same scan. For wider ranges, repeat the magnitude decode across multiple input words and use SCL (scaling) or APR (arithmetic processing) instructions to scale to engineering units.

Structured Text Example (NJ/NX)

IF NOT SignBit THEN
    SignedValue := BCD_TO_INT(MagnitudeWord);
ELSE
    SignedValue := -BCD_TO_INT(MagnitudeWord);
END_IF;

The BCD_TO_INT intrinsic function is available on NJ/NX controllers and converts a 16-bit BCD word to an INT. For DINT scaling, use BCD_TO_DINT or pre-process into an INT and then promote.

Sign-Bit Wiring Caveat (Sink vs Source)

On a sink-type (common-positive) input card like the ID211, the input closes to the positive rail. The sign bit will read 1 (ON) when the switch is in the "-" position. On a source-type input card like the ID212, the input closes to the negative rail, so the sign bit reads 0 (OFF) when in the "-" position unless an inverter contact is added in ladder:

      +--[ NOT CIO 0.04 ]-----------------( MOV(021) CIO 0 D200 )--+
      |                                                                       |
      +---[ CIO 0.04 ]-------------( MOV(021) CIO 0 D201 )---( NEG(160) D201 D200 )---+

If the sign reads inverted from physical switch position, swap the two NO contacts in the rung (NOT becomes direct, direct becomes NOT), or rewire the toggle to the opposite pole.

Wiring, Grounding, and Noise Considerations

Long cable runs between the operator panel and the input card are susceptible to capacitive coupling from Variable Frequency Drive (VFD) output cables, servo motor leads, and welding inverters. Recommended practices for a thumbwheel stack plus sign switch:

  • Route the switch cable in a dedicated conduit at least 150 mm away from VFD and motor cables.
  • Use shielded cable (e.g., Belden 9533 or equivalent) with the shield grounded at the PLC end only.
  • Twist each decade's four BCD lines with the common to cancel common-mode noise.
  • Add a 100 nF ceramic capacitor across each switch contact to debounce mechanical chatter at the source.
  • Enable input filtering on the input card (typical default 8 ms; increase to 16 ms for very noisy environments).
Debounce timing: Mechanical thumbwheel detents settle within 5 ms in clean environments. The 8 ms PLC input filter is sufficient. Forcing the filter to 0 ms to "speed up" the response will introduce chatter-induced false BCD codes during detent transitions.

Verification Procedure

After commissioning, verify operation with this checklist. Each step should pass before the panel is returned to production.

  1. From the PT, enter -9 and confirm the destination word reads FFF7h (16-bit two's complement of -9; 65536 - 9 = 65527 = 0xFFF7).
  2. Enter +9 and confirm the destination word reads 0009h.
  3. Enter 0 and confirm the destination word reads 0000h with sign bit unasserted.
  4. Attempt to enter +15 with Min=-9, Max=+9 and confirm the PT rejects the input and reverts to the prior value.
  5. Power-cycle the PT (cold restart) and confirm the last value is retained. If not, enable the Retentive at startup property on the component.
  6. Toggle the sign selector while value is non-zero and confirm polarity flips (e.g., +3 becomes -3) without altering the magnitude.
  7. On the physical switch path, rotate the thumbwheel through 0 to 9 and verify the destination magnitude tracks correctly.
  8. Toggle the sign switch and verify the destination word flips between the positive and two's-complement representations.

Troubleshooting Matrix

Symptom Likely Cause Corrective Action
+/- column does not appear on PT Display Sign property disabled Right-click component, enable Display Sign, re-download screen data
Magnitude updates but sign ignored PLC sign input bit not wired, or wrong address Verify CIO 0.04 transitions with toggle; cross-check I/O map against panel wiring diagram
Value reads as +65527 instead of -9 Storage type set to UNSIGNED on HMI Change Storage Type to SIGNED or BIN on the component's General tab
Value flips when sign bit changes Sign bit wired with inverted polarity (NPN vs PNP mismatch) Add a NOT contact on the sign bit in ladder, or rewire to true logic
Operator can enter out-of-range values Min/Max not set, or set to hardware limits Set Min and Max to safe operating range, not -32768/+32767
BCD input shows wrong digit Wiring order swapped on BCD bits Verify 1-2-4-8 order against A7PS terminal markings
Detent intermediate codes appear briefly Input filter time too short for contact bounce Increase PLC input filter to 8 ms or 16 ms; add 100 nF cap across contacts
Value retained across power cycle (unwanted) Retentive at startup enabled Disable retentive property; use non-retentive DM area for trims
PT displays ---.--- when value entered Display Type mismatch with storage type Match Display Format (SIGNED/UNSIGNED) to Storage Type (BIN/BCD)
Two operators enter different signs simultaneously Multiple PTs writing to same register without arbitration Assign one PT as primary; add write-permission logic to secondary

Selection Decision Guide

Use this decision rule when choosing between the hardware switch path and the HMI path during panel design:

  • Use the HMI thumbwheel component when: the PT is already in the bill of materials; the signed value is part of a recipe or setpoint menu; password protection is required; IP65 panel sealing is mandatory; or the parameter may need to be changed from a remote engineering station via VNC.
  • Use the physical A7PS plus A165W combination when: there is no PT on the machine (e.g., simple controller); the value must be settable with the panel cover removed for safety interlock reasons; or the panel needs to survive high-pressure washdown that would damage a touchscreen.
  • Use the ITW sealed pushwheel when: the application requires tactile push-to-set feedback (operator must feel the digit engagement), the digits must be larger than 8 mm for gloved operation, or the panel is exposed to food-grade washdown with IP67 or higher sealing.

Safety and Commissioning Notes

A signed parameter that controls a moving axis or an energized actuator must be bounded on both ends and protected by an enable bit. Before downloading a new signed entry during commissioning:

  • Confirm the destination register is not being read by a high-speed scan loop that would propagate the new value within one millisecond.
  • Place the axis or actuator in a safe state (drive disabled, valve de-energized) before downloading a new offset.
  • For production panels, restrict signed-entry components to operator-level or higher in the PT security table so a casual operator cannot change critical calibration values.
  • Log every signed-entry change to the PT's event log so an audit trail exists for ISO 9001 or FDA 21 CFR Part 11 compliance.
Cybersecurity: When the signed parameter is exposed via EtherNet/IP to a SCADA or MES layer, restrict write access at the controller's CIP security table. An unauthorized remote write of a signed offset to a motion axis can produce an unsafe velocity.

Frequently Asked Questions

Does Omron sell a thumbwheel switch with a built-in +/- sign column?

No. The stock A7PS and A7PH families output 0-9 only. For HMI projects, enable the Display Sign property on the Numeral Display & Input component in CX-Designer. For physical panels, add a separate two-position selector switch (A165W or A22NN) wired to one PLC input bit, then combine magnitude and sign in ladder logic.

Where do I find the Display Sign property in CX-Designer?

Insert a Numeral Display & Input component, right-click and open Properties, then on the Display tab enable Display Sign. The sign column appears immediately in the on-screen preview and is preserved in the downloaded screen data.

Can the thumbwheel write directly to a PID block's setpoint word?

Yes. Bind the component to the PID block's SP word — for example, the second operand of the PID(190) instruction on CP1L, or the Set Point variable of the PIDAT block on NJ/NX. The two's-complement signed value lands directly in the PID's expected format without conversion.

What happens if I wire a BCD switch to a binary-only input card?

The PLC reads the four bits as a binary number, not BCD. A magnitude of 9 reads as binary 1001, which equals decimal 9 — coincidentally correct. But magnitude 12 is invalid in BCD yet reads as binary 1100 = decimal 12. Either configure the input card or scan logic for the encoding you are actually using, or convert in ladder with BCD_TO_INT before downstream arithmetic.

How many decades can I stack on a single A7PS assembly?

Common stacks are 2, 3, 4, 5, 6, 8, or 10 decades. Each decade adds 4 BCD bits plus one common terminal. For 10 decades wired to a 16-point input card plus sign, you need two input cards (40 bits plus sign). For 4 decades plus sign, one 16-point card is sufficient.

What is the contact resistance and isolation voltage of the A7PS switch?

Initial contact resistance is 100 mΩ maximum at 5 VDC, 1 mA. Insulation resistance is 100 MΩ minimum at 500 VDC, and dielectric strength is 250 VAC for one minute between non-connected terminals. These values are suitable for direct 24 VDC PLC input wiring without additional conditioning.

Can the same signed parameter be entered from two PTs on different panels?

Yes, but it requires write arbitration in the controller. Assign one PT as the primary writer; secondary PTs request write access via a control bit and only the active writer is granted. Otherwise, the last-writer-wins race condition will produce unpredictable values.

Back to blog