Control panel, MUX wiring help

  • BeagleBrainz
  • New Member
  • New Member
More
6 years 1 week ago #187090 by BeagleBrainz
Replied by BeagleBrainz on topic Control panel, MUX wiring help
Grab a 7i70 remove the diodes, connect to the 7i70 inputs to what used to be the Cathode side of the diode and connect all the scan lines to VField. Diagram as shown should use all 48 inputs. Then it should be a one to one button to hal pin setup.

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

More
6 years 1 week ago - 6 years 1 week ago #187106 by PCW
Replied by PCW on topic Control panel, MUX wiring help
Not sure why you would _not_ use matrix_kb, since its designed for that exact
task. Any other solution that reads all the switches would be more complex
(as you would just be re-creating matrix_kb)

The basics are:

loadrt matrix_kb config=6x8s
setp matrix_kb.0.negative-logic false
addf matrix_kb.0 servo-thread

net row0 matrix_kb.0.row-00-out some_7I77_output_a
net row1 matrix_kb.0.row-01-out some_7I77_output_b
net row2 matrix_kb.0.row-02-out some_7I77_output_c
net row3 matrix_kb.0.row-03-out some_7I77_output_d
net row4 matrix_kb.0.row-04-out some_7I77_output_e
net row5 matrix_kb.0.row-05-out some_7I77_output_f

net col0 matrix_kb.0.col-00-in some_7i77_input_a
net col1 matrix_kb.0.col-01-in some_7i77_input_b
net col2 matrix_kb.0.col-02-in some_7i77_input_c
net col3 matrix_kb.0.col-03-in some_7i77_input_d
net col4 matrix_kb.0.col-04-in some_7i77_input_e
net col5 matrix_kb.0.col-05-in some_7i77_input_f
net col6 matrix_kb.0.col-06-in some_7i77_input_g
net col7 matrix_kb.0.col-07-in some_7i77_input_h
Last edit: 6 years 1 week ago by PCW. Reason: Oops its 6x8 not 5x8
The following user(s) said Thank You: lois

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

More
6 years 4 days ago #187628 by lois
Replied by lois on topic Control panel, MUX wiring help
Understood.
I can't get there with my "self knowledge about this programming level. Can you recommend some topics, so i can follow, about this subject?

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

More
6 years 4 days ago #187639 by PCW
Replied by PCW on topic Control panel, MUX wiring help
I would read the hal tutorial:

linuxcnc.org/docs/html/hal/tutorial.html

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

More
6 years 3 days ago #187655 by rootboy

lois wrote: Understood.
I can't get there with my "self knowledge about this programming level. Can you recommend some topics, so i can follow, about this subject?


Here's a nice little tutorial that will explain reading a keyboard matrix:

www.baldengineer.com/arduino-keyboard-matrix-tutorial.html

Focus on the part just after "Elements of a Keyboard Matrix". And keep your diodes...


And Peter's comment of "I was afraid you would ask..." had me cracking up. :)
The following user(s) said Thank You: lois

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

More
5 years 11 months ago #188103 by Himarc3D
Classic ladder isnt another option?
here one example using ladder for RSLogix500 (have many ways to do it using scan logic)
Code:
SOR XIO T4:0/DN TON T4:0 0.01 15 0 EOR SOR LES T4:0.ACC 6 XIC O:3.0/1 BST XIC I:1.0/1 OTE B3:0/1 NXB XIC I:1.0/2 OTE B3:0/2 NXB XIC I:1.0/3 OTE B3:0/3 NXB XIC I:1.0/4 OTE B3:0/4 BND EOR SOR GRT T4:0.ACC 5 LES T4:0.ACC 11 XIC O:3.0/2 BST XIC I:1.0/1 OTE B3:0/5 NXB XIC I:1.0/2 OTE B3:0/6 NXB XIC I:1.0/3 OTE B3:0/7 NXB XIC I:1.0/4 OTE B3:0/8 BND EOR SOR GRT T4:0.ACC 10 XIC O:3.0/3 BST XIC I:1.0/1 OTE B3:0/5 NXB XIC I:1.0/2 OTE B3:0/6 NXB XIC I:1.0/3 OTE B3:0/7 NXB XIC I:1.0/4 OTE B3:0/8 BND EOR

Mitsubishi offer free simulators just need to become member.
FX-TRN-BEG
FX-TRN-DATA
FX-TRN-POS
The last two just in japanese (shame) the DATA teach how to handlle 7 segment displays, BCD, keyboards, thumbwheel, outdated stuff (win98) but still usefull but now low end HMI is very cheap...
This one is another one nice for learn but isnt free like Mitsubishi
www.thelearningpit.com/lp/dwnloads.asp
www.youtube.com/results?search_query=FX-TRN-BEG

Give a try to Classic Ladder, have many ways to skin this cat.

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

Time to create page: 0.078 seconds
Powered by Kunena Forum