7i73 LCD shows rubisch

More
8 years 8 months ago - 8 years 8 months ago #105598 by andypugh
Replied by andypugh on topic 7i73 LCD shows rubisch

PCW wrote: AFAIK the driver change the broke the 7I73 is the one that allows direct parameter access.

I think this is probable, but needs to be proved

As a side effect this sets all parameters to 0.

It really shouldn't. The HAL parameters should take the values read from the device, as before.
Last edit: 8 years 8 months ago by andypugh.

Please Log in or Create an account to join the conversation.

More
8 years 8 months ago #105599 by PCW
Replied by PCW on topic 7i73 LCD shows rubisch
Pretty sure this has been proven ( backing out to before that change fixed the LCD issue )

The setting parameters to 0 is something suggested by rene-dev on IRC (he seemed to think this happens )

But in general at least for Mesa sserial devices, parameters are very much like CANOpen SDO objects
( Setup Data Objects ) nothing that should be set live (as opposed to PDO = Process Data Oblects ) which are
expected to be controlled live

Please Log in or Create an account to join the conversation.

More
8 years 8 months ago - 8 years 8 months ago #105604 by andypugh
Replied by andypugh on topic 7i73 LCD shows rubisch
Can you show a picture of the problem?

I just pulled 2.7, got an LCD working, then pulled the latest 2.8 and tried again, and it worked just the same?

What 7i73 firmware version are you using? (Mine might be rather older than yours)
Last edit: 8 years 8 months ago by andypugh.

Please Log in or Create an account to join the conversation.

More
8 years 8 months ago #105605 by Mike_Eitel
Replied by Mike_Eitel on topic 7i73 LCD shows rubisch
Can not reach my machine tonight anymore, but I use master ca 1.5 weeks ago.
The 7i73 firmware? No idea. Same for 7i76e, but it worked flawless when i tested in the beginning.

Please Log in or Create an account to join the conversation.

More
8 years 8 months ago - 8 years 8 months ago #105606 by andypugh
Replied by andypugh on topic 7i73 LCD shows rubisch
Can you try this code
Code:
loadrt hostmot2 loadrt hm2_pci config="sserial_port_0=0x20000000" loadrt lcd fmt_strings="LinuxCNC - Tool %2i\n%b* X Pos = %11.4f%b* Y Pos = %11.4f%b* Z Pos = %10.3f|Long Number\n%015.2f\n" loadrt threads loadrt siggen addf hm2_5i25.0.read thread1 addf hm2_5i25.0.write thread1 addf lcd thread1 addf siggen.0.update thread1 net chars lcd.00.out hm2_5i25.0.7i73.0.0.display start setp lcd.00.contrast 0.7 net stuff lcd.00.page.00.arg.02 siggen.0.sine net stuff1 lcd.00.page.00.arg.04 siggen.0.cosine net stuff2 lcd.00.page.00.arg.06 siggen.0.triangle setp lcd.00.page.00.arg.03 1 setp siggen.0.amplitude 1000 setp siggen.0.frequency 0.000005
(save to a text file, test.hal, for example, then use the command
Code:
halrun -I test.hal
What I get, with the latest 2.8, is this: (Slightly dodgy LCD, but seems to work)

Attachments:
Last edit: 8 years 8 months ago by andypugh.

Please Log in or Create an account to join the conversation.

More
8 years 8 months ago #105607 by Mike_Eitel
Replied by Mike_Eitel on topic 7i73 LCD shows rubisch
Picture makes no sense. Better i describe.
For test i just use ABC, in the first position of first line. It i writen there.
But these three letters are immediately positioned additionally everywhere on the screen. I guess it is at least 10 times per second.
I know lcd from my earlier AVR programming times. Could have a similar problem when errors in position commands.

Please Log in or Create an account to join the conversation.

Moderators: PCW, jmelson
Time to create page: 1.926 seconds
Powered by Kunena Forum