Pcimc 3d Driver Work: Weihong Cnc Adaptor
Weihong CNC Adaptor & PCIMC-3D Driver: Integration and Operation
Step 1: Hardware Installation
- Power off the PC and disconnect the power cable.
- Open the PC case.
- Insert the PCIMC card into an available PCI slot (not a PCIe slot, unless your specific model is PCIe).
- Secure the card bracket with a screw.
- Close the case, reconnect power, and turn on the PC.
2. How the system is organized (logical layers)
-
User/Program layer
- CAD/CAM generates G‑code or toolpaths.
- Operator initiates jobs via control software.
-
Motion planner / controller software
- Parses G‑code, does interpolation (linear, arcs), kinematic transforms, feedrate smoothing and look‑ahead.
- Produces step/dir (or pulse) streams for each axis and synchronizes spindle and auxiliary outputs.
-
Host interface / motion card (PCIMC or Weihong controller) weihong cnc adaptor pcimc 3d driver work
- Receives digital motion commands from software (via memory‑mapped I/O, driver API, Ethernet, or USB).
- Converts high‑level motion into timed step pulses, direction signals, PWM for spindle, and manages Encoder inputs, limit/home switches, and safety interlocks.
- May implement hardware motion planning for jitter‑free pulses independent of OS latency.
-
Driver electronics (3D/stepper/servo drivers)
- Accept step/direction/pulse signals and produce motor phase currents.
- Provide microstepping, current control, decay modes, and fault reporting (overcurrent, overtemp).
- For closed‑loop servos, accept encoder feedback and sometimes implement commutation.
-
Motors and mechanics
- Steppers or brushless/DC servos drive lead screws, belts, or ball screws.
- Mechanical transmission determines achievable resolution, torque, and backlash.
-
Feedback and safety
- Encoders, limit switches, probes, e‑stops and input interlocks feed back to controller for position verification and safety shutdown.
8. Example numeric calculation (steps per mm)
Given:
- Motor step angle: 1.8° (200 steps/rev)
- Microstepping: 8×
- Lead screw pitch: 8 mm/rev
Steps per mm = (motor_steps_per_rev × microstep) / screw_pitch
= (200 × 8) / 8 = 200 steps/mm
Set this value in control software for proper scaling. Weihong CNC Adaptor & PCIMC-3D Driver: Integration and
Setting the Driver's DIP Switches for Weihong:
- Pulse Mode: Set to "PUL/DIR" (not CW/CCW).
- Logic Level: Match the adaptor output (typically 5V or 24V). Weihong adaptors usually output 5V differential, so set driver to 5V.
- Decay Mode: For 3D work, set "Slow Decay" or "Mixed Decay" to avoid whining at low speeds.