Connection terminal: 38P M3 terminal block (1/2 dedicated terminal for sub counter+common terminal)
Power terminal: 12/24V power input (providing power for external signals)
2. Key terminal functions
Terminal Type Function Description Electrical Specifications
The phase A/B (PHA/PHB) pulse input terminal supports 5V/12V/24V; Maximum input pulse 200kpps (X4 mode)
External enable (ENB) counting allows control input operating voltage of 10.2~26.4V; operating current of 4~11mA
The reset input of the RST counter and the "current value reset" signal form OR logic; Response time ≤ 6ms
External sampling (SMPL) sampling/storage trigger input pulse width ≥ 5ms; operating voltage 4.5~5.5V (5V mode)
Coincidence output (EQU): Coincidence signal output with open collector; Maximum load of 29V/250mA; ON voltage ≤ 1.5V
Test input (TST1/TST2) addition/subtraction test input operating voltage 10.2~26.4V; response time ≤ 120ms
3. Terminal connection example
Pulse generator (open collector output 12V): PHA/B terminal → pulse generator output; COM terminal → generator ground; Single point grounding of shielding layer
External enable/reset (12/24V): ENB/RST terminal → external control signal; COM terminal → power ground; Need to connect current limiting resistors in series
Coincidentally output (inductive load): EQU terminal → load positive pole; Load negative pole → power supply ground; Parallel surge absorber
4. Wiring precautions
Cable selection: Shielded twisted pair cable is used for signal lines, with a length of ≤ 30m (when 50kpps)
Grounding requirements: single point grounding of shielding layer; Connection between module FG terminal and equipment grounding system
Power isolation: External power supply is equipped with a line filter, and the primary/secondary of the filter is wired differently from the DC output terminal
Operation process and test run
1. Basic operating procedures
Installation wiring: Confirm the installation environment, fix modules, and connect terminals (shielding layer grounding, wire spacing compliance)
Switch setting: Set the number of counting bits (SW1) according to the CPU model
Initial configuration: Set counter function, pulse mode, magnification and other parameters through CPU output registers
Start counting: Activate the "count enable" signal (output coil+external ENB signal), and the counter starts working
Monitoring status: Read counting status, coincidence output, and error messages through LED indicator lights or input registers
2. Test running steps
(1) Check before powering on
Switch setting: Confirm that SW1 (counting digits) matches the CPU
Voltage matching: The input terminal voltage level is consistent with the external device
Wiring correctness: The terminal connections are not loose, there are no short circuits, and the signal polarity is correct
(2) Power on verification
Power on: After the module self diagnosis is completed, the RDY indicator light is turned on (self diagnosis time is about 0.8 seconds)
Pulse test: Operate the pulse generator, the PHA/PHB indicator light flashes (phase A/B input)
Counting direction: INC light on when ADD counts, DEC light on when SUBTRACT counts
Coincidence verification: When the preset value is reached, the EQU indicator light is turned on; reset after triggering "output disabled"
3. Initial setup steps
Configure output registers: set pulse input mode (phase A/B or signed), counting multiplier (X1/X2/X4), counter function (0=compare/1=loop/2=sample/3=store)
Activate initial settings: Output coil "Initial setting" from OFF to ON (make sure the counting enable is OFF)
Preset parameter: Set the target value through the "Coincidence/Count width preset" command
Start counting: Activate the "Count enable" coil and, in conjunction with an external ENB signal, the counter begins to run
Fault handling and diagnosis
1. Self diagnostic function
Power on diagnosis: ROM checksum check, RAM check, WDT (watchdog) check
Run diagnostics: Set up error monitoring, CPU scan time monitoring, CPU run/stop status check
Error feedback: Fault feedback through READY input relay, ERR indicator light, scan time error relay
2. Common faults and solutions
Possible causes and solutions for the fault phenomenon
RDY light OFF (module unresponsive) ROM/RAM/WDT error, power failure module reset or power failure restart; If the fault persists, replace B2801
Do not count (PHA/PHB light does not flash) pulse input wiring error, voltage level mismatch check external wiring, pulse generator output; Confirm terminal voltage
Do not count (PHA/PHB light flashing), count enable not activated, external ENB signal OFF check the status of the "Count enable" coil; Connect external enable signal
Counting error (numerical deviation), incorrect setting of counting multiplier, abnormal pulse waveform, check the counting multiplier in the initial setting; Check the output waveform of the pulse generator
Coincidentally, the preset value for abnormal output is set incorrectly, and the output disable signal is turned on to reset the coincidence point/count width; Confirm that the 'Output disable' coil is OFF
Email:wang@kongjiangauto.com