7i73 Pendent Control
bigalex
Please Log in or Create an account to join the conversation.
%c works like in C, it creates a HAL pin which directly sets the ASCII value of a character (values <32 (space) are suppressed).
%b{char1}{char2} creates a HAL bit pin, and displays {char1} if true and {char2} if false. Ascii values can be escaped with a backslash.
For examples "%bYN" would give you a Y / N pin. and "%b\FF " gives a block/blank.
Please Log in or Create an account to join the conversation.
The proper submission has documentation.
Please Log in or Create an account to join the conversation.
How do I use analog inputs?the latest pncconf supports the 7i73's simple buttons, analog input, and mpg
I see 7i73 but no analog pins there, 0-3 are usual bit inputs
The manual says about software modes 0-2, but I don't see such a parameter either
Please Log in or Create an account to join the conversation.
Heres a list of 7I73 pins: (In a mode with LCD enabled but no keypad)
10 float OUT 0.02588235 hm2_5i25.0.7i73.0.2.analogin0 -- four 0 -> 3.3V analog inputs
10 float OUT 0.03882353 hm2_5i25.0.7i73.0.2.analogin1
10 float OUT 0 hm2_5i25.0.7i73.0.2.analogin2
10 float OUT 0.02588235 hm2_5i25.0.7i73.0.2.analogin3
I don't have these pins. LCD and no keypad mode (W5 W6 down, W7 up)
Please Log in or Create an account to join the conversation.
You may need to change the software mode.I don't have these pins. LCD and no keypad mode (W5 W6 down, W7 up)
www.linuxcnc.org/docs/html/man/man9/hostmot2.9.html#config modparam
sserial_port_0=0x0020000
(I probably need to think about other ways to do this, as it is not very logical with the alternative addressing mode)
Please Log in or Create an account to join the conversation.
It also changed hm2_5i25.0.7i73.0.1.display to hm2_5i25.0.7i73.0.1.display32
I guess I found a bug in LCD component (or my LCD display). The first string on the first page is blinking while other strings on other pages don't.
I found a symbols combination when it did not blink, but can't find it any more.
Please Log in or Create an account to join the conversation.
loadrt lcd fmt_strings=""Plain Text %4.4f\nAnd So on|Second Page, Next Inst""
But it won't load with double quotes, while single quotes go OK.
Please Log in or Create an account to join the conversation.
There are double quotes in LCD man www.linuxcnc.org/docs/html/man/man9/lcd.9.html
But it won't load with double quotes, while single quotes go OK.loadrt lcd fmt_strings=""Plain Text %4.4f\nAnd So on|Second Page, Next Inst""
I am a bit puzzled by that, but I should be able to change it.
Please Log in or Create an account to join the conversation.
It might be that the string is exactly one page width but also has a /n in it. For lines that are exactly one page-width long you need to leave out the /n.I guess I found a bug in LCD component (or my LCD display). The first string on the first page is blinking while other strings on other pages don't..
(In fact, there is something to be said for not using /n at all)
Please Log in or Create an account to join the conversation.