Andy,

More information. The full error is:
hm2/hm2_7i43.0: TRAM write error! (addr=0x1000, size=8, iter=42444).

I did try upping the servo period from the default 1ms to 1.5ms, but no 
difference.

Regards,
Eric


On August 23, 2017 10:02:23 AM EDT, "Eric H. Johnson" <[email protected]> 
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.
>
>Regards,
>Eric
>
>
>On August 23, 2017 8:11:10 AM EDT, andy pugh <[email protected]>
>wrote:
>>On 23 August 2017 at 06:43, Eric H. Johnson <[email protected]>
>>wrote:
>>
>>> I am getting a "TRAM write error", and not finding much on it in a
>>search. I
>>> am running lcnc 2.8.0-pre1, and using the Mesa 7i43 board. The error
>>occurs
>>> when I physically assert the enable for the third axis. The first
>two
>>axes
>>> came up fine, but if the only change I make to the configuration is
>>to do an
>>> enable to the third amplifier, the error will occur. Is it perhaps
>>related
>>> to the period of the servo loop?
>>
>>It shouldn't be. All the outputs are written every cycle whether they
>>need it or not.
>>
>>The code that generates the error is here:
>>https://github.com/LinuxCNC/linuxcnc/blob/af15a4d90e1d51d5309db65fe1c9511e486df411/src/hal/drivers/mesa-hostmot2/tram.c#L196
>>
>>But I seem to recall that the driver maps llio_write (and presumably
>>to llio_queue_write) to different functions depending on the connected
>>hardware.
>>
>>How are you enabling the amplifier? Can you show us the code that
>>causes the problem? Also, which firmware are you using?
>>
>>-- 
>>atp
>>"A motorcycle is a bicycle with a pandemonium attachment and is
>>designed for the especial use of mechanical geniuses, daredevils and
>>lunatics."
>>— George Fitch, Atlanta Constitution Newspaper, 1916
>>
>>------------------------------------------------------------------------------
>>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
>>[email protected]
>>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
>[email protected]
>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
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to