Home
Downloads
Mach3
Plugins
CAM Post Processors
Screensets
Purchase
Support
Forum
Tutorial Videos
Documentation
Yahoo Group
Mach Wiki
Resources
Contact Us
Links
CNCZone
German Forum
Italian Forum
Korean Forum
Portugese (Brazil) Forum
Russian Forum (RSK CNCROUTER)
Thai Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 28, 2012, 02:04:52 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Select from and to languages
Chinese-simp to English
Chinese-trad to English
English to Chinese-simp
English to Chinese-trad
English to Dutch
English to French
English to German
English to Greek
English to Italian
English to Japanese
English to Korean
English to Portuguese
English to Russian
English to Spanish
Dutch to English
Dutch to French
French to English
French to German
French to Greek
French to Italian
French to Portuguese
French to Dutch
French to Spanish
German to English
German to French
Greek to English
Greek to French
Italian to English
Italian to French
Japanese to English
Korean to English
Portuguese to English
Portuguese to French
Russian to English
Spanish to English
Spanish to French
Machsupport Forum
Mach Discussion
General Mach Discussion
testing outputs on breakout card
Pages:
1
2
3
»
Go Down
« previous
next »
Author
Topic: testing outputs on breakout card (Read 536 times)
0 Members and 1 Guest are viewing this topic.
john351
Active Member
Offline
Posts: 18
testing outputs on breakout card
«
on:
July 22, 2011, 05:48:46 AM »
Under section 5.3.8 of the mach3 manual it covers testing.
It tells you to go to the diagnostic screen
it is then possible to test each input by shorting to ground each input pin
on the breakout card and an "led" on the screen lights up.
That great for the inputs.
Is it possible to test each of the outputs one by one by tweaking something on the screen.
I have an led and resistor on each of the outputs on the breakout card.
john f
Logged
Hood
Active Member
Online
Posts: 17,367
Carnoustie, Scotland
Re: testing outputs on breakout card
«
Reply #1 on:
July 22, 2011, 06:04:04 AM »
You could do it several ways, first is set the outputs up one at a time as coolant and toggle the coolant button or you could set them all up as outputs then use the VB editor to toggle them, the VB for it would look something like this.
ActivateSignal(OutPut1)
Sleep 1000
DeActivateSignal(OutPut1)
What that would do is switch on Output 1 for 1 second then switch it off.
Hood
Logged
john351
Active Member
Offline
Posts: 18
Re: testing outputs on breakout card
«
Reply #2 on:
July 22, 2011, 06:28:00 AM »
I thought of something along these lines but was surprised how easy it was to test the inputs but not the outputs.
I used output 1 on ports and pins/output signals
I found that to change the pin no you have to use apply but once you have done this you can toggle the output
with the active low control.
Thanks
Incidentally they did work - thanks
Logged
Hood
Active Member
Online
Posts: 17,367
Carnoustie, Scotland
Re: testing outputs on breakout card
«
Reply #3 on:
July 22, 2011, 07:28:41 AM »
Good to hear you got it
Hood
Logged
john351
Active Member
Offline
Posts: 18
Re: testing outputs on breakout card
«
Reply #4 on:
August 18, 2011, 11:33:18 AM »
I have had to go on holiday since my last post. When I got back I just could not get any of the outputs to work.
Pins 2 3 and 6 are always on. If I unplug the card all the outputs go on. If I earth any of the input pins each output turns off as expected.
If I twiddle via mach3 any of the outputs nothing happens and nothing shows up for the output on the diagnostic window.
I'm getting desperate.
John
Logged
Hood
Active Member
Online
Posts: 17,367
Carnoustie, Scotland
Re: testing outputs on breakout card
«
Reply #5 on:
August 18, 2011, 03:14:49 PM »
Can you attach your xml please and I will have a look at your config.
Hood
Logged
john351
Active Member
Offline
Posts: 18
Re: testing outputs on breakout card
«
Reply #6 on:
August 18, 2011, 05:26:20 PM »
I hope this is it
xxxxMach3Mill.xml
(146.56 KB - downloaded 8 times.)
Logged
Hood
Active Member
Online
Posts: 17,367
Carnoustie, Scotland
Re: testing outputs on breakout card
«
Reply #7 on:
August 18, 2011, 05:31:53 PM »
XML looks fine, well you have the limits and E-Stop as active low but thats fine if you have normally open switches or likely you are just testing.
Are you testing direct at the port with a voltmeter or are you testing at the end of the cable?
I presume you have the correct address for the parallel port you are using?
On the diagnostics page do you see a frequency and a Time in Int?
Hood
Logged
john351
Active Member
Offline
Posts: 18
Re: testing outputs on breakout card
«
Reply #8 on:
August 19, 2011, 02:59:27 AM »
I have tested the pins on the d-type connector on the back of the computer.
today pin 6 is high all the rest are low. I have tested the cable from the computer end
by pulling each pin low. This activates the led's as it should.
The port address is the default 0378 as set by mach 3.
The inputs work and probably wouldn't if the address was wrong
on the diagnostics page fre is 25005 and time in int varies from 4.5 to 5.0 roughly.
john f
Logged
Tweakie.CNC
Active Member
Offline
Posts: 3,263
Super Kitty.
Re: testing outputs on breakout card
«
Reply #9 on:
August 19, 2011, 03:30:06 AM »
Hi John,
Take care when physically testing the inputs and outputs of the parallel port at the 25 way connector. They are quite fragile and intolerant to incorrect connection.
Tweakie.
Logged
Success consists of going from failure to failure without loss of enthusiasm. Winston Churchill.
Pages:
1
2
3
»
Go Up
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Mach Discussion
-----------------------------
=> General Mach Discussion
=> Mach3 under Vista
=> Quantum
=> Mach SDK plugin questions and answers.
===> Finished Plugins for Download
=> VB and the development of wizards
=> Brains Development
=> Video P*r*o*b*i*n*g
=> Mach Screens
===> Screen designer tips and tutorials
===> Works in progress
===> Finished Screens
===> Flash Screens
===> JetCam screen designer
===> Machscreen Screen Designer
===> CVI MachStdMill (MSM)
=> Feature Requests
=> Non English Forums
===> Italian
===> French
===> Spanish
===> Chinese
===> German
===> Russian
===> Romanian
===> Japanese
===> Vietnamese
=> FAQs
-----------------------------
*****VIDEOS*****
-----------------------------
=> *****VIDEOS*****
-----------------------------
General CNC Chat
-----------------------------
=> Share Your GCode
=> Show"N"Tell ( What you have made with your CNC machine.)
=> Building or Buying a Wood routing table.. Beginnners guide..
=> Show"N"Tell ( Your Machines)
-----------------------------
G-Code, CAD, and CAM
-----------------------------
=> G-Code, CAD, and CAM discussions
=> LazyCam (Beta)
-----------------------------
Third party software and hardware support forums.
-----------------------------
=> LazyTurn
=> GearoticMotion Preliminary testing
=> Tempest Trajectory Planner
=> Contec
=> dspMC/IP Motion Controller
=> HiCON Motion Controller
=> Third party software and hardware support forums.
=> Galil
=> Newfangled Solutions Wizards
=> Mach3 and G-Rex
=> Mesa
=> Modbus
=> NC Pod
=> PoKeys
=> SmoothStepper USB
=> Sieg Machines
=> Promote and discuss your product
-----------------------------
Tangent Corner
-----------------------------
=> Tangent Corner
=> Competitions
=> Polls
=> Bargain Basement
-----------------------------
Support
-----------------------------
=> Downloads
===> XML files
===> Post Processors
===> Macros
===> Tutorials
===> Others
===> Beta Brains
===> Screen Sets
===> Documents
===> MACH TOOL BOX
=> One on one phone support.
=> Forum suggestions and report forum problems.
-----------------------------
Mach4
-----------------------------
=> Mach4 pre-Alpha Testing
Loading...