The PWM generation inside the micro controller for DC or three phase is no 
problem. In the configuration there is one PWM signal and I have not yet 
figured how to get the direction informartion. PWM is for duty cycle in 
interval zero to 100 percent and direction select polarity for a DC?

Nicklas Karlsson



On Mon, 22 Sep 2014 12:45:14 +0200
Rene Hopf <[email protected]> wrote:

> Position command to the driver, and position feedback form the driver is all 
> I need. maybe current velocity.
> and some sort of enable stuff.
> Alternatively only velocity command, if the feedback loop is closed via 
> linuxcnc using linear feedback.
> PWM is cared for by the STM, currently I support DC servos, and AC sync 
> servos. async is coming soon. As feedback resolvers and incremental encoders.
> linuxcnc does not need to know about the type of drive or feedback.
> 
> Rene
> On 22 Sep 2014, at 12:27, Nicklas Karlsson <[email protected]> 
> wrote:
> 
> > It is but curretly only as a fast hack, it works only with a fixed 
> > configuration and should be cleaned up a little bit. Do you about the PWM 
> > signal in the *.hal file should there be one for each axis? Direction, 
> > positive or negative PWM value? Or maybe one for each motor phase?
> > 
> > Nicklas Karlsson
> > 
> > 
> > On Mon, 22 Sep 2014 01:10:48 +0200
> > Rene Hopf <[email protected]> wrote:
> > 
> >> Hi,
> >> I am very interested in this, if that is implemented on the stm32.
> >> It would be useful for my ac driver project, which is making very good 
> >> progress at the moment.
> >> I will share Videos and code maybe next week.
> >> 
> >> Rene
> >> 
> >> On 22 Sep 2014, at 00:52, Karlsson & Wang 
> >> <[email protected]> wrote:
> >> 
> >>> Now it seems work and things start to get moving, at least on the 
> >>> desktop. I guess the most important is UDP instead ot Modbus over TCP 
> >>> which I expect require more communication. With this protocol it is also 
> >>> possible to access several registers in the same UDP message so I expect 
> >>> it to be rather efficient and not to for far from optimal which is good 
> >>> enough.
> >>> 
> >>> Nicklas Karlsson
> >>> 
> >>> 
> >>> 
> >>> 
> >>> On Sun, 14 Sep 2014 15:33:01 -0700 (PDT)
> >>> "Peter C. Wallace" <[email protected]> wrote:
> >>> 
> >>>> On Sun, 14 Sep 2014, Karlsson & Wang wrote:
> >>>> 
> >>>>> Date: Sun, 14 Sep 2014 23:30:40 +0200
> >>>>> From: Karlsson & Wang <[email protected]>
> >>>>> Reply-To: "Enhanced Machine Controller (EMC)"
> >>>>>   <[email protected]>
> >>>>> To: "Enhanced Machine Controller (EMC)" 
> >>>>> <[email protected]>
> >>>>> Subject: Re: [Emc-users] 7i80 with ethernet, *.ini and *.hal files
> >>>>> 
> >>>>> It seems to work but I do not have an 7i80 card. It send UDP packages 
> >>>>> but 
> >>>>> and ask for MAC address bur for some reason fail to find the MAC 
> >>>>> address 
> >>>>> although it is sent over the Ethernet card from my STM32 board. The 
> >>>>> 7i80 
> >>>>> card might be a better option, there are advantages with FPGA but micro 
> >>>>> controller is what I am used to and it have all the suitable 
> >>>>> peripherals.
> >>>>> 
> >>>>> Nicklas Karlsson
> >>>>> 
> >>>> 
> >>>> 
> >>>> The hm2_eth driver is written specifically for the Ethernt hostmot2 cards
> >>>> so unless your ucontroller based card emulates this down to the register
> >>>> level, it is not going to work (This is not impossible, all protocol 
> >>>> details
> >>>> are available in the 7I80 manuals). But unless you want to emulate the 
> >>>> hostmot2 register interface its probably better to write a different 
> >>>> driver
> >>>> 
> >>>> The basic structure of the hm2_eth driver can probably be used but 
> >>>> practically 
> >>>> speaking you will have implement your own protocol for communication 
> >>>> with the 
> >>>> remote device.
> >>>> 
> >>>>> 
> >>>>> 
> >>>>> 
> >>>>> On Sat, 13 Sep 2014 14:10:13 -0700 (PDT)
> >>>>> "Peter C. Wallace" <[email protected]> wrote:
> >>>>> 
> >>>>>> On Sat, 13 Sep 2014, Karlsson & Wang wrote:
> >>>>>> 
> >>>>>>> Date: Sat, 13 Sep 2014 21:44:26 +0200
> >>>>>>> From: Karlsson & Wang <[email protected]>
> >>>>>>> Reply-To: "Enhanced Machine Controller (EMC)"
> >>>>>>>   <[email protected]>
> >>>>>>> To: [email protected]
> >>>>>>> Subject: [Emc-users] 7i80 with ethernet, *.ini and *.hal files
> >>>>>>> 
> >>>>>>> Do anyone know how to write configure the 7i80 driver?
> >>>>>>> 
> >>>>>>> Best regards Nicklas Karlsson
> >>>>>> 
> >>>>>> 
> >>>>>> 
> >>>>>> The hm2-stepper and hm2-servo example files should be very close
> >>>>>> 
> >>>>>> you just need to invoke the correct driver and specify the ip address 
> >>>>>> of the
> >>>>>> FPGA card in the ini file
> >>>>>> 
> >>>>>> (read the hm2_eth manual for details)
> >>>>>> like this for example:
> >>>>>> 
> >>>>>> 
> >>>>>> [HOSTMOT2]
> >>>>>> DRIVER=hm2_eth board_ip="10.10.10.10"
> >>>>>> BOARD=7i80
> >>>>>> CONFIG="num_encoders=1 num_stepgens=5 sserial_port_0=20xxxxxx"
> >>>>>> 
> >>>>>> (this assumes the Ethernet FPGA card has had its EEPROM IP address 
> >>>>>> changed to
> >>>>>> 10.10.10.10 and that that option is selected)
> >>>>>> 
> >>>>>> 
> >>>>>>> 
> >>>>>>> ------------------------------------------------------------------------------
> >>>>>>> Want excitement?
> >>>>>>> Manually upgrade your production database.
> >>>>>>> When you want reliability, choose Perforce
> >>>>>>> Perforce version control. Predictably reliable.
> >>>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
> >>>>>>> _______________________________________________
> >>>>>>> Emc-users mailing list
> >>>>>>> [email protected]
> >>>>>>> https://lists.sourceforge.net/lists/listinfo/emc-users
> >>>>>>> 
> >>>>>> 
> >>>>>> Peter Wallace
> >>>>>> Mesa Electronics
> >>>>>> 
> >>>>>> (\__/)
> >>>>>> (='.'=) This is Bunny. Copy and paste bunny into your
> >>>>>> (")_(") signature to help him gain world domination.
> >>>>>> 
> >>>>>> 
> >>>>>> ------------------------------------------------------------------------------
> >>>>>> Want excitement?
> >>>>>> Manually upgrade your production database.
> >>>>>> When you want reliability, choose Perforce
> >>>>>> Perforce version control. Predictably reliable.
> >>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
> >>>>>> _______________________________________________
> >>>>>> Emc-users mailing list
> >>>>>> [email protected]
> >>>>>> https://lists.sourceforge.net/lists/listinfo/emc-users
> >>>>> 
> >>>>> ------------------------------------------------------------------------------
> >>>>> Want excitement?
> >>>>> Manually upgrade your production database.
> >>>>> When you want reliability, choose Perforce
> >>>>> Perforce version control. Predictably reliable.
> >>>>> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
> >>>>> _______________________________________________
> >>>>> Emc-users mailing list
> >>>>> [email protected]
> >>>>> https://lists.sourceforge.net/lists/listinfo/emc-users
> >>>>> 
> >>>> 
> >>>> Peter Wallace
> >>>> Mesa Electronics
> >>>> 
> >>>> (\__/)
> >>>> (='.'=) This is Bunny. Copy and paste bunny into your
> >>>> (")_(") signature to help him gain world domination.
> >>>> 
> >>>> 
> >>>> ------------------------------------------------------------------------------
> >>>> Want excitement?
> >>>> Manually upgrade your production database.
> >>>> When you want reliability, choose Perforce
> >>>> Perforce version control. Predictably reliable.
> >>>> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
> >>>> _______________________________________________
> >>>> Emc-users mailing list
> >>>> [email protected]
> >>>> https://lists.sourceforge.net/lists/listinfo/emc-users
> >>> 
> >>> ------------------------------------------------------------------------------
> >>> Slashdot TV.  Video for Nerds.  Stuff that Matters.
> >>> http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
> >>> _______________________________________________
> >>> Emc-users mailing list
> >>> [email protected]
> >>> https://lists.sourceforge.net/lists/listinfo/emc-users
> >> 
> >> 
> >> ------------------------------------------------------------------------------
> >> Slashdot TV.  Video for Nerds.  Stuff that Matters.
> >> http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
> >> _______________________________________________
> >> Emc-users mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/emc-users
> > 
> > ------------------------------------------------------------------------------
> > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
> > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
> > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
> > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
> > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
> > _______________________________________________
> > Emc-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> 
> 
> ------------------------------------------------------------------------------
> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to