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 27, 2012, 12:40:28 PM
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
VB and the development of wizards
Set Ports and Pins Active High/Low with VB?
Pages:
1
Go Down
« previous
next »
Author
Topic: Set Ports and Pins Active High/Low with VB? (Read 854 times)
0 Members and 1 Guest are viewing this topic.
elgundis
Active Member
Offline
Posts: 10
Set Ports and Pins Active High/Low with VB?
«
on:
December 27, 2010, 04:54:06 AM »
Hello,
i wonder if it is possible with VB to change the active high/low of an input or output pin with vb?
I do not to want to create a signal, i want to change if a switch is read as high or low.
Thank you
Joachim
Logged
pietvr
Active Member
Offline
Posts: 6
Re: Set Ports and Pins Active High/Low with VB?
«
Reply #1 on:
July 06, 2011, 01:12:40 AM »
Hi
Joachim did you come right with a vbscript to change a pin from active hi to active low? I am trying to do the same but can not find any information on how to do this or macro function to do this.
There are many topics with ActivateSignal and DeActivateSignal but it is not changing the setting.
I want to use this macros to change to Active Hi when using a probe and to change back to Active Low when using the same circuit for a zeroi-ing touch plate.
Any help will be appreciated if anybody out there knows a way to do this.
Thanks
Piet
Logged
elgundis
Active Member
Offline
Posts: 10
Re: Set Ports and Pins Active High/Low with VB?
«
Reply #2 on:
July 06, 2011, 06:03:04 AM »
Hi Piet,
i did not find a way to do this until today.
Sorry
Joachim
Logged
stirling
Global Moderator
Online
Posts: 1,190
UK
Re: Set Ports and Pins Active High/Low with VB?
«
Reply #3 on:
July 07, 2011, 05:43:44 AM »
an alternative is to use homing for your touch plate. There are a couple of ways you could do this depending on whether you already home Z up or not.
Ian
Logged
pietvr
Active Member
Offline
Posts: 6
Re: Set Ports and Pins Active High/Low with VB?
«
Reply #4 on:
July 07, 2011, 05:53:32 AM »
Thanks Ian, but the problem is not homing, that is done, I want to use the same circuit for homing and a probe, where homing closes the circuit and probing opens the circuit. So what I want to do is set the probe input to active low for the homing macro and when probing set it active high with a macro. At the moment I do it manually but it would be nice if it was possible to do via macros.
Piet
Logged
stirling
Global Moderator
Online
Posts: 1,190
UK
Re: Set Ports and Pins Active High/Low with VB?
«
Reply #5 on:
July 07, 2011, 06:21:18 AM »
Hi Piet - I think you may misunderstand me. You can use homing for your touch plate on one input and probing on another input. That way you can set one active low and the other active high then there's no need to switch the active state.
Ian
Logged
pietvr
Active Member
Offline
Posts: 6
Re: Set Ports and Pins Active High/Low with VB?
«
Reply #6 on:
July 07, 2011, 03:53:11 PM »
Aah, thanks Ian. I will try that and see if it works.
Piet
Logged
Pages:
1
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...