Siemens LOGO! 0BA8 Rotary Speed Measurement and Counting

David Krause21 min read
PLC HardwareSiemensTutorial / How-to
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

Measuring rotary speed on a Siemens LOGO! 0BA8 base module (the eighth-generation LOGO! released in 2014 and still in production) requires distinguishing between a true analog 0-10 V tachometer signal and a digital pulse train from an encoder or proximity switch. The 0BA8 family exposes four 5 kHz high-speed counter inputs (I1-I4) on its DC-powered variants and two 0-10 V analog inputs (AI1 on I7, AI2 on I8) on the LOGO! 12/24 RCE base. This article documents hardware selection for 6ED1052-2MD08-0BA0 (LOGO! 12/24 RCEo) and the three other 0BA8 fast-counter-capable base modules, the analog-versus-digital decision, counter and clock configuration in LOGO! Soft Comfort, RPM math, and a ±5% deviation alarm built from analog comparators. The methodology parallels the gated-count frequency principle used in larger Siemens controllers; for comparison see the Siemens TIA Portal rotational-speed documentation for S7-300/400 and the National Instruments rotational-speed reference.

Identifying the Correct LOGO! 0BA8 Base Module

High-speed digital counting at 5 kHz is only available on the DC-supply 0BA8 base modules. AC-supply variants (e.g., 6ED1052-1FB08-0BA0 at 115/230 V AC) omit the fast-counter hardware and must not be used for encoder or proximity-switch applications. The four DC variants that support high-speed counters are listed below; the user-reported order number 6ED1052-2MD08-0BA0 corresponds to the LOGO! 12/24 RCEo, a 12/24 V DC unit with four relay outputs and no on-board display (the trailing "o" denotes "without display").

Order Number Description Display Outputs High-Speed Counters (I1-I4, 5 kHz)
6ED1052-1MD08-0BA0 LOGO! 12/24 RCE Yes 4 × Relay Yes
6ED1052-2MD08-0BA0 LOGO! 12/24 RCEo No 4 × Relay Yes
6ED1052-1CC08-0BA0 LOGO! 24CE Yes 4 × Transistor Yes
6ED1052-2CC08-0BA0 LOGO! 24CEo No 4 × Transistor Yes
If the project's order number ends in "0BA0" (with a literal capital O) it is almost always a transcription error for ...-0BA8 (with a zero). The 0BA0 generation pre-dates fast counters; verify the order number on the side label of the LOGO! module before commissioning.

All four 0BA8 base modules share the same I/O map: I1-I4 are high-speed digital inputs at 5 kHz, I5-I8 are standard digital inputs (max 4 Hz debounce), and the analog inputs AI1 and AI2 share physical pins I7 and I8 respectively. To use a 0-10 V analog input the corresponding digital input function must be disabled in LOGO! Soft Comfort's input configuration. The complete I/O and specification matrix is published in the LOGO! 8 system manual, available as Siemens Industry Online Support entry 109741041.

Signal Type Decision: 0-10 V Analog vs. Digital Pulse Train

The phrase "0-10 V" in the original specification is ambiguous; the LOGO! 0BA8 input hardware, the choice of function block, and the RPM formula all change depending on which signal class the sensor actually emits. The three relevant cases are summarised in the table below.

Case Sensor Output LOGO! Input Function Block Formula
A 0-10 V square-wave line driver I1-I4 (digital) High-Speed Counter (HSC) n = (counts/t) × 60 / PPR
B 0-10 V DC analog tachometer AI1 / AI2 (analog) Analog Amplifier + Math n = (V_out/10) × n_max
C 24 V HTL digital push-pull I1-I4 (digital) High-Speed Counter (HSC) n = (counts/t) × 60 / PPR

Case A: 0-10 V Line-Driver Encoder

Some incremental encoders (e.g., selected IFM, Balluff, or SICK models) provide 0-10 V square-wave outputs as an alternative to the more common 24 V HTL or RS-422 levels. The 0-10 V high level is well above the LOGO! digital input VIH minimum of 8 V (at 24 V supply) and below the 30 V absolute maximum. The 0-10 V output must be capable of sourcing the LOGO! input current; consult the encoder datasheet for the output current rating. Treat each rising or falling edge as a count event. The user requirement to "count the changes from 0V to 10V" maps to this case directly.

Case B: 0-10 V Analog Tachometer

True tachometer outputs (e.g., from eddy-current probes, optical tachometers, or some vibration sensors) emit a DC voltage proportional to rotational speed. Wire to AI1 (pin shared with I7) or AI2 (pin shared with I8). Disable the digital input function on I7/I8 in LOGO! Soft Comfort. Apply the linear conversion formula n = (V_out / 10) × n_max, where n_max is the sensor's full-scale rpm rating (e.g., 3000 rpm). The LOGO! 0BA8 analog inputs have 10-bit resolution (0-1000 raw units for 0-10 V), giving a best-case resolution of 9.8 mV. At 3000 rpm full-scale this is approximately 2.93 rpm per LSB.

Do not route a 0-10 V analog tachometer signal to a high-speed digital counter input. The slow voltage ramp at start-up and stop will register false counts, and motor-drive common-mode noise will corrupt the count. Use the analog path and convert to rpm via the linear formula.

Case C: 24 V HTL Digital Pulse

Standard industrial encoders (e.g., SICK DFS60, Kübler 8.5800, IFM RN series) output 24 V push-pull or NPN/PNP open-collector signals. The "0-10 V" in the original specification likely refers to the encoder's 5 V or 24 V supply rail, not the signal level. Wire the A channel to I1, I2, or I3 (any of I1-I4) and the optional index (Z) channel to I4 if direction sensing is required.

System Topology

The recommended topology for a three-channel speed monitor on a single LOGO! 0BA8 base module is shown below. All three sensors share a common 24 VDC regulated supply, and the LOGO! exposes RPM data over Modbus TCP via the on-board RJ45 port for visualisation on a PC browser, HMI, or SCADA. The shield of each sensor cable is bonded to the panel entry plate only to avoid ground loops.

24 VDC PSU ≥ 2 A regulated LOGO! 0BA8 6ED1052-2MD08-0BA0 I1-I4: HSC (5 kHz) I7/I8 = AI1/AI2 (0-10 V) Q1-Q4: 4 × Relay 10 A RJ45: Modbus TCP Web server (LWE) M8 clock: 1 Hz Encoder 1 ~6 rpm, 100 PPR f = 10 Hz → I1 Encoder 2 ~6 rpm, 100 PPR f = 10 Hz → I2 Prox Switch ~20 rpm, 1 pulse/rev f = 0.33 Hz → I3 ALARM Q1 ±5% deviation HMI / Web Modbus TCP / LWE I1 I2 I3 +24 V Q1 Modbus

Prerequisites and Wiring

  1. LOGO! 0BA8 base module from the table above. Recommended 6ED1052-1MD08-0BA0 if on-device display and on-board parameterisation is required; 6ED1052-2MD08-0BA0 if remote configuration only.
  2. LOGO! Soft Comfort V8.x engineering software installed on a Windows 10/11 PC. The current version is available from Siemens Industry Online Support; the LOGO! 8 system manual is published as entry 109741041.
  3. Ethernet patch cable (Cat 5e or higher) for PC-to-LOGO! connection. The LOGO! 0BA8 supports both DHCP and static IPv4 addressing on the RJ45 port.
  4. Two incremental rotary encoders matched to the 6 rpm operating point. PPR selection rule: aim for 1 Hz to 1 kHz output frequency for best LOGO! resolution. With 6 rpm, a 100 PPR encoder yields 10 Hz; a 1000 PPR encoder yields 100 Hz; both are inside the 5 kHz counter ceiling.
  5. One proximity switch or inductive sensor with 24 V PNP NO output (or 0-10 V analog output, depending on the signal case selected above). The 20 rpm target yields 0.33 Hz at 1 pulse per revolution; a multiple-pulse target wheel is recommended to keep the measurement within the LOGO!'s cycle-time budget.
  6. 24 VDC regulated power supply sized for LOGO! consumption (90-200 mA base) plus sensor load. A 2 A supply provides headroom for cable runs up to 30 m with 0.5 mm² conductors.
  7. Optional LOGO! AM2 analog input module (6ED1055-1MA00-0BA0) if the application requires more than two analog channels.
Signal Source LOGO! Terminal Pin (typical) Notes
Encoder 1, Channel A Encoder 1 I1 Pin 1 of input block HSC, 5 kHz max
Encoder 2, Channel A Encoder 2 I2 Pin 2 of input block HSC, 5 kHz max
Prox switch, output Prox I3 Pin 3 of input block HSC, 5 kHz max
Encoder 1, supply +V 24 VDC +24 V sensor supply Common 24 V rail
Encoder 1, supply 0 V 0 V M (ground) Common ground
Alarm output LOGO! Q1 Q1 relay contact Pin 1 of output block 10 A / 250 VAC rated
Modbus TCP / Web LOGO! RJ45 RJ45 port 10/100 Mbit/s
If the proximity switch must also be monitored as a 0-10 V analog signal (Case B), connect it to AI1 (terminal I7) and disable the digital input function on I7 in the LOGO! Soft Comfort input editor. The 24 V supply to the sensor and the 0-10 V return must share the same 0 V reference as the LOGO! for accurate analog reading.

Use shielded twisted-pair cable (e.g., LiYCY 4×0.34 mm²) and ground the shield at the panel entry plate only. Route sensor cables at least 200 mm from VFD power cables to avoid common-mode coupling. The 0BA8 base module accepts 0.5-1.5 mm² conductors in its spring-loaded or screw terminals; torque the screw terminals to 0.6 Nm.

Speed Calculation and Scaling

Rotational speed in revolutions per minute is derived from the pulse frequency f of the encoder or sensor:

n [rpm] = (f [Hz] × 60) / PPR

where PPR is the pulses-per-revolution rating of the encoder. If the application uses a single-pulse-per-revolution reference (typical of inductive proximity switches aimed at a single key, bolt, or tooth), the formula simplifies to n = f × 60. For multi-pulse target wheels (e.g., 60-tooth gear on a 20 rpm shaft giving 20 Hz output), use the full (f × 60) / PPR form with PPR = 60.

The pulse frequency f is obtained in one of two ways:

  1. Count pulses over a fixed time window: f = N / t_window (gated-count method).
  2. Measure the time between consecutive rising edges: f = 1 / T_period (period method). The period method gives faster convergence at low speed but is not directly supported by the LOGO! 0BA8 high-speed counter block.

For a 1-second measurement window the LOGO! clock marker M8 (1 Hz) can be used as the gate. The resulting RPM after one update is:

n = (N_counts_per_second × 60) / PPR

For the user's example with 6 rpm and 100 PPR: n = (10 × 60) / 100 = 6 rpm. For 20 rpm at 1 PPR (single pulse per rev): n = (0.33 × 60) / 1 = 20 rpm. The scaling factor used inside the LOGO! Analog Amplifier block is therefore Gain = 60 / PPR (0.6 for PPR = 100, 60 for PPR = 1).

For a 0-10 V analog tachometer (Case B) the linear conversion is n = (V_out / 10) × n_max. If the sensor full-scale is 3000 rpm, then 5 V = 1500 rpm and 8 V = 2400 rpm. The LOGO! 0BA8 analog input resolution is 10 bits (0-1000 counts), so the LSB at 3000 rpm full-scale is 3 rpm. Apply a moving-average filter of 4-8 samples to reduce display jitter on the LOGO! TDE or web server. The scaled value can be exposed directly on the LOGO! display (in units of 0.1 rpm) by setting the block's "Number of decimal places" property.

LOGO! Soft Comfort Program Example

Build the program in LOGO! Soft Comfort V8.x using Function Block Diagram (FBD) mode. The following block list implements gated-count RPM measurement on three channels plus a ±5% alarm. All blocks fit in the LOGO! 0BA8 program memory (max 400 function blocks per program, 8500 bytes total memory on LOGO! 8.3 firmware).

Block Type Parameters Function
B01 Up/Down Counter (high-speed) Input = I1, On threshold = 999999, Reset = M8 Counts encoder 1 pulses; resets on 1 Hz clock
B02 Up/Down Counter (high-speed) Input = I2, On threshold = 999999, Reset = M8 Counts encoder 2 pulses; resets on 1 Hz clock
B03 Up/Down Counter (high-speed) Input = I3, On threshold = 999999, Reset = M8 Counts proximity-switch pulses; resets on 1 Hz clock
B04 Analog Amplifier (Gain) Gain = 0.6, Offset = 0 (PPR = 100) Scales encoder 1 count to rpm (n = counts × 0.6)
B05 Analog Amplifier (Gain) Gain = 0.6, Offset = 0 (PPR = 100) Scales encoder 2 count to rpm
B06 Analog Amplifier (Gain) Gain = 60, Offset = 0 (PPR = 1) Scales proximity count to rpm (n = counts × 60)
B07 Math (Mean) Inputs = B04, B05, B06 Computes running mean RPM
B08 Math (Mul) Input × 1.05 Upper 5% bound
B09 Math (Mul) Input × 0.95 Lower 5% bound
B10 Analog Comparator On = B08, Off = B09, Ax = B04 Encoder 1 within window?
B11 Analog Comparator On = B08, Off = B09, Ax = B05 Encoder 2 within window?
B12 Analog Comparator On = B08, Off = B09, Ax = B06 Prox within window?
B13 OR (3-input) Inputs = NOT B10, NOT B11, NOT B12 Any-deviation flag
B14 On-Delay Time = 00:00:02 (2 s) Suppresses transient alarms during start-up
B15 RS Flip-Flop (latch) Set = B14, Reset = I4 Latches alarm until manual reset via I4
Q1 Output Function = B15 Drives alarm relay
M8 Clock byte marker Built-in 1 Hz flag Sample window and counter reset

The block-naming convention in LOGO! Soft Comfort V8.3 is "Up/Down Counter" with the high-speed input assigned to I1, I2, I3, or I4 (the only inputs with 5 kHz hardware counters). The user opens the block properties, selects the input terminal from the dropdown, and sets the "On threshold" to a value above the expected pulses per cycle (e.g., 999999 to disable the threshold-based output). Up to three high-speed counters can be active simultaneously on a single 0BA8 base module; the fourth input I4 is reserved for the acknowledge pushbutton in this example.

For the analog-comparator blocks, set the on-threshold to the upper bound (+5%) and the off-threshold to the lower bound (-5%) of the running mean RPM. The 5% window is computed as a fixed value, e.g., for a 6 rpm target the window is 5.70 to 6.30 rpm. Adjust these bounds once during commissioning using the LOGO! TDE on-device display or the LOGO! Web Editor (LWE) interface.

±5% Threshold and Alarm Logic

Implement the ±5% window as a hysteretic on/off comparator rather than a single point-equality check. The hysteresis prevents relay chattering when the speed oscillates around the 5% boundary. The window is centred on the mean of the three measured speeds, recomputed every 1 s:

mean = (n1 + n2 + n3) / 3 upper_bound = mean × 1.05 lower_bound = mean × 0.95

The OR block (B13) asserts if any pairwise deviation exceeds the window. The 2-second on-delay (B14) suppresses nuisance trips during acceleration ramps. The RS flip-flop (B15) latches the alarm until the operator presses the acknowledge pushbutton wired to I4.

For applications requiring a different tolerance per channel (e.g., allow ±10% on the proximity switch but ±2% on the encoders), replace B10-B12 with three separate Analog Comparators, each with its own gain and offset parameters. The LOGO! 0BA8 supports up to 64 analog comparator blocks and 32 math instruction blocks per program.

Verification, Commissioning, and Modbus TCP

  1. Open LOGO! Soft Comfort V8.x and connect to the LOGO! base module via Ethernet. The default IP address of a factory-fresh 0BA8 is 192.168.0.10; the PC must be on the same subnet (e.g., 192.168.0.1/24).
  2. Open the project and verify that the program is in PC → LOGO! direction. Click "Transfer → PC → LOGO!" to download the configuration.
  3. Power-cycle the LOGO! and watch the boot LED sequence: green RUN should illuminate within 5 seconds, indicating successful program load.
  4. Force a known frequency on each input by rotating the encoder by hand at a steady rate and counting the pulses with an external oscilloscope on I1, I2, I3. Compare the LOGO!'s internal counter value (visible via LOGO! TDE or web server) with the oscilloscope count.
  5. Verify the RPM reading using a handheld tachometer aimed at the rotating shaft. The LOGO! display should agree within ±0.5% at 6 rpm and within ±1% at 20 rpm (subject to the 1 s sample window quantisation).
  6. Force a deviation by stalling one encoder and confirm the alarm relay Q1 picks up after 2 s. Reset using the acknowledge pushbutton on I4.
  7. Monitor the LOGO! web server at http://192.168.0.10 from any browser on the network. Enable the "LOGO! Web Editor" (LWE) in the project settings for live variable display without needing the LOGO! Soft Comfort IDE.
  8. Record the Modbus TCP register map (function code 0x03 read holding registers, base address 0x0000) for integration with an HMI or SCADA. The LOGO! 0BA8 Modbus server exposes all digital and analog block values starting at register 0x0000 for inputs and 0x0800 for outputs; consult the LOGO! 8 system manual entry 109741041 for the complete mapping.

Troubleshooting Matrix

Symptom Likely Cause Diagnostic Step Corrective Action
Counter never increments Sensor wired to I5-I8 (not high-speed) Verify physical terminal vs. FBD block input selection Re-wire to I1-I4 or change block to high-speed input
Counter counts only one direction Direction input not configured Check direction logic in Up/Down Counter block Disable direction or wire direction to dedicated input
Reading is 1/2 expected rpm Quadrature decoder expected; only A channel wired Verify single-channel vs. quadrature mode Set block to "single" or wire the B channel and set "quadrature"
Reading is 4× expected rpm Quadrature mode enabled with both A and B channels Check block properties Disable quadrature, use single-channel mode
Reading is erratic / noisy Common-mode noise from VFD or unshielded cable Inspect shield termination; check for ground loops Use shielded twisted pair, ground shield at panel entry only
Alarm does not latch RS flip-flop reset wired to alarm output Inspect B15 set/reset wiring Set = B14, Reset = I4 (separate acknowledge input)
Web server unreachable LOGO! IP changed or PC on different subnet Ping 192.168.0.10 from PC Set static IP on LOGO! and add to PC routing table
Analog input reads 0 always I7/I8 digital mode still active Open input editor in LOGO! Soft Comfort Disable digital function on I7 and I8 to enable AI1/AI2
Counter overflows Threshold too low; 1 Hz reset missed Verify M8 toggle in real-time monitor Set On threshold > expected pulses per second; verify M8 is "On" for at least 1 cycle
Modbus read returns 0 Register address outside 0x0000-0x0FFF range Cross-check block VM (Variable Memory) address Re-map to a valid VM address; re-poll with function 0x03

Edge Cases and Field Notes

Very low speed. At 6 rpm with 1 PPR the measured frequency is 0.1 Hz; a 1-second sample window yields one pulse per 10 s, and the LOGO!'s 1 s update rate will be unstable. Increase PPR (use a 60-tooth gear on the shaft) or extend the sample window to 10 s using a 0.1 Hz clock marker or a custom counter on M8 (divide-by-10).

Analog noise pickup. If the analog tachometer is on the same cable tray as a VFD output, add an RC filter (10 kΩ + 100 nF) at the LOGO! analog input to attenuate PWM common-mode. The LOGO! 0BA8 input impedance is 72 kΩ for the 0-10 V range, so the filter time constant is approximately 7.2 ms (cutoff ≈ 22 Hz), which is adequate for the 6-20 rpm speed range.

Modbus TCP throughput. The LOGO! 0BA8 Modbus server refreshes its register map at the LOGO! cycle time (typically 10-50 ms). For a 1 Hz update, this is non-blocking. For SCADA polling above 10 Hz, place a Modbus gateway buffer in front of the LOGO! or reduce the SCADA poll rate. The LOGO! supports up to 8 simultaneous Modbus TCP connections per the LOGO! 8 communication manual.

Web server security. The LWE web server on the LOGO! 0BA8 has no built-in authentication on legacy firmware. From firmware version FS:04 (released 2016) onward, the LOGO! supports password protection on the LWE and the LOGO! Soft Comfort remote access. Verify the firmware version in the LOGO! menu under "Diagnostics → Product Info" or via Modbus register 0x0000 (article number). Upgrade to the latest firmware from Siemens Industry Online Support entry 109741041.

Direction sensing. If the encoder is mounted on a reversible drive and the application must distinguish forward from reverse, wire the encoder's B channel to a second high-speed input and select "Quadrature" mode in the Up/Down Counter block. Quadrature decoding multiplies the apparent count by 4 per PPR, so divide the resulting rpm by 4 in the scaling block. Direction is available as the "Dir" output of the Up/Down Counter block and can be displayed on the LOGO! TDE.

Cross-platform validation. For higher-frequency or higher-resolution applications (above 1 kHz pulse rate, or 16-bit+ RPM resolution), the Siemens FM 350-1 / FM 350-2 counter modules on the S7-300 / S7-400 platform implement a native rotational-speed measurement mode that the LOGO! 0BA8 cannot match. The FM 350 modules support gate-time-based frequency measurement with hardware integration, as described in the Siemens TIA Portal counting and measuring documentation for S7-300/400. The same counting principles (gated count, fixed integration time, threshold-based alarm) apply to both platforms.

Sensor diagnostics. The National Instruments rotational-speed reference notes that the most common tachometer technologies are proximity probes and optical transducers. For each, the sensor datasheet must list the PPR (or pulses-per-revolution) rating and the maximum output frequency. Verify that the maximum expected frequency stays below 5 kHz for the LOGO! 0BA8 high-speed inputs; for a 6 rpm shaft with 1000 PPR encoder the maximum is 100 Hz, well within budget.

Performance, Cycle Time, and Platform Notes

The LOGO! 0BA8 executes its program in a fixed scan cycle that scales with the number of active function blocks. A typical 30-block program runs at an 8-15 ms cycle time, and the 1 s sample window therefore introduces a quantisation of roughly ±1% on the measured rpm. For the user's 6 rpm application this is 0.06 rpm, well inside the ±5% alarm window. For the 20 rpm application the quantisation is 0.2 rpm, also inside the window.

If the program grows beyond approximately 50 active blocks, the cycle time can exceed 20 ms and the analog-comparator response begins to lag behind the 1 Hz M8 clock. In that case, the LOGO! 0BA8 DM16 digital/analog expansion modules (e.g., 6ED1055-1CB00-0BA0 for 8 DI / 8 DO, or 6ED1055-1MA00-0BA0 for 4 AI) add I/O without adding scan burden to the main program. For applications beyond 8 high-speed counters or 4 analog inputs, migrate to the S7-1200 platform with the SB1221 high-speed counter signal board, which supports 30 kHz / 200 kHz counting and provides native frequency and period measurement function blocks.

Persistent RPM values (e.g., for an hours-counter or odometer) should be stored in Retain-tagged variables. The LOGO! 0BA8 supports 250 bytes of retain memory; mark the hours-counter block as "Retain = On" in the block properties. Non-retain values are reset to their default (0) on every power cycle, which is the desired behaviour for a running RPM but not for a totalised hours counter.

FAQ

Which LOGO! 0BA8 base module should I use for high-speed counter inputs?

Use any of the four DC-supply 0BA8 base modules: 6ED1052-1MD08-0BA0 (LOGO! 12/24 RCE with display), 6ED1052-2MD08-0BA0 (LOGO! 12/24 RCEo, no display), 6ED1052-1CC08-0BA0 (LOGO! 24CE with display, transistor outputs), or 6ED1052-2CC08-0BA0 (LOGO! 24CEo, no display, transistor outputs). The 5 kHz high-speed counters are on inputs I1, I2, I3, and I4. AC-supply variants such as 6ED1052-1FB08-0BA0 do not have fast counters and must not be used for this application.

How do I count pulses per second on a LOGO! 0BA8?

Use the Up/Down Counter function block from the LOGO! Soft Comfort special-functions palette, assign it to one of the high-speed inputs I1-I4, and reset it once per second using the built-in M8 clock marker (1 Hz). The count value at the moment of reset equals the pulse count per second. Multiply by 60 and divide by the encoder's PPR to obtain rpm, typically implemented as an Analog Amplifier block with Gain = 60/PPR.

Can I read a 0-10 V analog tachometer on the LOGO! 0BA8?

Yes. Wire the sensor to AI1 (pin shared with I7) or AI2 (pin shared with I8). In LOGO! Soft Comfort, open the input editor and disable the digital function on I7 or I8 to enable the analog input. The LOGO! 0BA8 analog input has 10-bit resolution (0-1000 counts for 0-10 V) and an input impedance of 72 kΩ. Apply a moving-average filter and the linear conversion n = (V / 10) × n_max to obtain rpm.

Why is my encoder reading half or four times the expected rpm?

The LOGO! Up/Down Counter block has three counting modes: single-channel (×1), single-channel with direction (×1), and quadrature (×4). If the encoder is wired with both A and B channels and the block is in quadrature mode, the counter will increment 4× per PPR. If only A is wired but the block is in quadrature mode, the counter may stall or count erratically. Set the block to "single-channel" when using one wire per direction; enable quadrature only when both A and B are physically wired.

What is the maximum rpm I can measure on a LOGO! 0BA8?

For a 100 PPR encoder the LOGO! can measure up to 5,000,000 / 100 / 60 = 833 rpm with full accuracy (limited by the 5 kHz counter ceiling). For a 1,000 PPR encoder the limit drops to 83 rpm. For 0-10 V analog tachometers the limit is set by the sensor's full-scale rpm, not the LOGO!; the LOGO!'s 10-bit analog resolution yields 9.8 mV per LSB regardless of rpm range, so at 3000 rpm full-scale the resolution is approximately 3 rpm per LSB.

Back to blog