Re: [Emc-users] ModIO, Serial IO Interface

2008-10-23 Thread Kirk Wallace
On Thu, 2008-10-23 at 13:12 +1000, Peter Homann wrote: ... snip There are 2 parts here. The Modbus interface basically transfers registers or discretes between a Master (EMC) and Slaves(ModIO). You can almost ... snip appropriate to the output, say 5Hz, 25Hz, etc. Then if EMC set the value in

Re: [Emc-users] ModIO, Serial IO Interface

2008-10-23 Thread Ray Henry
Steven demonstrated a working ModBus spindle control running from EMC2 to an AutomationDirect VFD at fest this last summer. We didn't try anything like threading but it did forward, reverse, and speed. I'm only guessing but I don't think the code got into the repository yet as it was pretty

Re: [Emc-users] Stg 1 homing

2008-10-23 Thread Jeff Epler
On Wed, Oct 22, 2008 at 08:10:26PM -0700, Dave Engvall wrote: BTW - it appears that the hal stg driver doesn't have an index output or am I again missing something. If you mean a HAL pin which allows you to continuously monitor the state of the physical index input, I believe you are

[Emc-users] 2008年10月23日 16:23:35 自动保存 草稿

2008-10-23 Thread ygdan1001
now i am sure i can use EMC2 to do my work. but to the EMC2, i am a beginner. the user manual i have read it, but i still don't know what to do when i use EMC2. is it OK I just put into the G code? if i want to control the kinematic of PKM, i should modify the G-code, but i can't find the .ini

Re: [Emc-users] ModIO, Serial IO Interface

2008-10-23 Thread spadnos
Steven demonstrated a working ModBus spindle control running from EMC2 to an AutomationDirect VFD at fest this last summer. We didn't try anything like threading but it did forward, reverse, and speed. I'm only guessing but I don't think the code got into the repository yet as it was pretty

Re: [Emc-users] ModIO, Serial IO Interface

2008-10-23 Thread Dave Keeton
I think that using Modbus to operate a vfd for spindle control is ok, but again the discussion is going back to issues of timing critical functions such as motor and drive control. Simple digital I/O functions would be a much better use for modbus. In my view functions such as home and overtravel

Re: [Emc-users] Stg 1 homing

2008-10-23 Thread Dave Engvall
On Oct 23, 2008, at 5:28 AM, Jeff Epler wrote: On Wed, Oct 22, 2008 at 08:10:26PM -0700, Dave Engvall wrote: BTW - it appears that the hal stg driver doesn't have an index output or am I again missing something. If you mean a HAL pin which allows you to continuously monitor the

Re: [Emc-users] Serial IO Interface

2008-10-23 Thread Chris Morley
There is a ModBus feature in Classic Ladder, but it seems to me that an HAL component specifically for the ModIO peripheral would be useful. ModBus may be a standard, but peripherals that use ModBus vary widely. Modbus is avaiable in Classicladder 7.124 in CVS right now and will be

Re: [Emc-users] Stg 1 homing

2008-10-23 Thread Kirk Wallace
On Thu, 2008-10-23 at 07:45 -0700, Dave Engvall wrote: ... snip Thanks for the confirmation although that wasn't the news I wanted. I would like to be able to emulate the X function in lstg which outputs the number of encoder counts between index pulses. Dave ... snip Just a shot in the

Re: [Emc-users] Serial IO Interface

2008-10-23 Thread Dave Keeton
Thanks Chris, I know you and I have talked about modbus and classic ladder before. I did find a version on source forge that is version 0.8.2. How would I go about getting version 7.124 to work with the current version? Are there a list of instructions some where? How do I get from CVS? Dave On

Re: [Emc-users] Serial IO Interface

2008-10-23 Thread Chris Morley
Dave: Yes I remember you were trying to get it to work. Classicladder 7.124 (with modbus) is in EMC 's HEAD branch Look here: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Installing_EMC2 and here: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?CVS Download the TRUNK version of EMC, compile it

Re: [Emc-users] ModIO, Serial IO Interface

2008-10-23 Thread Kirk Wallace
On Thu, 2008-10-23 at 10:36 -0400, Dave Keeton wrote: I think that using Modbus to operate a vfd for spindle control is ok, but again the discussion is going back to issues of timing critical functions such as motor and drive control. ... snip Dave I agree that Modbus should only be used for

Re: [Emc-users] ModIO, Serial IO Interface

2008-10-23 Thread Dave Keeton
Sorry Kirk, I wasn't referring to recent postI should have specified that. A while back the discussion started out with digital I/O but if I remember correctly it went to issues of timing and servos. I believe it was dropped because it was thought to be unsafe. The only point I was trying to

Re: [Emc-users] ModIO, Serial IO Interface

2008-10-23 Thread John Kasunich
Kirk Wallace wrote: I agree that Modbus should only be used for non-reatime functions, but I didn't see anyone suggest to the contrary in the recent posts. I did try to imply that whatever HAL component is written needs to do what it needs to do within the time available in the thread that it

Re: [Emc-users] Stg 1 homing

2008-10-23 Thread John Kasunich
Kirk Wallace wrote: On Thu, 2008-10-23 at 07:45 -0700, Dave Engvall wrote: ... snip Thanks for the confirmation although that wasn't the news I wanted. I would like to be able to emulate the X function in lstg which outputs the number of encoder counts between index pulses. Dave ...

Re: [Emc-users] hot wire cutting

2008-10-23 Thread Chris Epicier
John Thanks for the tip, I meanwhile installed another tw GPU's without success. A Nvidia 6200 AGP and a Trident PCI card to replace the AGP Matrox G450. If I do this sudo dpkg-reconfigure -phigh xserver-xorg I get FATAL: Module battery not found. This seems to be an old bug, identified

Re: [Emc-users] ModIO, Serial IO Interface

2008-10-23 Thread Kirk Wallace
On Thu, 2008-10-23 at 12:42 -0400, John Kasunich wrote: ... snip I think some confusion is because of your use of the term thread. EMC and HAL use the term thread to specifically refer to a _realtime_ thread with a specific period, but you seem to be using thread while talking about a

Re: [Emc-users] ModIO, Serial IO Interface

2008-10-23 Thread John Kasunich
Kirk Wallace wrote: That's one of my problems. I only know enough to create a component that fits in a realtime thread. (Dangerous is my middle name.) User components are actually easier. You create pins and parameters exactly the same as for a realtime component, but then you skip the

Re: [Emc-users] Serial IO Interface

2008-10-23 Thread Dave Keeton
Question, do you mean that version 7.124 can be compiled into emc now or do you just want us to play with it aside from emc? Dave On Thu, 2008-10-23 at 15:04 +, Chris Morley wrote: There is a ModBus feature in Classic Ladder, but it seems to me that an HAL component specifically

Re: [Emc-users] tune -up ?

2008-10-23 Thread robert
Jon Elson wrote: [EMAIL PROTECTED] wrote: Hi I am tuning ac servomotor. For Xpos-cmd and X-pos fb I have 2 trapezes. Upper part of trapeze should be horizontal, but I have some kind zigzag that eventually become horizontal. What should I do to make upper part flat – horizontal? ( P I D)

Re: [Emc-users] ModIO, Serial IO Interface

2008-10-23 Thread Kirk Wallace
On Thu, 2008-10-23 at 10:14 -0400, [EMAIL PROTECTED] wrote: ... snip Actually, I think I had a concern about the fact that the modbus library was LGPL3 instead of LGPL2. I'm also not sure if we want to include the modbus library in the EMC2 source tree (though it's pretty small). Do you have a

Re: [Emc-users] Stg 1 homing

2008-10-23 Thread Dave Engvall
On Oct 23, 2008, at 9:48 AM, John Kasunich wrote: Kirk Wallace wrote: On Thu, 2008-10-23 at 07:45 -0700, Dave Engvall wrote: ... snip Thanks for the confirmation although that wasn't the news I wanted. I would like to be able to emulate the X function in lstg which outputs the number of

[Emc-users] Classicladder/MODBUS

2008-10-23 Thread Chris Morley
7.124 is included with EMC TRUNK . TRUNK gives you all the cutting edge work that people have included. It can have bugs of course. It's possible to add classiclader 7.124 to a production EMC (like 2.2x) but probably not worth the trouble. The version 8.02 you found on sourceforge is the

[Emc-users] Does not Motenc-lite detected

2008-10-23 Thread Alejandro
Hello everybody, I recently bought a card Motenc-lite and when it started EMC2 with the configuration of motenc, I get an error card not detected. Anybody can help me identify the problem?. I attach the dmesg if it helps. I hope the message will not be too long. Thank you Alex [EMAIL

Re: [Emc-users] Classicladder/MODBUS

2008-10-23 Thread Dave Keeton
I have the trunk version you pointed to in an earlier message. What is the proper command format to compile it? I followed the instructions on the EMC wiki but I may not be doing it right! make is not working.. Dave On Thu, 2008-10-23 at 19:26 +, Chris Morley wrote: 7.124 is included

Re: [Emc-users] Does not Motenc-lite detected

2008-10-23 Thread Anton Buzinski
Looks like the board configuration is not correct.  do you have access to windows machine?  I will email you a windows program off list.  this will allow you to reconfigure the board eeprom.   thank you Anton From: Chris Radek [EMAIL PROTECTED] To: Enhanced

Re: [Emc-users] hot wire cutting

2008-10-23 Thread John Thornton
Don't know that much about Ubuntu but my xorg.conf file looked the same till I plugged in a different video card. I read somewhere if Ubuntu didn't recognize the hardware it just use a default... and the Kbuntu was a bit better at recognizing hardware for some reason... John On 23 Oct 2008

Re: [Emc-users] hot wire cutting

2008-10-23 Thread Kirk Wallace
On Thu, 2008-10-23 at 16:59 -0600, John Thornton wrote: Don't know that much about Ubuntu but my xorg.conf file looked the same till I plugged in a different video card. I read somewhere if Ubuntu didn't recognize the hardware it just use a default... and the Kbuntu was a bit better at