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 25, 2012, 10:24:18 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
Mach SDK plugin questions and answers.
Plugin Idea - TCP Listener
Pages:
1
Go Down
« previous
next »
Author
Topic: Plugin Idea - TCP Listener (Read 573 times)
0 Members and 2 Guests are viewing this topic.
rrc1962
Active Member
Offline
Posts: 434
Plugin Idea - TCP Listener
«
on:
March 10, 2010, 11:44:41 PM »
I have an idea for a plugin. A simple TCP listener. This would just listen for incoming data on a specific port. When data is received, it would parse the string which consists of a function code, a delimiter and a command string. Function codes would be an integer and would tell the plugin what to do. Codes could be something like this...
10001 = Jog
10002 = eStop
10003 = program run
etc.....
So a data string could look something like this...
"10001:X1.125Y3.375"
The plugin would parse this and jog the machine to the coordinates specified. For functions not needing any other data, like eStop, the right side of the delimiter would be ignored.
This could be a very generic plugin that would enable non C++ savvy people to communicate with Mach. I've been fumbling around in C++ but it's just not my thing. I can write a TCP listener in VB.NET in 10 minutes. A plugin like this would allow any program written in any language capable of TCP communication to communicate with mach.
I'm using the SDK .NET plugin written by Ed. My plan is to keep plugging away at it, but at this point I can't even get a generated sample to debug, which makes writing the program just about impossible. I have a cool application written in VB.NET and to write it in C++ using the SDK is just way beyond my immediate means, but I would like it to communicate with Mach. I can easily add TCP connectivity to the app and I figured writing a TCP listener using the SDK would be a fairly small project.
Anyway...I'm going to keep at it, but if anyone else wants to have a go, I'd be eternally grateful. At this point I'm still trying to get a handle on the file structure of a C++ project (.h, .cpp, etc.). I haven't even got into actually using the SDK, other than generating the sample apps with Ed's plugin.
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...