CJ2M-MD212 Pulse+Direction Configuration for Yaskawa Servo Drives

James Nishida21 min read
Motion ControlOmronTechnical 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

Application Overview

The CJ2M-MD212 pulse I/O module expands a CJ2M PLC with two independent high-speed differential pulse outputs suitable for commanding Yaskawa Sigma-series servo drives in pulse + direction mode. The MD212 produces RS-422 (line driver) signals at up to 500 kHz with built-in origin search, trapezoidal and S-curve acceleration profiles. Common target drives include Sigma-3 (SGDV), Sigma-5 (SGDMV), Sigma-V (SGDV), and Sigma-7 (SGD7S) families. This reference covers a typical 1- to 2-axis application where a CJ2M rack is populated with MD212 (pulse I/O), MAD42 (analog I/O for servo monitoring or process trim), OD212 (DC output for servo /S-ON, /ALM-RST, /P-CL, /N-CL), and ID211 (DC input for proximity, limits, home, and RUN commands).

The MD212 is the correct choice over the related CJ2M-MD211 module whenever the Yaskawa drive is wired for 5 V differential (line receiver) pulse command input, which is the factory default on Sigma-3 through Sigma-7. The MD211 (24 V NPN open-collector, 100 kHz) only suits low-rate applications where the drive has been repurposed for open-collector input via jumper change on CN1.

This reference does not cover:

  • MECHATROLINK-II or MECHATROLINK-III fieldbus, which would require a CJ2M with the CJ1W-MCH71 or CJ1W-NCF71 module instead.
  • Torque or velocity control modes of the Yaskawa drive, which require setting Pn000/Pn200 to values other than the position-control case presented here.
  • Continuous contouring, registration, or cam profiling, which require additional CJ2M CPU firmware options.

Module Selection: CJ2M-MD211 versus CJ2M-MD212

Parameter CJ2M-MD211 CJ2M-MD212
Output type NPN open-collector, 24 V DC RS-422 differential (line driver), 5 V DC equivalent
Maximum output frequency 100 kHz 500 kHz
Number of axes 2 2
Origin search support Yes (methods 0-4) Yes (methods 0-4)
Recommended cable length ≤2 m open-collector ≤10 m shielded twisted-pair
Compatible Yaskawa input Open-collector (drive jumper) Line receiver (drive factory default)
CJ2M backplane current (5 V) 200 mA typ. 220 mA typ.
Field decision rule: Select the MD212 unless the application requires a 24 V open-collector interface to a third-party stepper drive or a Yaskawa amplifier configured for open-collector pulse command input. Differential signaling cuts radiated emissions, eliminates ground loops between panel and machine, and supports the 500 kHz throughput needed for direct-drive rotary tables and high-lead ball screws.

CJ2M-MD212 Electrical and Timing Specifications

Parameter Value Notes
Number of pulse outputs 2 (independent axes) Pulse + direction per axis
Output frequency range 1 Hz to 500 kHz Programmable via SPED/PLS2
Output voltage (differential) ±3.3 V minimum into 100 Ω RS-422 driver levels
Output short-circuit protection Thermal current limit Reset by power cycle or INI(880)
Pulse output accuracy (constant rate) ±0.01 % Constant temperature, 25 °C
Acceleration range 1 to 65,535 pulses / 4 ms Independent accel/decel
Deceleration range 1 to 65,535 pulses / 4 ms Independent accel/decel
Origin search methods Methods 0, 1, 2, 3, 4 Per CJ2M Software User's Manual
Origin compensation -2,147,483,648 to +2,147,483,647 32-bit signed
Backplane current 5 V DC, 220 mA typical From CJ2M bus
External supply 24 V DC ±10 %, 30 mA Logic / I/O supply
Operating temperature 0 to 55 °C Same as other CJ2M units
Vibration 5.9 m/s² (0.6 G), 10 to 55 Hz Conforms to IEC 61131-2
Thermal caveat: Sustained 500 kHz output with sub-4 ms accel updates will drive the driver ICs toward the upper end of their thermal budget. Above 200 kHz continuous duty derate ambient temperature by 5 °C, or mount the MD212 with 25 mm clearance top and bottom within the panel. Refer to the Omron CJ2M product page for the latest mechanical drawing and derating guidance.

Front-Panel Indicators and Module Diagnostics

LED Color State and Meaning
PWR Green Solid: 5 V backplane present. Off: no power or partial insertion.
RDY Green Solid: module initialised and healthy. Off or blink: PLC stopped or slot disabled.
ERC Red Module error (watch-dog, lost configuration, address conflict). Power-cycle required.
ERH Red Host (CPU) error affects this slot. Investigate ERR/ALARM LED on the CPU.
PULSE 0 / PULSE 1 Yellow Blink synchronous with axis-0 or axis-1 pulse train. Steady indicates constant-frequency output.

A PULSE LED stuck on with the drive motor energised indicates either a configuration error (PLC Setup mismatch) or hardware failure of the MD212 line driver IC. Always capture initial LED states at first power-up and retain them in the machine's commissioning dossier for comparison against field fault reports.

Rack Layout, Power Budget and Companion Modules

The MD212 occupies one CJ-series slot. Its 16 I/O words are reserved for special I/O and are not usable for general digital or analog I/O. The CJ2M stack-up for a Yaskawa pulse-command axis typically combines:

  • Slot 0: CJ2M-CPU11/12/13/14/15 (or higher). The CPU models with built-in pulse outputs (CPU22 through CPU35) include 100 kHz outputs that may be used in parallel or reserved for a different axis.
  • Slot 1: CJ2M-MD212 (pulse + direction to two Yaskawa amplifiers).
  • Slot 2: CJ2M-ID211 (DC 24 V input, 16 points) — proximity, limits, home, /S-ON feedback, /ALM contact.
  • Slot 3: CJ2M-OD212 (DC 24 V output, 16 points) — drive /S-ON, /ALM-RST, /P-CL, /N-CL, and brake release.
  • Slot 4: CJ2M-MAD42 (analog I/O: 4 inputs + 2 outputs, 16-bit) — torque monitor, follower trim, or process setpoint.

Use CX-Programmer's I/O Table utility to drop these into the rack and confirm the auto-allocation. The MD212 occupies a 16-word block typical of CJ2M special I/O modules. Confirm the backplane 5 V budget:

I_total = 220 + 80 + 110 + 220 = 630 mA reserve for cooling expansion

Most CJ2M CPUs source 2.0 to 2.5 A on 5 V, leaving ample margin. Failure to budget causes intermittent MD212 ERC events during high-frequency bursts when the backplane voltage momentarily sags.

Yaskawa Sigma Pulse Command Interface (CN1)

Sigma-3 (SGDV), Sigma-5 (SGDMV), and Sigma-7 (SGD7S) all share a 50-pin CN1 control interface. The following pins apply to pulse-command position control. Always consult the specific SERVOPACK manual for the exact pinout, as some models relocate signals on CN2 or add a CN3 second encoder port.

CN1 Pin Signal Symbol Function
7 Pulse + PULS1 Pulse command, positive leg
8 Pulse − /PULS1 Pulse command, inverted
11 Direction + SIGN1 Sign command, positive leg
12 Direction − /SIGN1 Sign command, inverted
6, 13, 17 Pulse GND PGND Pulse command return (isolated from SG)
21 24 V pulse supply +24VIN Required only with open-collector drive input
40 /S-ON Servo-ON input Active-low, sink 24 V at 5 mA typical
41 /P-CON P/PI control switch Active-low
42 /P-CL Forward torque limit Active-low
43 /N-CL Reverse torque limit Active-low
44 /ALM-RST Alarm reset Active-low, ≥120 ms pulse
31, 32, 47 Control GND SG Common return for sequence I/O
23, 24 Encoder Z output PC, /PC Z-phase (origin marker)
Drive input mode jumper: Yaskawa pulse-input circuits can be set to either "line receiver (RS-422)" or "open collector." The factory default is line receiver, which expects differential signals and pairs directly with the CJ2M-MD212 outputs. A previous installation may have reconfigured the drive for open-collector input — if so, the drive will either count pulses incorrectly or raise A.040 (Pulse Frequency Alarm) repeatedly. Restore the line-receiver mode before commissioning.

Differential Wiring Standards and Topology

Use a shielded, twisted-pair cable such as Omron XW2Z-100J-F1 or a UL-listed AWG-24 shielded cable with dedicated twisted pairs. The PULS pair and SIGN pair must each be a single twist; do not interleave PULS lines with SIGN lines.

CJ2M-MD212 Axis 0 Line Driver RS-422 Out PA+/PA- (CW/CCW) PB+/PB- (CW/CCW) Cable Twisted Pair Shielded Drain to PE Yaskawa SGD7S CN1 (50-pin) Line Receiver PULS1 (7) / /PULS1 (8) SIGN1 (11) / /SIGN1 (12) PA+ PA- PB+ PB- CN1-11 SIGN1 CN1-12 /SIGN1 CN1-7 PULS1 CN1-8 /PULS1 Shield bonded at panel PE; isolated from drive GND

Wiring Rules

  1. Twist PULS+ with PULS-; twist SIGN+ with SIGN-. Maintain ≥ 1 twist per inch (5 twists per 100 mm).
  2. Connect the cable shield at the PLC enclosure end only. Cut the shield short and tape it off at the drive end, or use a Yaskawa CN1 backshell that floats the shield from the drive chassis.
  3. Ground the MD212 24 V return and the drive CN1 PGND to the same panel protective earth (PE) bus to avoid common-mode shift.
  4. Maintain ≥ 50 mm separation between the pulse cable and any VFD motor cable. Cross at 90° only if intersection is unavoidable.
  5. Use a Yaskawa CN1 connector housing (JAE part or equivalent) rated for 50 positions; pin contacts must accept AWG-26 to AWG-24.
  6. Twist /S-ON and /ALM-RST as a third pair in the same overall cable jacket, but route that pair in a separate foil shield to keep drive-side logic noise out of the pulse lines.

CX-Programmer PLC Setup for Pulse + Direction

Open CX-Programmer 9.x or later, connect to the CJ2M CPU, and double-click the Settings folder. The Pulse Output 0 and Pulse Output 1 entries control the MD212 axis-0 and axis-1 behaviour. Configure each entry as follows:

  1. Output type: set to "Pulse + direction (signed)" for both axes in use. Disabling the unused axis releases the SCPU resource.
  2. Starting frequency: enter a value between 0 and 50,000 Hz. Typical: 1,000 Hz to avoid step-out on a heavily-loaded axis at low speed.
  3. Acceleration/deceleration pattern: choose "Trapezoidal" (constant accel) or "S-curve" (jerk-limited). S-curve reserves ~10 % extra of trapezoidal time but reduces wear on belts, couplings, and rack-and-pinion axes.
  4. Origin search method: choose 0, 1, 2 or 3 per the CJ2M Software User's Manual. Method 2 (proximity + encoder-Z origin search) is most common for rotary SERVOPACK encoders with a Z-phase marker pulse.
  5. Origin search high speed: typical 50,000 Hz approach speed.
  6. Origin search proximity speed: typical 10,000 Hz slow acquisition speed.
  7. Origin search compensation value: leave at 0 unless a known mechanical offset exists between the origin marker and the desired home position.
  8. Save the project, transfer to the PLC, switch PROGRAM → RUN, and confirm the MD212 RDY LED is steady green.
PLC Setup persistence: Once activated, the PLC Setup is mirrored to the CPU's non-volatile flash memory. Online edits take effect immediately but revert if the battery (or flash) is lost. Always clear flash before loaning the CPU to another integrator to avoid unexpected setup drift. Refer to the Omron CJ2M product family page for the latest manuals including the CJ2M Pulse I/O Module Operation Manual (catalog number W498).

Special I/O Allocation and Internal Flags

For a CJ2M CPU with the MD212 in slot 1, the CX-Programmer I/O Table utility assigns the first base address automatically. Verify the actual base with the online I/O Table view. The default for Slot 1 is CIO 0 (special I/O area). The high-speed counter / pulse output area overlaps with the built-in CPU pulse-output area; use the following special flags:

Special I/O Symbol Address (default) Function
Pulse Output 0 Pulse Output Active A281.08 1 while axis 0 pulse train is in progress
Pulse Output 1 Pulse Output Active A281.09 1 while axis 1 pulse train is in progress
Pulse Output 0 PV=0 (Origin Complete) A281.10 1 when PV reaches 0 (origin complete)
Pulse Output 1 PV=0 A281.11 1 when PV reaches 0
Origin Search Busy A280.00 1 during ORG instruction execution
Origin Search Complete A280.01 1 when ORG instruction finishes successfully
Pulse Output 0 Error Stop Flag A560.08 1 if axis 0 stopped abnormally
Pulse Output 1 Error Stop Flag A560.09 1 if axis 1 stopped abnormally
Pulse Output 0 PV (CIO/DM base + 0) 32-bit present value, axis 0
Pulse Output 1 PV (CIO/DM base + 2) 32-bit present value, axis 1

The addresses assume the standard CX-Programmer allocation for a CJ2M CPU with MD212 in slot 1. If the actual allocation differs, open CX-Programmer's Memory View and verify each address before writing ladder that depends on it.

Ladder Code: Continuous Speed Output (SPED + ACC + INI)

Use SPED(885) for continuous speed, ACC(888) for trapezoidal acceleration, and INI(880) for an explicit stop. The example below accelerates axis 0 at 250 pulses per 4 ms (≈ 62.5 kHz/s) up to 50 kHz in the forward direction.

| W0.00       SPED(885)  -- pulse output 0
|--+--)/--+--| P |--- Control Word: P = 0000 (axis 0, no accel)
|              |     Frequency: D100   = 50000 (target Hz, 32-bit)
|              |     Output port: D102   = 0 (CW direction)
|              |     Mode:       D104   = 0 (independent)
|
| W0.01       ACC(888)  -- axis 0
|--+--)/--+--| P |--- Control Word: P = 0000 (axis 0)
|              |     Accel rate:  D110   = 250 (pulses/4 ms)
|              |     Decel rate:  D112   = 250 (pulses/4 ms)
|
| W0.02       INI(880)  -- stop axis 0 immediately
|--+--)/--+--| P |--- Control Word: P = 0000 (axis 0)
|              |     Mode:        D120   = 5 (Pulse Output Stop)

Rising edge on W0.00 triggers SPED to issue axis-0 pulses and the A281.08 active flag rises until INI(880) is executed or the SPED instruction is interrupted by another instruction writing the same axis. The MD212 PULSE 0 LED will sync to the pulse stream at 50 kHz and appear nearly solid for typical viewing angles.

Ladder Code: Trapezoidal and S-Curve Positioning (PLS2)

PLS2(887) outputs a defined pulse count at a defined target frequency with independent accel and decel. The example issues an absolute move of 200,000 pulses at 100 kHz with equal 500-pulses-per-4 ms accel and decel rates.

| W0.10       PLS2(887)  -- axis 0 absolute move
|--+--)/--+--| P |--- Control Word: P = 0000 (axis 0)
|              |     Pulse mode:   D200    = 1 (absolute)
|              |     Target PV hi: D201    = 0
|              |     Target PV lo: D202    = +200000 (signed 32-bit)
|              |     Target freq:  D204    = 100000 (Hz)
|              |     Accel rate:   D206    = 500 (pulses/4 ms)
|              |     Decel rate:   D208    = 500 (pulses/4 ms)
|
|--( )---------|
| A281.08      PLS2 check
|--+--/----| END |       ; wait for axis-0 active flag to clear

Setting D200 = 0 selects relative mode (D201/D202 pulses from the current PV); D200 = 1 selects absolute mode (D201/D202 pulses from the origin). To enable S-curve motion, set the PLC Setup pulse-output pattern to "S-curve" for that axis. The PLC then handles the S-curve profile in firmware; the pulse count output remains the same but the accel/decel change-of-junction is smoother.

To verify PV at any time, use PRV(287) (High-Speed Counter PV Read) which captures both the 32-bit PV and the current output frequency in a single instruction. PRV is particularly useful for inch-mode manual moves and for confirming homed position before tool changes.

Origin Search and Homing Routine (ORG)

The ORG(889) instruction implements the CJ2M built-in origin search. It depends on four inputs wired to a high-speed input module such as the ID211:

  • Origin proximity input (IN0): PNP proximity sensor mounted a few millimeters before the home position.
  • Origin input (IN1): encoder Z-phase output from CN1 pin 23/24 (or a dedicated home limit switch for stepper/encoderless applications).
  • CW limit (IN2) and CCW limit (IN3): hard overtravel limit switches wired fail-safe (N.C. contacts).
| W0.20       ORG(889)  -- axis 0 origin search
|--+--)/--+--| P |--- Control:    P = 0000 (axis 0)
|              |     Method:     D300   = 2 (proximity + Z)
|              |     Origin prox: input 0.04
|              |     Origin in:   input 0.05
|              |     CW limit:    input 0.06
|              |     CCW limit:   input 0.07
|
| A280.00     wait for ORG to release
|--+--/----| END |       ; A280.00 clears when ORG returns Complete
|
| A280.01     PV reset on completion
|--+--( )--( | )--- reset touch sensor W100.00

When ORG(889) completes, the MD212 sets the Pulse Output 0 PV to zero and the A281.10 PV-Zero flag rises. With a 23-bit absolute encoder on the Yaskawa motor and a proximity + Z origin sequence, the homed-position accuracy is one motor encoder count (i.e. 0.011° for a 23-bit 32768-count-per-turn motor), limited only by the mechanical repeatability of the home flag sensor.

Yaskawa Parameter Map and Electronic Gear Ratio

After wiring and CJ2M commissioning are verified, configure the SERVOPACK. The list below covers the common parameters required for pulse + direction operation. Always verify against the SERVOPACK manual for the specific model in use.

Parameter Name Value (Pulse + Direction) Notes
Pn000 Control mode 0 (position control) Other options: speed, torque
Pn200 Position reference source 0 (pulse train) Position-loop reference source
Pn218 Pulse form selection 0 (pulse + sign, positive logic) 1 = CW/CCW, 2 = A/B quadrature
Pn219 Pulse input filter 0 (no filter) Higher values add noise immunity but limit max input frequency
Pn009 Motor feedback resolution 32768 (23-bit encoder) 16384 for 17-bit, 8192 for 13-bit
Pn010 Command pulses per motor rev numerator Set per application See gear calculation below
Pn50A /S-ON signal assignment 0 (CN1-40) Active-low default
Pn50B /P-CON signal assignment 0 (CN1-41) P/PI control switch
Pn50C /P-CL signal assignment 0 (CN1-42) Forward torque limit
Pn50D /N-CL signal assignment 0 (CN1-43) Reverse torque limit
Pn511 /ALM-RST signal assignment 0 (CN1-44) Alarm reset, active-low, ≥120 ms pulse
Parameter write enable: Yaskawa parameter writes are blocked unless the drive is in the "Parameter Write Enabled" mode. Either toggle the WEE bit through the digital operator panel or set Pn00B.1 = 1 (utility function for forced parameter writing) before uploading the gear ratio table. Reference the Yaskawa Sigma-7 product page for the SERVOPACK manual download.

Electronic Gear Ratio Calculation

The electronic gear converts the incoming pulse train into motor shaft displacement using:

Motor displacement = Pn010 / Pn009 × Number of command pulses

Choose Pn009 first (typically the encoder resolution: 32768 for 23-bit). Then select Pn010 so that the load displacement per command pulse is a round engineering number.

Worked example 1 — linear ball screw: 5 mm pitch ball screw, 32768 c/rev encoder, target 0.01 mm per command pulse (500 pulses per motor revolution).

Pn009 = 32768
Pn010 = 32768 / 500 = 65.536 -> enter 65
Working displacement per pulse = 5.043 mm / 500 = 0.01009 mm
1 command pulse = 0.01009 mm linear travel

Worked example 2 — direct-drive rotary table: 3600 pulses per motor revolution desired.

Pn010 = 32768 / 3600 = 9.102 -> enter 9
Working displacement per pulse = 1/9 rev = 0.1111... deg
3600 command pulses = exactly 360 deg
Integer caveat: Yaskawa gear ratios round to integer numerator/denominator values. Always verify the actual displacement per pulse with PRV(287) after parameter download, comparing against a calibrated dial indicator or laser interferometer before trusting the system position accuracy on critical axes.

Safety Integration, E-Stop, and Cycle-Time Considerations

Hardwired safety must not depend on the PLC scan time. Wire the drive Safe Torque Off (STO) inputs directly to the safety relay — do not pass them through the MD212 or through any CJ2M high-speed counter input. The drive will not develop torque while the STO loop is open, regardless of the pulse stream.

Item Hardware Path PLC Behaviour on Trigger
Emergency Stop Hardwired to safety relay; safety relay breaks STO and main contactor coil PLC scans drop to PRG/STOP; drives stop receiving pulse commands
Overtravel Limit (CW/CCW) Fail-safe N.C. limit switches wired to ID211 inputs and to drive /P-CL and /N-CL torque limits Bit monitored by ORG and PLS2 instructions; PLC INI(880) Mode 5 stops axis
Brake Hold Drive /BK (Brake) output routed via OD212 to motor brake coil through interposing relay Brake engages when pulse command stops and PV-Zero flag asserts
Drive /S-ON OD212 output to CN1-40 (/S-ON) via interposing relay Ladder holds /S-ON low after E-stop clear + alarm reset

Cycle-time considerations:

  • CJ2M-MD212 pulse output update rate is 4 ms (250 Hz). Maximum acceleration response is therefore a stepping of 65,535 pulses per 4 ms, matching the spec.
  • PLC scan time at 5 ms combined with a 4 ms pulse-output update produces an end-to-end command latency of 9 ms worst case. The Yaskawa drive position-loop bandwidth (typically 100-200 Hz) absorbs this margin on most mechanical axes.
  • For high-bandwidth registration or print-mark applications, route the registration trigger into the high-speed interrupt (MSKS instruction) of the CJ2M CPU rather than the periodic scan; the MD212 supports hardware-based interrupt registrations on input channels 0/1.
  • If the calculated peak pulse rate exceeds 250 kHz, plan for S-curve acceleration or divide the move into multiple PLS2 segments to keep average pulse rates below 200 kHz. Sustained 500 kHz moves generate heat on the MD212 line drivers (see thermal caveat above).

Troubleshooting Matrix: Alarms and Diagnostics

Yaskawa Alarm / PLC Error Symptom Likely Cause Corrective Action
A.020 / A.0200 — Parameter Checksum Drive displays A.020 on power-up Parameter edit not committed to EEPROM Re-write affected parameters, then power-cycle to commit
A.040 / A.0400 — Pulse Frequency Drive pulses missed; alarm after fast move Pulse rate above drive input limit Reduce SPED/PLS2 target frequency; reduce Pn219 filter setting
A.510 / A.5100 — Overspeed Motor overspeed during move Mechanical decoupling or wrong gear ratio Verify reducer/coupling integrity; re-check Pn010/009
A.C10 / A.C100 — Overcurrent Instantaneous overcurrent, drive trips Short in motor cable or drive output stage Megger-check CN2 motor cable; replace if damaged
A.E40 / A.E400 — Command Pulse Frequency Pulses not seen or jumpy motion Open line or wrong pulse form Verify Pn218 = 0, check PULS1/PULS1 wiring, restore line-receiver jumper
A.E50 / A.E500 — Command Pulse Error Pulses lost during acceleration Pn219 filter too short, cable reflections Reduce Pn219 to 0; verify shield termination; shorten cable
A.F10 / A.F100 — Power Supply Undervoltage on main circuit Drop on 3-phase supply Check line voltage, confirm bus capacitor discharge cycle
MD212 ERC = ON Module will not initialise Backplane 5 V below spec or wrong slot position Measure +5 V backplane; verify 220 mA budget not exceeded
A281.08 stays OFF with pulse commanded Pulse Output 0 active flag never rises PLC Setup mismatch or hardware trip Verify mode selection in PLC Setup; re-download PLC Setup
A560.08 ON — Pulse Output 0 stopped abnormally Axis stopped mid-move Limit switch hit or INI Mode 5 issued Check CW/CCW limits; reset with INI Mode 4
Motor runs in only one direction No CCW motion regardless of sign SIGN1 line not seen Swap SIGN+/SIGN- in cable; confirm Pn218 = 0
Motor hums, draws high current Pulsed delivery distorted Loss of PULS+ or PULS- Verify continuity end-to-end with TDR or ohmmeter
Position overshoots Position error increases with higher rates Trapezoidal aggression or gear error Reduce ACC/PLS2 rate; switch to S-curve; recheck electronic gear

When a Yaskawa alarm is observed, cycle control power only after clearing the alarm with the /ALM-RST input (CN1-44 pulse ≥ 120 ms, active-low). Cycling the main power without clearing causes the alarm to reappear and may corrupt the parameter checksum on drives older than firmware 32xx. Refer to the Yaskawa Sigma-7 documentation for the full alarm list and the dedicated servo-troubleshooting manual.

Verification and Commissioning Checklist

  1. Confirm the MD212 RDY LED is steady green once the CJ2M CPU enters RUN. A flicker or constant red indicates a slot or power problem and the module must be reseated or replaced.
  2. Set the SERVOPACK: Pn000 = 0, Pn200 = 0, Pn218 = 0, Pn219 = 0. Cycle main power to commit.
  3. Use the digital operator (or SigmaWin) to confirm the parameter changes are stored. Verify encoder resolution reported back matches Pn009.
  4. Issue a 100-pulse relative move at 1,000 Hz with SPED. Confirm the motor shaft rotates the expected angle, that the A560 error stop flag stays clear, and that PULSE 0 LED on the MD212 cycles visibly.
  5. Issue a 10,000-pulse absolute move with PLS2 to test full closed-loop with the A281.08 active flag rising and clearing per the move window.
  6. Trigger ORG(889) and verify the axis returns to the home position reproducibly to within one motor encoder count. Capture the resulting PV value with PRV(287).
  7. Run a 24-hour continuous-rotation soak test at 60 % of the maximum pulse rate while monitoring motor winding temperature, drive heat-sink temperature, and MD212 ERC LED.
  8. Document final Pn009/Pn010 gear ratio, PLC Setup accel/decel rates, CX-Programmer version, drive firmware revision, and digital operator password in the machine handover document.
  9. Train the end-user on how to read the alarm list on the digital operator and how to retrieve it programmatically via the RS-422 Modbus maintenance interface.

Frequently Asked Questions

What is the difference between the CJ2M-MD211 and CJ2M-MD212?

The MD211 is a 24 V NPN open-collector output module rated to 100 kHz, while the MD212 is a 5 V RS-422 differential (line driver) module rated to 500 kHz. For Yaskawa Sigma drives configured with line-receiver pulse input, the MD212 is the correct choice because the differential pairs (PULS1/ /PULS1, SIGN1/ /SIGN1) reject common-mode noise from VFD motors far better than single-ended 24 V.

How do I configure Yaskawa parameters for pulse + direction operation?

Set Pn000 = 0 (position control), Pn200 = 0 (pulse train reference), Pn218 = 0 (pulse + sign positive logic), and tune Pn219 (pulse filter) to the lowest value that still rejects noise. Set the electronic gear with Pn009 = encoder resolution and Pn010 so command pulses per motor revolution match the application's mechanical units.

Why does the drive show A.040 (Pulse Frequency Alarm)?

The SERVOPACK detected input pulses faster than its rated maximum. Reduce the SPED or PLS2 target frequency, or increase the pulse input filter (Pn219) only if necessary. Note that raising Pn219 also lowers the maximum input frequency, so it is not a substitute for reducing the source pulse rate.

Can the MD212 sustain 500 kHz over a 10 m cable?

Yes, but only with the differential wiring described in this reference: shielded twisted pairs, shield bonded at the panel PE end, isolation from the drive end, 50 mm separation from VFD motor cables, and a low Pn219 setting on the drive. Open the backshell and inspect shield termination if at all uncertain.

Which CX-Programmer instructions should I use for pulse + direction?

Use SPED(885) for continuous speed output, ACC(888) for trapezoidal acceleration and deceleration, PLS2(887) for point-to-point positioning with a defined pulse count, INI(880) for an explicit stop, PRV(287) for reading the present value and current output frequency, and ORG(889) for the built-in origin search.

How do I scale command pulses to engineering units?

Use the Yaskawa electronic gear: choose Pn009 for the motor encoder resolution (32768 for a 23-bit encoder) and Pn010 so that the load displacement per command pulse is a round number. Validate the resulting displacement per pulse with PRV(287) and a calibrated indicator before relying on the system for precision moves.

Back to blog