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
Portuguese (Brazil) Forum
Russian Forum (RSK CNCROUTER)
Thai Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 18, 2013, 09:01:09 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
Brains Development
Brains for Custom Control Panel - Continuous Jog/"States" Question
Pages:
1
Go Down
« previous
next »
Author
Topic: Brains for Custom Control Panel - Continuous Jog/"States" Question (Read 634 times)
0 Members and 1 Guest are viewing this topic.
adage
Active Member
Offline
Posts: 2
Brains for Custom Control Panel - Continuous Jog/"States" Question
«
on:
March 16, 2012, 01:24:30 PM »
Hello,
I am working on a custom modbus control panel that will use Mach3. I am trying to write some brains so that specific switches on the control panel will given specific commands in Mach3, however I am running into some issues:
1) Continuous Jog – "X+"
I tried mapping a switch to OEM Code 307 (307-Jog X - right) to simulate the Mach3 "X+" button in the Tab Screen (Jog Selection). The function that I want to simulate is when the button is clicked and held, the machine jogs, and when you let go of button, the machine stops.
The issue I am running into is that when I press the switch on the control panel, it will still move in the direction even though I let go. When I press the button itself again, it stops. This issue is also occurring for the “X-“ button. In the Incremental Jog, the switches work.
2) "States"
I am trying to figure out how to define certain "states" of a variable. I have three (3) switches on the control panel for MPG, JOG, and INC JOG. The functional idea is the following:
a) If any of the buttons are pressed, turn Jog Mode On
b) Be able to switch freely between the jog modes.
c) When the button itself is pressed (e.g. MPG is on and MPG is pressed), it will turn Jog Mode Off.
How would I be able to define (and modify) a “State” (e.g., storing a value to see if Jog Mode is On or Off) in brains to be in order to be able to implement this feature?
Thank you
Logged
zafarsalam
Active Member
Offline
Posts: 237
Re: Brains for Custom Control Panel - Continuous Jog/"States" Question
«
Reply #1 on:
March 31, 2012, 07:32:29 AM »
I find it more convenient to use keyboard emulators for function switches on a control panel. Just rip open a USB keyboard, pull it's card out and map it's pins with keytest software. Get the connector combinations for the arrow keys and hook them to my axis jog buttons. I use function keys F1, F2 etc. for other keys and program them in the screen designer or use the keygrabber if I want to use the original 1024 screenset. Complex functions such as homing etc. are accessed by assigning macros to keys.
Zafar
Logged
Pages:
1
Go Up
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Mach Discussion
-----------------------------
=> General Mach Discussion
=> Mach3 under Vista
=> 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
=> CS-Lab
=> dspMC/IP Motion Controller
=> HiCON Motion Controller
=> Third party software and hardware support forums.
=> Galil
=> Newfangled Solutions Mach3 Wizards
=> Newfangled Mill Wizard
=> 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...