Re: [Emc-users] Serial Port access

2021-09-13 Thread John Dammeyer
> From: Gene Heskett [mailto:ghesk...@shentel.net] > On Monday 13 September 2021 18:11:44 John Dammeyer wrote: > > > Hi Gene, > > I was able to use your pyvcp information along with the web documents > > to get my own slider working. In the CAN message screen grab you can > > see id=218, dlc=4,

Re: [Emc-users] Serial Port access

2021-09-13 Thread Gene Heskett
On Monday 13 September 2021 18:11:44 John Dammeyer wrote: > Hi Gene, > I was able to use your pyvcp information along with the web documents > to get my own slider working. In the CAN message screen grab you can > see id=218, dlc=4, and the first two bytes representing 0x0032 in > Little Endian

Re: [Emc-users] Serial Port access

2021-09-13 Thread John Dammeyer
Hi Gene, I was able to use your pyvcp information along with the web documents to get my own slider working. In the CAN message screen grab you can see id=218, dlc=4, and the first two bytes representing 0x0032 in Little Endian format. That value in decimal is 50. Scale screen grab shows the

Re: [Emc-users] Serial Port access

2021-09-12 Thread John Dammeyer
ns.com] > Sent: September-10-21 10:11 AM > To: 'Enhanced Machine Controller (EMC)' > Subject: Re: [Emc-users] Serial Port access > > Hi Andy, > > The output below shows CANopen PDO message #2 (0x300) to ID 0x18, 1 byte, > alternating between 0x01 and 0x00 being issued once >

Re: [Emc-users] Serial Port access

2021-09-11 Thread Gene Heskett
On Saturday 11 September 2021 13:33:30 John Dammeyer wrote: > Hi Gene, > On Vancouver Island so other end of the country and about 4 days by > road if one is not driving 24/7. > > Thanks for the code fragment. Very helpful. > > I do have two buttons > > # Tag buttons > net

Re: [Emc-users] Serial Port access

2021-09-11 Thread John Dammeyer
gt; Subject: Re: [Emc-users] Serial Port access > > On Saturday 11 September 2021 05:02:47 John Dammeyer wrote: > > > I'm still waiting for mine to arrive. Latest is that it arrived at > > Canada Post in Toronto. I'm going to guess it's going via surface > > from the

Re: [Emc-users] Serial Port access

2021-09-11 Thread Gene Heskett
On Saturday 11 September 2021 05:02:47 John Dammeyer wrote: > Hi Gene, > Hi Gene, > > > I don't know much about the CAN bus, but this does sound like a > > howto to do a relay. > > I'm working on the input side of things next. > > > But I went a different path as I am using a peristaltic pump

Re: [Emc-users] Serial Port access

2021-09-11 Thread John Dammeyer
e method I would have used had it been available 2 years > ago, so thank you John. I believe you have added to linuxcnc's > capabilities. > > > > -Original Message- > > > From: John Dammeyer [mailto:jo...@autoartisans.com] > > > Sent: September-10

Re: [Emc-users] Serial Port access

2021-09-11 Thread Gene Heskett
2 years ago, so thank you John. I believe you have added to linuxcnc's capabilities. > > -Original Message- > > From: John Dammeyer [mailto:jo...@autoartisans.com] > > Sent: September-10-21 10:11 AM > > To: 'Enhanced Machine Controller (EMC)' > > Subject: Re: [E

Re: [Emc-users] Serial Port access

2021-09-10 Thread John Dammeyer
mmeyer [mailto:jo...@autoartisans.com] > Sent: September-10-21 10:11 AM > To: 'Enhanced Machine Controller (EMC)' > Subject: Re: [Emc-users] Serial Port access > > Hi Andy, > > The output below shows CANopen PDO message #2 (0x300) to ID 0x18, 1 byte, > alternating between 0x01 an

Re: [Emc-users] Serial Port access

2021-09-10 Thread John Dammeyer
Hi Andy, The output below shows CANopen PDO message #2 (0x300) to ID 0x18, 1 byte, alternating between 0x01 and 0x00 being issued once per second. pi@raspberrypi:~/projects/python $ python TestSerial.py Sent CAN message with relay value = t318101 Sent CAN message with relay value = t318100

Re: [Emc-users] Serial Port access

2021-09-09 Thread John Dammeyer
> From: andy pugh [mailto:bodge...@gmail.com] > > On Thu, 9 Sept 2021 at 05:31, John Dammeyer wrote: > > > I've been reading > > http://linuxcnc.org/docs/2.4/html/hal_comp.html > > For this application I think that a Pyhon userspace component using > Pyserial is probably the easier approach. >

Re: [Emc-users] Serial Port access

2021-09-09 Thread andy pugh
On Thu, 9 Sept 2021 at 05:31, John Dammeyer wrote: > I've been reading > http://linuxcnc.org/docs/2.4/html/hal_comp.html For this application I think that a Pyhon userspace component using Pyserial is probably the easier approach. http://linuxcnc.org/docs/2.8/html/hal/halmodule.html -- atp

Re: [Emc-users] Serial Port access

2021-09-08 Thread John Dammeyer
ect: [Emc-users] Serial Port access > > I'm starting the next phase of a small project. I just about have the power > draw bar ready to mount.It's controlled by a small > processor with two buttons for load and release which runs the air valves > which move the pneumatic cylind

[Emc-users] Serial Port access

2021-09-08 Thread John Dammeyer
I'm starting the next phase of a small project. I just about have the power draw bar ready to mount.It's controlled by a small processor with two buttons for load and release which runs the air valves which move the pneumatic cylinder and spin butterfly impact wrench. To load/release