Hello Guest it is February 27, 2020, 06:39:09 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Cribbit

Pages: 1
General Mach Discussion / No Outputs on a UC300 USB on Mach3
« on: February 07, 2019, 06:44:38 PM »
Hi all, straight in with a problem as I suppose most new members are, but I've lost a day to this already and could certainly use some advice, please.
Large gantry Flat-bed CNC router, three axis (2 steppers in the Y direction), Mach 3 with UC300 USB controller, windows 7, and other than the odd disconnection from the UC300 and having to power it down and power it up, no real software / electronics issues in the last year or so of the steep learning curve into the CNC world!

Seemingly randomly on machine power up today the Mach 3 software is no longer able to output to the CNC machine. When activated the inputs (start, stop, spindle cool, cutter cool, limits etc) all show up in the IO monitor for the UC300, but any command sent to the hardware of the machine has no effect. The input / output monitor shows all the outputs to be at zero, even when the software is issuing commands to the hardware. For example, when I reference all home, the display of the Z axis position changes in the run program screen, but the UC300 IO monitor doesn't show any change, and the machine doesn't physically move.

Also, the physical emergency stop buttons suddenly have no effect. the I/O monitor shows the input coming into the software (input 40), but it has no effect. The software reset button kicks off an Estop, but the hardware buttons don't. There seems to be no assigned action to input 40.

My question is, how do I assign a signal showing in the UC100 I/O monitor as input 40 to a port and pin number in the input signals tab on the port and pin configs?

I notice the UC300 has 5 inputs on ports 2 and 3, and 13 on ports 1, 4 and 5. This makes 49 inputs, plus 4 analogue inputs makes 53, but 54 input states are shown in the UC300 I/O monitor. The same for the outputs where one more is shown than should be available.

Should I be assigning actions to the inputs in the UC300 IO Monitor, or in the ports and pins settings?

Ideally i want to check all physical connections to input and outputs, log what port and pin from the UC300 they are on, and then check in the settings that they are all setup correctly. Understaning the link between 'input 40' for example on the UC300 I/O monitor and that being port x and pin y to tell Mach 3 would be really handy!

My UC300 is using ports 2 and 3. The spindle inverter (Fuling DBZ 300) seems to only receive a control signal on two wires, a ground and an analogue output.

If it helps...
Pin-outs from the UC300 are...

Port 2
1-8 to stepper drivers
10,11,12 to X,Y and Z home stops
13 to control panel 'stop cycle'
14 to <to be discovered>

Port 3
1-8 to a relay board, 1 and 2 driving spindle and cutter coolants, rest unused
10 to control panel 'start cycle'
11 to control panel 'feed hold'
12 to control panel 'stop'
13 to control panel 'spindle coolant'
15 to control panel 'cutter coolant'

Analogue Output
1-4 to feed and speed adjustment potientiometers
5 and 6 to DBZ Inverter

any pins not mentioned are not connected to anything.

In Ports and Pins
Motor Outputs
X - Step Pin# 1, Dir Pin# 2 (port 2)
Y - Step Pin# 3, Dir Pin# 4 (port 2)
Z - Step Pin# 5, Dir Pin# 6 (port 2)
A - Step Pin# 7, Dir Pin# 8 (port 2)
Spindle - Step Pin# 0, Dir Pin# 0 (port 2) (seems odd?)

Input Signals
X Home - Port 2, Pin 10
Y Home - Port 2, Pin 11
Z Home - Port 2, Pin 12
Input #1 - Port 2, Pin 15
Estop - Port 2, Pin 13
OEM Trig #1 - Port 3, Pin 13
OEM Trig #2 - Port 3, Pin 15

Output Signals
Output #2 - Port 2, Pin 17 (Not active low)
Output #3 - Port 2, Pin 1
Output #4 - Port 2, Pin 2
Output #5 - Port 2, Pin 3
Output #6 - Port 2, Pin 4
Charge Pump - Port 2, Pin 14  (Not active low)
Output #7 - Port 2, Pin 5
Output #8 - Port 2, Pin 6
Output #9 - Port 2, Pin 7
Output #10 - Port 2, Pin 8

M3, Output #2
M4, Output #1 (spindle doesn't turn CCW)

Flood / Mist
Mist M7, Output #4
Mist M8, Output #3

Motor Control
Ticked to use spindle motor output
ticked to use PWM
unticked to use step/dir motor

Any settings not mentioned are disabled or have no values

I'm unsure if this is a hardware fault or settings problem, but any help / advice anyone can offer would be great.


Pages: 1