CNCroom MB3 Manuale utente

MachBob3 (MB3)
Owner’s manual
Doc E1.3R2 (3/31/2019)
for PCB V1.3
www.CNCRoom.com Page 1

Table of Contents
Introduction .................................................................................................................................................................. 4
Specification and Features ............................................................................................................................................. 4
Precaution..................................................................................................................................................................... 5
Quick Reference ............................................................................................................................................................ 6
MB3 Layout ................................................................................................................................................................... 7
ESS and MB3 piggyback ................................................................................................................................................. 8
MB3 Connection Diagram .............................................................................................................................................. 9
Hardware .................................................................................................................................................................... 10
Connecting the ESS to Your PC............................................................................................................................................10
Power Supply....................................................................................................................................................................... 12
Axis Connection X, Y, Z, A, B, C ............................................................................................................................................13
Inputs................................................................................................................................................................................... 14
Input Type ....................................................................................................................................................................... 15
Basic input connection with switches............................................................................................................................. 15
Sensors............................................................................................................................................................................ 17
MPG / Encoder................................................................................................................................................................ 18
AC input........................................................................................................................................................................... 18
Outputs................................................................................................................................................................................ 18
Transistor Sink Output .................................................................................................................................................... 18
Relays .............................................................................................................................................................................. 19
Charge Pump................................................................................................................................................................... 19
Analog ............................................................................................................................................................................. 20
Small Adjustment........................................................................................................................................................ 21
Full Adjustment........................................................................................................................................................... 21
OSSD Output and Safety Circuit ......................................................................................................................................22
Modification ........................................................................................................................................................................ 23
Solder Bridges ................................................................................................................................................................. 23
[*1]. DC Converter ...................................................................................................................................................... 23
[*2]. Safety Circuit Inputs ...........................................................................................................................................24
[*3]. CP override ......................................................................................................................................................... 24
[*4]. Off Delay timer ...................................................................................................................................................24
[*5]. Input sub common .............................................................................................................................................25
[*6]. 5V input tolerance.............................................................................................................................................. 25
[*7]. K3 Relay pin select..............................................................................................................................................25
[*8]. Analog pin select ................................................................................................................................................26
[*9]. Isolated Outputs................................................................................................................................................. 26
[*10]. Free Terminals..................................................................................................................................................27
Software...................................................................................................................................................................... 27
Mach3 Configuration........................................................................................................................................................... 27
Menu Config > Ports and Pins .........................................................................................................................................29
Menu Config > Motor Tuning.......................................................................................................................................... 32
www.CNCRoom.com Page 2

Menu PlugIn Control > Main Config:...............................................................................................................................34
Menu PlugIn Control > Spindle, THC & Laser Config:...................................................................................................... 34
Mach4 Configuration........................................................................................................................................................... 35
Setting up new profile..................................................................................................................................................... 36
ESS configuration ............................................................................................................................................................ 37
Mach4 own configuration...............................................................................................................................................43
Mach4 Keyboard config ..................................................................................................................................................52
Appendix I MB3 Specifications ..................................................................................................................................... 53
Appendix II MB3 Board Dimensions ............................................................................................................................. 53
Appendix III Safety circuit options................................................................................................................................ 54
Safety Circuit 1 .................................................................................................................................................................... 54
Safety Circuit 2 .................................................................................................................................................................... 55
Safety Circuit 3 .................................................................................................................................................................... 56
Appendix IV Figure and Table references ..................................................................................................................... 57
Figures ................................................................................................................................................................................. 57
Table.................................................................................................................................................................................... 60
www.CNCRoom.com Page 3

Introduction
It is perhaps well understood that in an industrial environment, personal computers, motion
control boards and logic signals can face a large amount of interference from things such as
power cables, motors, welding machines, magnetic contactors etc.
We can help to minimize the effects of this interference by having any susceptible electronics
enclosed in a metal control cabinet and using the correct safety and best practice techniques,
which include, but are not limited to the installation of noise reduction such as an isolated
transformer and noise filters.
While these things will help us achieve a better result, using a control board designed for
industrial applications can be more important.
MachBob3 (MB3) is designed for industrial application and specifically to work with the Ethernet
Smooth Stepper (ESS) which is an excellent motion control board designed to be used with
Mach3 and Mach4
Specification and Features
•By using an Ethernet connection, the ESS is far more noise resistant than when using a USB or
parallel Port connection and therefore helps to protect the logic signal when the controller
and drives are located a large distance from the computer.
•Runs on Mach3 / Mach4 with Windows XP, Win7, Win8 and Windows10 both 32 and 64 bit, on
both desktop and notebook computers.
•New! Utilizes All 3 ports of the ESS.
•The Motion Command Signal can be selected between Pulse/Sign, CW/CCW, and Quadrature.
Frequency can be selected from 32 kHz to 4 MHz
•New! Differential line driver for motion signals allows for longer wiring with more resistance to
interference when compared to TTL open end.
•New! A single 24Vdc Power Supply is needed. There is a 5Vdc isolated and non-isolated dc2dc
converter on board, thus saving installation space and wiring.
•New! OSSD (Output Signal Switching Device) outputs and safety circuit are implemented when
a peripheral device such as a servo motor drive or a spindle VFD (Variable Frequency Drive)
trigger an alarm condition, which causes the Safety Circuit to disengage the OSSD output. This
method is used on large CNC machines to cut power from the drives.
•New! status LEDs for all inputs and outputs including motion control signals. Makes it much
easier to diagnose and troubleshoot.
•Isolated power and ground between the PC, ESS and I/O, which eliminates crossover noise and
ground loop problems.
•Polarity and over voltage protection (in conjunction with a fuse) for the 24Vdc power supply.
•New! “AnaSpeed2”is a 0-10V precise analog output circuit has been implemented. This small
circuit island is electrical isolated from the rest of the board, but it forms itself as part of VFD
www.CNCRoom.com Page 4

input circuit which receives PWM signal from ESS by using light. It also has on board isolated
DC2DC module which able to supply 0-10V to VFD continuously.
•A charge-pump signal is provided. This helps the user to form a safety interlock condition
between controller and devices.
•New! 18 Universal isolated fast inputs on port 1 and 2. They can be used as NPN and PNP
inputs, also able handle both 5V and 24V. (see Appendix I MB3 Specifications)
•New! 5 Universal isolated super-fast inputs on port 3. They can be used as NPN and PNP
inputs, also able handle both 5V and 24V. (see Appendix I MB3 Specifications)
•14 NPN isolated output terminals capable of sinking current up to 70mA for each channel and
up to 500mA per group.
•New! - 3 onboard relays with both NO/NC contacts and 2 of them can select “Off Delay Time”,
which can be used for such application as “Z Drop Protection.”, Please see it on page 24 [*4].
Off Delay timer.
•The K3 Relay can be controlled by a charge pump signal. Please see it on page25, [*7]. K3
Relay pin select. Showing the appropriate solder bridge for modification.
•New! The Raspberry Pi tall headers are used for firm connection between ESS and MB3 board.
This allows ESS to be mounted on MB3 directly without any ribbon cables. This makes the ESS
easier to install and reduces the number of contact points, signals trace distance, inductance
and resistance between ESS and MB3 board. As a result, all signals are less likely to be affected
by noise and distortion.
•Spring terminals for quicker connecting and disconnecting of cables. They are resistant to
vibration, so no more screws which have rattled loose and no more forgetting to tighten.
Precaution
•Remember to static discharge before touching any part of ESS/MB3. Ground your body
by wearing a grounding strap or frequent touching an earthed metal chassis to release
electrostatics.
•Make sure that there is no high voltage leak from your soldering iron when soldering
the solder-bridge – the safest way is to unplug your soldering iron from the mains
power when it has reached a high enough temperature to melt the solder. High voltage
leakage from a cheap soldering iron can potentially damage the integrated circuit (IC)
on the MB3 board.
•The MB3 board is Fragile, do not drop, as it could badly damage the electronics.
•In certain circumstances, it could be possible for the MB3 board to build up excessive
heat if many of the inputs and outputs are active at same time over an extended
period. It is therefore advisable to install a good quality cooling fan to ventilate the
cabinet.
•24V, 3A Switching power supply is recommended for powering the MB3 board. In case
of accidentally reversal power lead. The switching power supply will stop working.
There is no harm to any component of the board. However, the fuse will be blown or
even damage to the board if high current switching power supply being used.
www.CNCRoom.com Page 5

Quick Reference
Power Supply
24Vdc
Drive
*Output can sink current up to 70 mA
L
L
L
L
L
L
L
L
L
L
L
L
L
Shrinkage part
24V 0V
Common 0V for PNP inputsCommon 24V for NPN inputs
NO, NC contacts x3
VFD
Inverter
A-IN
0V
<< Two types of wiring are
given as an example.
Figure 1, MB3 Overview Connection
Table 1, Ports and Pins Reference Tables
Quick Reference is a summary for the experienced users.
Figure 1is a shrinkage view of MB3 board. It shows the connection of inputs & outputs, power supply,
analog output for the VFD and axis signals.
Table 1is a summary of Ports and Pins and their corresponding reference numbers. All pin numbers
preceded by an “X” are inputs and if preceded by a “Y” are outputs. Using X110 as an example. The
“X” means it is an input. The first digit “1” is the port number, the last 2 digits “10” is the pin number.
Pin I/O Act Term Name I/O Type Pin I/O Act Term Name I/O Type Pin I/O Act Term Name I/O Type
1 O H SPD(Spindle) Sink output 1 O H NO1 Relay1 Contact 1 O H Y301 Sink output
2 O L XS (X Step) Line driver 2 I L OSSD SafetyFeedBack 2 O H Y302 Sink output
3 O L XD (X Dir) Line driver 3 I L X203 NPN/PNP input 3 O H Y303 Sink output
4 O L YS (Y Step) Line driver 4 I L X204 NPN/PNP input 4 O H Y304 Sink output
5 O L YD (Y Dir) Line driver 5 I L X205 NPN/PNP input 5 O H Y305 Sink output
6 O L ZS (Z Step) Line driver 6 I L X206 NPN/PNP input 6 O H Y306 Sink output
7 O L ZD (Z Dir) Line driver 7 I L X207 NPN/PNP input 7 O H Y307 Sink output
8 O L AS (A Step) Line driver 8 I L X208 NPN/PNP input 8 O H Y308 Sink output
9 O L AD (A Dir) Line driver 9 I L X209 NPN/PNP input 9 O H Y309 Sink output
10 I L X110 NPN/PNP input 10 I L X210 NPN/PNP input 10 I L X310 NPN/PNP input
11 I L X111 NPN/PNP input 11 I L X211 NPN/PNP input 11 I L X311 NPN/PNP input
12 I L X112 NPN/PNP input 12 I L X212 NPN/PNP input 12 I L X312 NPN/PNP input
13 I L X113 NPN/PNP input 13 I L X213 NPN/PNP input 13 I L X313 NPN/PNP input
14 O H
CP(ChargePump)
Sink output 14 O H NO2 Relay2 Contact 14 O H Y314 Sink output
15 I L X115 NPN/PNP input 15 I L X215 NPN/PNP input 15 I L X315 NPN/PNP input
16 O L BS (B Step) Line driver 16 O L
CS (C Step)
Line driver 16 O H Y316 Sink output
17 O L BD (B Dir) Line driver 17 O L CD (C Dir) Line driver 17 O H AO Analog output
L=Low Active Analog PWM frequency = 260hz
H=High Active NO3 Relay3 can be controlled by Y101, Y317, CP LPT3 all inputs are high speed inputs.
Port1 (output)
Port2 (Pins 2-9 as input)
Port3 (Pins 2-9 as output)
www.CNCRoom.com Page 6

MB3 Layout
Figure 2, MB3 Board Layout
8–9mm
18-26 AWG
www.CNCRoom.com Page 7

Input (CN1) – Input terminals, consisting of 23 channels. NPN/PNP, 5/24V selectable.
Axis (CN2) – Axis signal terminals, consisting of 6 axes, which are; X, Y, Z, A, B, C
Output (CN3) – Output terminals, consisting of 14 NPN sink outputs, Analog signal, 3 Relay’s
NO/NC and an inlet for the 24Vdc power supply
LPT1-3 – Connectors for the ESS
RJ-45 – Communication connector, part of the ESS board
ESS and MB3 piggyback
The ESS receives its 5Vdc power from the MB3 when all three jumpers of ESS are closed, which
is the default setting. But you may need to change the jumpers do so before you install. This
eliminates the need for an external 5Vdc supply.
The Raspberry Pi tall headers are used for firm connection between ESS and MB3 board. This
allows ESS to be mounted on MB3 directly without any ribbon cables. This method will
eliminates a number of contact points, distance, inductance and resistance between ESS and
MB3 board which allows signals go forth and back faster. Furthermore, this makes both
companions look nicer, lower in height.
Figure 3, ESS board installation
www.CNCRoom.com Page 8

MB3 Connection Diagram
Figure 4, Connection Diagram
Figure 5, SCU utility successfully connected to the ESS.
The SCU software utility helps the user to configure Windows PC to communicate with ESS
easily. Below is the link to SCU tutorial video.
www.CNCRoom.com Page 9

https://www.youtube.com/watch?v=WonXbVGSVio
Hardware
Connecting the ESS to Your PC
Setting up networking for Ethernet device like ESS board is problematic for most beginners.
There are lot of tutorial video and guides from Warp9 Tech Design which help the user to
achieve this goal easily.
Warp9 Tech Design YouTube channel.
http://www.youtube.com/channel/UCpg3EROtW8xA_KzrFHgn4ZQ/videos
Figure 6, Youtube tutorial video for beginner.
Using the SCU to Fix Windows Firewall Issues
http://www.youtube.com/watch?v=RyRx7naF2rg
ESS Manual Setup
http://www.youtube.com/watch?v=3PahTqFQ05M
The following section has been copied with permission from the Warp9 website at;
http://www.warp9td.com/index.php/documentation/doc-ess#Connecting
The best way to connect your ESS to your PC is to use the Direct Connect method: hook the
Ethernet cable directly from your ESS to the network adapter in your PC. This will make trouble
shooting easier since there are no switches or routers between the ESS and your PC. (A switch
should be fine since it only operates in the lower 3 layers of the TCP/IP stack, but why add extra
equipment if you don't need it. A router should be fine if you only have your ESS and PC
www.CNCRoom.com Page 10
Questo manuale è adatto per i seguenti modelli
1
Indice

















