Sebastian, No, wasn't motor direction, but I think I know what to look for.
Thanks, Eric On August 23, 2017 12:14:24 PM EDT, "Eric H. Johnson" <ejohn...@camalytics.com> wrote: >Sebastian, > >Hmm, I see what I have to do to create it. If I tie a signal to that >output and disable the estop, it does correctly enable the associated >amplifier. However, if I do the same thing with machine on, then main >power is dropping out. > >If I manually assert that output, I do not get the TRAM error, that >only happens when it is tied to machine on. > >It might be as simple as reversing output_scale, as I have not >determined the motor direction, only encoder direction. > >Thanks, >Eric > > >On August 23, 2017 11:43:58 AM EDT, Sebastian Kuzminsky ><s...@highlab.com> wrote: >>On 08/23/2017 08:02 AM, Eric H. Johnson wrote: >>> Andy, >>> >>> I am using a 7i43 with 7i33 encoder daughter board and 7i37 IO >>> daughter board. I am using a slightly modified version of the stock >>> 7i43-big.ini configuration for check out purposes. I just add >signals >>> to individually test the IO before trying to run the real >>> configuration. >>> >>> For some reason, I was not able to get the amplifier enable to work >>> off of the 7i33 board, even though it is wired identically (AFAIK) >to >>> the machine next to it. For the time being I am using an output off >>> the 7i37, which is working. >>> >>> At any rate, in hm2-servo.hal, under Z [2] Axis the enable reads: >net >>> emcmot.02.enable => hm2_[HOSTMOT2](BOARD).0.pwmgen.02.enable >>> >>> I then added a line: >>> >>> net emcmot.02.enable => hm2_7i43.0.gpio.046.out >>> >>> If this line is commented out, I get no error. With it in, I get the >>> TRAM error as soon as I try to do a machine on. >> >>This sounds like an electrical problem to me. >> >>As Andy said, the register in the hostmot2 firmware on the 7i43 FPGA >>gets written every time through the loop, whether it's a 0 or a 1. So > >>the fact that writing works 42,444 times while it's a 0, then fails >>when >>you set it to 1, makes me think it's something downstream of the FPGA. >> >>Do you know if you get an IO error (EPP timeout) at the same time? If > >>this is happening it would show up in the log, it would set the >>"hm2_743.0.io_error" parameter to True, and it should E-stop the >>machine. >> >>Here's a test to try: disconnect the wire connected to GPIO 046 and >see >> >>if the problem still happens. >> >> >>-- >>Sebastian Kuzminsky >> >>------------------------------------------------------------------------------ >>Check out the vibrant tech community on one of the world's most >>engaging tech sites, Slashdot.org! http://sdm.link/slashdot >>_______________________________________________ >>Emc-users mailing list >>Emc-users@lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/emc-users > >-- >Sent from my Android device with K-9 Mail. Please excuse my brevity. >------------------------------------------------------------------------------ >Check out the vibrant tech community on one of the world's most >engaging tech sites, Slashdot.org! http://sdm.link/slashdot >_______________________________________________ >Emc-users mailing list >Emc-users@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/emc-users -- Sent from my Android device with K-9 Mail. Please excuse my brevity. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users