Mach3 Output1 control with a UC300ETH

This Section is for users to discuss hardware

Mach3 Output1 control with a UC300ETH

Postby Momboz » Wed Nov 18, 2020 4:02 pm

Hi

I am trying to get a signal ON or OFF on an output pin on port #1 on a UC300ETH and I can't succeed.
I have configured under Mach3 the output1 signal as pin #16 on port #1 and when trying to put it ON or OFF via macro code:

Code: Select all
ActivateSignal(OUTPUT1)
If IsActive(OUTPUT1) Then
  MsgBox "OUTPUT #1 output is active"
  End If
 
deactivatesignal(OUTPUT1)   
  If IsActive(OUTPUT1) Then
MsgBox "OUTPUT #1 output is not active"
  End If


I never get the assumed 5V on the pin and I never get any message from the macro itself. However the LED is blinking red under the Mach3 Diagnostics (Alt-7) tab.

Any advice?

Many thanks
Momboz
 
Posts: 2
Joined: Mon Mar 02, 2020 8:34 am

Return to Hardware

Who is online

Users browsing this forum: No registered users and 7 guests

cron