Hello Guest it is January 27, 2022, 01:26:59 AM

Author Topic: Omron MX2 problem  (Read 3505 times)

0 Members and 1 Guest are viewing this topic.

Omron MX2 problem
« on: March 10, 2016, 03:46:24 AM »
Hello experts. I use Mach4 + Ethernet SmoothStepper, 4 x Junma AC Servopack and Spindle frequency inverter Omron
Please help configure or scripting in Lua spindle speed control with MX2 EA input (Pulse train input
24 VDC 32 kHz max.). It is not PWM, it variable frequency.


Re: Omron MX2 problem
« Reply #1 on: March 10, 2016, 09:10:36 AM »
If the MX2 takes a variable frequency pulse train... then it looks like a stepper motor to Mach4.  Presuming the ESS supports out-of-band motors (I don't know), then configure the spindle for step pulse control and assign it to OB1 (or OB2, etc.).  Set the max sep rate to 32 KHz (I presume... you would need to read the MX2 manual to figure out how to map step rate to spindle speed).  Then you will need a way to convert the ESS outputs to 0-24V.  You don't mention if you are using a breakout board along with the ESS.  The PMDX-105 (http://pmdx.com/PMDX-105) can do this for you.  See Figure 5 on page 7, and wire J5 pin 1 to your +24V supply.  The MX2 would connect where the diagram shows the PLC, though you would only connect 1 signal.

[EDIT] Oops - I just double-checked the specs on our PMDX-105.  The opto-couplers won't pass a high enough frequency to work here.  The max is around 500 Hz, nowhere near 32 KHz.  See the option below.[END EDIT]

Though I'm wondering why you don't use the 0-10V analog input.  Then you can use any number of spindle control boards including our PMDX-407-S (http://pmdx.com/PMDX-407, which can operate stand-alone with any motion controller/breakout board).  Confirure Mach4 and the ESS to generate a PWM signal.  Then the MC2, terminal "H" provides the 10V reference into the 407's "Aref" input, and terminal "O" takes the "Aout" from the 407, and the "L" terminal goes to the "Agnd" on the 407.  If you go this way, make sure to order the "-S" version.

« Last Edit: March 10, 2016, 09:15:31 AM by bob_at_pmdx »
Re: Omron MX2 problem
« Reply #2 on: March 10, 2016, 09:16:21 AM »
See my edit in the previous post.  The PMDX-105 won't work here.

Re: Omron MX2 problem
« Reply #3 on: March 10, 2016, 10:54:40 AM »
I using breakout board "home made". All ESS IN/OUT converted to 0-24 VDC and galvanical isolated (optocouplers MOCD207).
Signal EA setings range is 1.0-32.0 kHz (scaled in MX2 setup), ex. 2.4 kHz - 24000 rpm.
I don't use the 0-10V analog input. If using EA input, it does need only one wire for change spindle speed.
Re: Omron MX2 problem
« Reply #4 on: March 24, 2016, 06:40:19 AM »
Settings with OB1(6) works. Thanks