MB2 logic levels - Page 2


Page 2 of 3 FirstFirst 123 LastLast
Results 21 to 40 of 41

Thread: MB2 logic levels

  1. #21
    Member
    Join Date
    Jun 2005
    Location
    USA
    Posts
    1723
    Downloads
    0
    Uploads
    0

    Default Re: MB2 logic levels

    Gerry,

    I have not played with the charge pump at this point. However, that would be my guess as well.

    Y114 Output CP (Charge Pump) Sink Output

    You will discover various things about this board that are not intuitively obvious when you start playing with the board. First off if you watch their videos you will see that are all in Thai. The documentation is pretty good, however there are some aspects that provide no real details, such as the Output Signal Switching Device (OSSD). This is a great feature where you can add additional signals into safety circuit, in my case I am adding the Servo Amplifier error output signals, so you go into ESTOP if any driver has an error. While they show this setup in the Appendix as one of the Safety circuit options they don't give a great deal of detail. Actually, all inputs into the safety circuit need to be output a LOW signal when they are in an error free condition, something you will not find in the manual. Second, if you follow they documentation and set all ESS signals as active low you will have some difficulty getting everything to work. First off you will attempt to assign the ESTOP pin to X203, and as you know the estop is typically in series with limit switches, and since X203 is a NPN input it expects a low, since the positive side of the opto is pulled up to 24V internally on the MB2. Now if you assign X203 to ESTOP in MACH3/4 you will find it is in ESTOP when you come up. Some naturally you can invert the logic in ESS plugin and it works, but that is really not what they intended. You actually configure ESS plugin for ESTOP to be assigned to X202, which is labeled as OSSD. The OSSD signal is HIGH when ESTOP and any other safety circuits are ERROR FREE. SO, in the ESS configuration you need to set the logic level accordingly. Then all will work properly. All the ports have RED led indicators that light up with the signal is low, which is handy when you are trying to figure out exactly what is happening.

    I got this board to replace the C25, C41 boards from CNC4PC, as well as two custom board I made one for differential drivers, and the other for Proximity sensors. All of that stuff works on this board and is all self contained, making for a much cleaner install.

    The spindle section is also somewhat confusing, the relay aspect is clear and that all works correctly. The ESS plugin needs to setup Spindle to PWM control. Here are the aspects of the spindle setup.

    ESS plugin
    PINS CONFIG
    Port1-Pin1 OUT LOW SPD SPINDLE
    Port2-Pin1 OUT LOW NO1 Relay1
    Port2-Pin14 OUT LOW NO2 Relay2
    Port3-Pin17 OUT LOW AO AnalogOutput

    INPUT SIGNALS
    Spindle Motor PWM ESS-only AO Analog Output
    Spindle ON ESS SPD SPINDLE
    Spindle Fwd ESS NO1 Relay1
    Spindle Rev ESS NO2 Relay2

    MACH4 Output Signals
    Spindle On ESS SPD SPINDLE
    Spindle Fwd ESS NO1 Relay1
    Spindle Rev ESS NO2 Relay2

    Now on the MB2
    Port1-Pin1 = SPD (Spindle) Sink Output
    Port2-Pin1 = NO1 Relay1 contact
    Port2-Pin14 = NO2 Relay2 contact
    Port3-Pin17 = AO Analog Output

    The MB2 takes the PWM signal and uses it to adjust a digital pot. Actually I can not find a digital pot on the board, so they call it the Anaspeed circuit but you can measure the pins AH,AO,AL and do not see any change in resistance as you adjust PWM, so that part is a little puzzling. You must connect it to the VFD with a 10V source for that aspect to work and I have not tested that part yet.

    The strange part to me is the AO signal is what goes to the VFD, so why did they need the SPD SPINDLE on Port1-Pin1 and that is the Spindle On signal in MACH4?

    I think my box got tossed in with all the Christmas rush orders and seemed to slip right through customs, so got lucky on that front. The wait will be worth your time as the board is high quality, we can compare notes when your board arrives. I am planning on adding the contactor as part of the e-stop circuity this week. Should have this all wrapped up and tested by the end of the week.


    Russ



  2. #22
    Member ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    35538
    Downloads
    1
    Uploads
    0

    Default Re: MB2 logic levels

    Actually, I'll be using mine with UCCNC and a UC300ETH, but everything should be similar to the ESS.

    I thought I understood how the speed control worked from the manual, but looking again, yes,it's confusing.
    Which pin is the PWM signal? And why do you need an output pin to output the analog voltage? Usually that's not part of the motion controller.

    Hopefully I'll get it tomorrow or Saturday, so I can start playing as well.

    Gerry

    UCCNC 2017 Screenset
    [URL]http://www.thecncwoodworker.com/2017.html[/URL]

    Mach3 2010 Screenset
    [URL]http://www.thecncwoodworker.com/2010.html[/URL]

    JointCAM - CNC Dovetails & Box Joints
    [URL]http://www.g-forcecnc.com/jointcam.html[/URL]

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  3. #23
    Member
    Join Date
    Jun 2005
    Location
    USA
    Posts
    1723
    Downloads
    0
    Uploads
    0

    Default Re: MB2 logic levels

    Gerry,

    The manual says you can solder a jumper on the back of the board and move the PWM signal output pin from AO (Y317) to SPD (Y101). I have the same question. The AO pin is supposed to be the analog voltage output pin, but it does not really output an analog voltage. Instead they have made pins AH,AO,AL as as a resistor, so they simulate a POT to the VFD, unlike many other products that actually output the analog voltage. I agree while your using UCCNC the ESS configuration should be pretty much identical. The relays in their manual refer to those two pins Y201, Y214 as Contact outputs but think this is a terminology issue. Those ports actual just activate the relay that controls the contacts. The ESS does say it is sending PWM to the spindle when I run tests on the bench. Need to hook up my scope and then the VFD to make sure that all looks correct. I am keep good notes for the next people that use this board. I have the differential drivers all moving my motors, home sensors work, limits work, error processing from Servo amps work, Servo on signal works, so making lots of progress. The spindle relays work correctly hooked up a meter and ran gcode and they are working correctly for forward and reverse, just need to verify the speed aspect.

    Russ



  4. #24
    Member ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    35538
    Downloads
    1
    Uploads
    0

    Default Re: MB2 logic levels

    After typing my previous reply, I remembered that my thought was that the PWM pin was Y317.
    Looking at the manual, on page 17, it clearly states that the PWM pin is Y317. Not sure why you'd switch it to Y101, because it seems that you would not be able to use Y317 then??
    Maybe he left Y101 available for use as a step/dir spindle?

    Are you setting this up with Mach4, then? I hadn't looked at that part of the manual, but now I see that they have all of the pins labeled in the Mach4 setup screens.

    Gerry

    UCCNC 2017 Screenset
    [URL]http://www.thecncwoodworker.com/2017.html[/URL]

    Mach3 2010 Screenset
    [URL]http://www.thecncwoodworker.com/2010.html[/URL]

    JointCAM - CNC Dovetails & Box Joints
    [URL]http://www.g-forcecnc.com/jointcam.html[/URL]

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  5. #25
    Member
    Join Date
    Jun 2005
    Location
    USA
    Posts
    1723
    Downloads
    0
    Uploads
    0

    Default Re: MB2 logic levels

    Gerry,

    Yes, I am setting this up under Mach4.

    The note on page 17, highlights you can switch it from Y101 to Y317, so really from Port3 to Port1. The Step/Dir pins are preassigned for six axis as follows:
    Port1: Pins 2-9 Axis: X,Y,Z,A
    Port1: 16-17 Axis: B
    Port2: 16-17 Axis: C

    The extra axis outputs all go through differential drivers but you could use them in singled ended mode for other purposes.

    MANUAL HIGHLIGHT***
    *2. The Pin for PWM (Pulse Width Modulation) Analog, lets the user chose between SPD (Y101) and Y317. The default setting is Y317. See the Abbreviation Table on page 4.

    Russ



  6. #26
    Member ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    35538
    Downloads
    1
    Uploads
    0

    Default Re: MB2 logic levels

    OK, after 5 weeks, I have my MB2.
    And yes, this looks far nicer than any other breakout board I've seen.

    One thing that I hadn't noticed in the manual is a jumper, which appears to be labeled "Charge Pump Override"? This would imply that the charge pump may be able to disable the board? I'll have to play with this when I get a chance.


    You can modify the MB2 to use a voltage different than 24vdc. The 18 to 24vdc supply goes to a DC/DC converter to generate 5v. You can disable that converter and use external 5v supply. Then you can hook up say a 12v supply to the 24vdc terminals on the MB2.
    Did you try this? Here's my interpretation of the manual.
    There are two 5V converters on the board. The one that you can disable, only supplies 5V to pin 26 on the ports, to power the ESS. The other converter supplies 5V for the board itself, and for the step/dir outputs.

    The first thing I'll be doing is disabling the 5V converter. CNC Drive wasn't sure if the 5V on pin 26 would cause an issue with the UC300, because normally, the UC300 also provides 5V on pin 26. So I'll be powering the UC300 from a separate 5V supply.

    Gerry

    UCCNC 2017 Screenset
    [URL]http://www.thecncwoodworker.com/2017.html[/URL]

    Mach3 2010 Screenset
    [URL]http://www.thecncwoodworker.com/2010.html[/URL]

    JointCAM - CNC Dovetails & Box Joints
    [URL]http://www.g-forcecnc.com/jointcam.html[/URL]

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  7. #27
    Member
    Join Date
    Jun 2005
    Location
    USA
    Posts
    1723
    Downloads
    0
    Uploads
    0

    Default Re: MB2 logic levels

    Gerry,

    I did not try to disable the 5V DC/DC supply but it is detailed in the manual. They mention the non-isolated part of the MB2 5V DC/DC converter powers the MB2, where the isolated 5V powers the ESS.

    A simple test would be to remove the solder jumper on the back, which you want to do anyway to use a separate 5V supply. Then hook up a 24V supply to the MB2 and measure the voltage between GND and VCC pins on CN2 connector next to the 24V connection point. That would answer that question.

    Russ



    EXERTS FROM MB2 MANUAL
    "There is a 5Vdc isolated and non-isolated dc2dc converter on board"
    There is a non-isolated step-down switching regulator that converts 24V (18-24Vdc) down to 5V to power most parts of the circuit, including the inputs and outputs.
    However, there is also a special isolated DC2DC convertor that generates 5Vdc, this is used purely to power the ESS board."

    *3. DC Converter – There is an option to not use the default onboard 5V isolated DC2DC converter. Because this on-board converter can only supply a limited current, in some cases it may be necessary to use an external 5V power supply. The existing bridge has to be de-soldered, then the user can connect an external 5V power supply to the VCC channel at the AXIX CN2 terminal.

    There is a non-isolated step-down switching regulator that converts 24V (18-24Vdc) down to 5V to power most parts of the circuit, including the inputs and outputs.



  8. #28
    Member ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    35538
    Downloads
    1
    Uploads
    0

    Default Re: MB2 logic levels

    I finally hooked this up to my UC300, and this thing is sweet. I didn't have time to remove the solder bridge on the 5V converter, so I just cut the pin26 wire on the ribbon cables I used.
    Regarding my previous questions on the charge pump. Enabling the charge pump in UCCNC activates the charge pump output. The Charge Pump Override jumper activates the output all the time.
    I didn't play with all the features, but I checked inputs and outputs on all 3 ports. Very happy with my purchase.

    Gerry

    UCCNC 2017 Screenset
    [URL]http://www.thecncwoodworker.com/2017.html[/URL]

    Mach3 2010 Screenset
    [URL]http://www.thecncwoodworker.com/2010.html[/URL]

    JointCAM - CNC Dovetails & Box Joints
    [URL]http://www.g-forcecnc.com/jointcam.html[/URL]

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  9. #29
    Member
    Join Date
    Jun 2005
    Location
    USA
    Posts
    1723
    Downloads
    0
    Uploads
    0

    Default Re: MB2 logic levels

    Gerry,

    I have found that the best method to attach wires to the MB2 is to use insulated wire pins crimped on the ends of the wires. I found that the .5mm2 wire pins fit perfect. I hooked up wires directly to the unit but the spring tension connector is pretty touch on wires and I wanted to avoid it breaking the stranded wires. I use a ratchet crimper that make the job very easy and neat.

    Russ


    2120Pcs Wire Copper Crimp Connector Insulated Cord Pins End Terminal AWG 22 to 5 | eBay

    Bootlace Crimper 0.25 - 6mm Ratchet Ferrule Crimping Tool wire end crimps | eBay



  10. #30
    Member ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    35538
    Downloads
    1
    Uploads
    0

    Default Re: MB2 logic levels

    Thanks for the tip.

    Gerry

    UCCNC 2017 Screenset
    [URL]http://www.thecncwoodworker.com/2017.html[/URL]

    Mach3 2010 Screenset
    [URL]http://www.thecncwoodworker.com/2010.html[/URL]

    JointCAM - CNC Dovetails & Box Joints
    [URL]http://www.g-forcecnc.com/jointcam.html[/URL]

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  11. #31
    Member
    Join Date
    Mar 2014
    Posts
    735
    Downloads
    0
    Uploads
    0

    Default Re: MB2 logic levels

    Gerry or CNCMAN -

    I'm just getting to setting up my MB2 with a UC300ETH. I've got power and connection to the motion control board and to the UCCNC software. I've read the manual and this thread and I'm not much closer to getting tit to work. I need to know how to configure the OSSD circuit first and also how to set my inputs/outputs in UCCNC. If I get that working I can probably figure out the rest. I think the board is in a faulted condition??? All the output lights lit up upon power up along with the "+" terminals on the axis command terminals. I configured one output; port 3 pin 16 -> Y316 as the M7 relay pin. I'm able to get the status LED to turn off when I toggle this button in software but that's been the extent of my success. Any help would be appreciated.



  12. #32
    Member ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    35538
    Downloads
    1
    Uploads
    0

    Default Re: MB2 logic levels

    I need to know how to configure the OSSD circuit first
    I'm not using the safety circuit.
    Afaik, the board doesn't have a "faulted state". The only thing it will do is kill the OSSD output if you have a switch activated that's connected to X203. You need to connect the solder bridges on the bottom to add other inputs into the mix.

    If you have 24V to the MB2, and 5V to the UC300, everything should just work.

    Make sure that port1 on the UC300 goes to port 2 on the MB2, and port 2 on the UC300 goes to port 1 on the MB2. So when you look at the ports and pins in the MB2 manual, port 2 = port 1 and port 1 = port 2.
    Sp the X,Y,Z, and A pins are on port 2, not port 1.

    Can you ask a more specific question?

    Gerry

    UCCNC 2017 Screenset
    [URL]http://www.thecncwoodworker.com/2017.html[/URL]

    Mach3 2010 Screenset
    [URL]http://www.thecncwoodworker.com/2010.html[/URL]

    JointCAM - CNC Dovetails & Box Joints
    [URL]http://www.g-forcecnc.com/jointcam.html[/URL]

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  13. #33
    Member
    Join Date
    Jun 2005
    Location
    USA
    Posts
    1723
    Downloads
    0
    Uploads
    0

    Default Re: MB2 logic levels

    The OSSD safety circuit comes configured to only work with one input by default. If you want to add some additional ones you have to add some solder bridges on the back side of the board. For example I use the error signals from my servo amps into the OSSD safety circuit. Now if any fault occurs on any ampthe system goes into ESTOP

    I will post a wiring diagram tomorrow

    Russ



  14. #34
    Member
    Join Date
    Mar 2014
    Posts
    735
    Downloads
    0
    Uploads
    0

    Default Re: MB2 logic levels

    Hi Gerry -

    Yes.
    Is it normal that all the output status LED's are on? When I turn on the M7 relay the output LED goes out. This seems wrong and leads me to believe that I've got something configured wrong.

    Also, Im using the same 8 relay board that you have. I have it powered with 12vdc from a dedicated power supply. I've got the input from Y316 connected to input 4. It doesnt activate the relay when I toggle the M7 button in UCCNC. I'm missing something and I believe it s the ground wire for the circuit. Does the DC- terminal on the relay board connect to the MB2 as well as the 12vdc power supply?

    Russ - You replied while I was typing. A wiring diagram would help a lot. Thank you.



  15. #35
    Member ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    35538
    Downloads
    1
    Uploads
    0

    Default Re: MB2 logic levels

    Change the active low setting for M7. Also, check the diagnostic page in UCCNC and see what it's doing.

    My relay board is 24V, which may make a difference. I have 24V to the DC+, and 0V to the DC-. These are the connected to the 0V and 24V on the MB2, from my 24V power supply. Then I run Y316 to the relay board input. I think you need to set all the outputs to active low in UCCNC.

    Gerry

    UCCNC 2017 Screenset
    [URL]http://www.thecncwoodworker.com/2017.html[/URL]

    Mach3 2010 Screenset
    [URL]http://www.thecncwoodworker.com/2010.html[/URL]

    JointCAM - CNC Dovetails & Box Joints
    [URL]http://www.g-forcecnc.com/jointcam.html[/URL]

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  16. #36
    Member ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    35538
    Downloads
    1
    Uploads
    0

    Default Re: MB2 logic levels

    I think I also had to move the jumpers on the relay board.

    Gerry

    UCCNC 2017 Screenset
    [URL]http://www.thecncwoodworker.com/2017.html[/URL]

    Mach3 2010 Screenset
    [URL]http://www.thecncwoodworker.com/2010.html[/URL]

    JointCAM - CNC Dovetails & Box Joints
    [URL]http://www.g-forcecnc.com/jointcam.html[/URL]

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  17. #37
    Member
    Join Date
    Mar 2014
    Posts
    735
    Downloads
    0
    Uploads
    0

    Default Re: MB2 logic levels

    Okay, changing the M7 output to active low in UCCNC got the status LED working correctly: On when M7 is toggled and off when M7 is off. I verified with a multimeter that there is 0 volts on Y316 to a 24v terminal on the MB2 in the off state and there when M7 is on. Having the output active low seems backwards to me but I'll have to get used to it. I experimented with the jumpers on the relay board and left them so they require a "high" trigger on the input.



  18. #38
    Member
    Join Date
    Mar 2014
    Posts
    735
    Downloads
    0
    Uploads
    0

    Default Re: MB2 logic levels

    Gerry - What ports/pins did you use for your spindle FWD cmd and speed control?



  19. #39
    Member ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    35538
    Downloads
    1
    Uploads
    0

    Default Re: MB2 logic levels

    I'm using Relay 1 on the MB2, which is port 1 pin 1.
    I have NO1 on the MB2 to the fwd terminal of the VFD, and CM1 to the VFD digital ground terminal.
    The PWM speed is port 3 pin 17, which sends the 0-10V to the VFD from the AO pin on the MB2.
    10V from the VFD goes to AH on the MB2.
    AL on the MB2 goes to the analog ground on the VFD.

    Gerry

    UCCNC 2017 Screenset
    [URL]http://www.thecncwoodworker.com/2017.html[/URL]

    Mach3 2010 Screenset
    [URL]http://www.thecncwoodworker.com/2010.html[/URL]

    JointCAM - CNC Dovetails & Box Joints
    [URL]http://www.g-forcecnc.com/jointcam.html[/URL]

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  20. #40
    Member
    Join Date
    Mar 2014
    Posts
    735
    Downloads
    0
    Uploads
    0

    Default Re: MB2 logic levels

    Ok thanks.

    I substituted a 24V Winford board but it wants to see TTL or 5v for the input and is not working. So far, I cant even get a 24V relay to work correctly. Setting up the VFD might be easier.
    Bit frustrated...



Page 2 of 3 FirstFirst 123 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

MB2 logic levels

MB2 logic levels