emcpanel and TkEmc
- Subject: emcpanel and TkEmc
- From: "Paul D. Fincato" <fincato-at-infinet.com>
- Date: Fri, 19 Oct 2001 17:52:43 -0400
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset="iso-8859-1"
- Importance: Normal
Hi all,
I've been lurking for a while trying to soak up some more EMC info. Here's
a problem that I haven't been able to figure out. I'm running a virgin EMC
BDI 2.09 on an AMD K6-400. TkEmc and emcpanel work fine _locally_. (Both
indicate correct axes displays)
I wanted to try remote control of the linux EMC from NT so...
I downloaded the precompiled TkEmc package for NT from ? (somewhere) and
installed it. (I don't remember where) I can get it to connect, but the
axes display values are bogus. (and red, even though the Linux box is
yellow)
Then I built emcpanel.exe using MS Visual Studio 6 from the sourceforge
archive (not CVS). Below is a "DOS" window screen capture. Notice that the
axes values are bogus with this too.
I suspect a float to int type conversion problem between the platforms.
Anyone have any suggestions? I find it strange that the prebuilt emcsh I
DL'd displays that same behavior.
Also in the below screen scrapes the Linux and NT emcpanels aren't in snyc.
Any idea why? The emcpanel on Linux was started first and commanded the
simulated machine. The NT version was used for status updates. Note that
the line Command: is never updated in the NT version. (Program: is updated
if the 'open' command is issued from the NT emcpanel)
BTW My objective is to build a new GUI using Borland C++ builder on W2K.
By the time I get it working Borland should be ready to release the C++
version of Kylix (Delphi for Linux). I am much more confortable with C++
than trying to learn another language (tk/tcl). I'd also like to try a
backplotter in OpenGL.
Thanks!
Paul
-- THIS IS LINUX EMCPANEL
Heartbeat: 19006
State: ON
Mode: AUTO
Cmd Pos: -2.000000 1.000000 -0.000000
Act Pos: -2.000000 1.000000 0.000000
Axes: -2.000000 1.000000 -0.000000 0.000000
0.000000 0.000000 0.000000 0.000000
Queue: 0
Inpos: 1
V Scale: 1.00
Program: /usr/local/emc/programs/isd.ngc
Units: inches
Line: 3598
Command: N3597X-2.0Y1.0T2M6M0
Origin: 0.000000 0.000000 0.000000
NML: cmd ser # status
512 6 EXEC
Exec: DONE
Interp: PAUSED
Motion line: 3598
Current line: 3598
Read line: 3841
emctask>
--THIS IS NT EMCPANEL.EXE (NO command, NO program update)
Heartbeat: 19033
State: ON
Mode: AUTO
Cmd Pos: 0.000000 0.000000 0.000000
Act Pos: 0.000000 0.000000 0.000000
Axes: 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000
Queue: 1
Inpos: 1
V Scale: 0.00
Program:
Line: 3598
Command:
Origin: 0.000000 0.000000 0.000000
NML: cmd ser # status
512 6 EXEC
Exec: DONE
Interp: PAUSED
Motion line: 3598
Current line: 3598
Read line: 3841
emctask>
-- ANOTHER VIEW OF NT EMCPANEL RUNNING
Heartbeat: 6377
State: ON
Mode: AUTO
Cmd Pos: 0.000000
150574000002092630000000000000000000000000000000.000000 121328898707
0284100000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000
000000000000000.000000
Act Pos: 0.000000
150534712361137400000000000000000000000000000000.000000 121304302780
9744000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000
000000000000000.000000
Axes: 0.000000 0.000000 0.000000 0.000000
0.000000 0.00
0000 0.000000 0.000000
Queue: 0
Inpos: 1
V Scale: 0.00
Program:
Line: 554
Command:
Origin: 0.000000 0.000000 0.000000
NML: cmd ser # status
512 6 EXEC
Exec: IO WAIT
Interp: READING
Motion line: 554
Current line: 556
Read line: 1533
emctask>
Date Index |
Thread Index |
Back to archive index |
Back to Mailing List Page
Problems or questions? Contact