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, 01:39:52 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
Third party software and hardware support forums.
PoKeys
(Moderator:
NeoTO
)
Triggering Pokey Output Signal from Mcode
Pages:
1
Go Down
« previous
next »
Author
Topic: Triggering Pokey Output Signal from Mcode (Read 649 times)
0 Members and 1 Guest are viewing this topic.
ceramics
Active Member
Offline
Posts: 15
Triggering Pokey Output Signal from Mcode
«
on:
January 06, 2011, 04:44:08 PM »
I am new to using Pokey and I am trying to send output signals from Pokey55 to PsExtBusRE (eight relay board from cnc4PC) and three other PoExtBusOC also hooked up to the Pokey55.
This gives me a total of 36 outputs that I would like to be able to call from the Gcode by using user defined Mcodes.
I have installed the latest Pokey software and firmware and I am able to turn relays on and off from Mach3 Pokey tab...
now comes the next step which is creating a bit of VB script to trigger the outputs from an Mcode that will be inserted manually in the Gcode.
I have watched the video tutorials and searched around on the forum, but I am having a hard time finding examples of this. Here are a few screen shots of what I am working with... and my very novice approach to a VB script that isn't working at the moment.
Any help or direction as to where to read up on this type of thing is greatly appreciated.
Pokey questions Mach3.jpg
(228.32 KB, 1747x872 - viewed 125 times.)
Pokey55 setup ab.jpg
(229.81 KB, 1466x769 - viewed 98 times.)
Pokey55 VB testing.jpg
(55.15 KB, 700x655 - viewed 79 times.)
Logged
poppabear
S S SYSTEMS, LLC
Global Moderator
Offline
Posts: 1,707
Briceville, TN, USA
Re: Triggering Pokey Output Signal from Mcode
«
Reply #1 on:
January 06, 2011, 09:07:36 PM »
pic a range,
i.e. ULED2001 is Pin1,
in the macro
'm####.m1s
If GetUserLED(2001) then
what ever you want to do code here
end if
scott
Logged
Commercial Mach3: Screens (regular and flash), Wizards, Plug-ins, Brains, PLCs, Macros, ATC's, machine build, retrofit and Prototyping
http://sites.google.com/site/volunteerfablab/
ceramics
Active Member
Offline
Posts: 15
Re: Triggering Pokey Output Signal from Mcode
«
Reply #2 on:
January 07, 2011, 12:53:16 AM »
I think I should explain more about what I would like to do... as I think my original question was misleading.
The Pokey is really just being used for simple High or Low outputs that will then be used to trigger logic that is programmed into an Arduino board... Does that mean the Pokey is a "slave"? Either way, I know it may seem weird to go about something with Mach like this, but for the specifics of my project it makes sense... trust me:) It has to do with the Arduino's capability to interact directly with a piece of 3D software that I am using.
So all I need to do is get an Mcode that can cause the Pokey to switch a output to High, then another Mcode to turn the output to Low.
these signals will be "read" by the arduino that will trigger other things (ie., relays, mosfet)
Scott, does the above information change your suggestion at all? or do I still need to pick a range? or have I managed to confuse everyone by rambling?
Any advice is welcome... this forum is awesome.
Logged
ceramics
Active Member
Offline
Posts: 15
Re: Triggering Pokey Output Signal from Mcode
«
Reply #3 on:
January 07, 2011, 12:54:26 AM »
Scott,
I forgot to thank you while I was typing my response
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...