MESA 7i76EU - Pinzuordnung (z.B. Endschalter)

More
10 months 3 weeks ago #339903 by 2tinker
Hallo Raspll,
danke für deinen Post! Jetzt wird mir einiges klarer.
Ich arbeite mich gerade durch das Handbuch um HAL und INI händisch anzupassen.
Genau aus dem von dir beschriebenen Grund.
 

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

More
10 months 3 weeks ago - 10 months 3 weeks ago #339905 by RaspII
Gerne, aber ich bin noch nicht sicher ober der Parameter "7i76 Modus 2 I/O card" so richtig gesetzt ist oder ob ich Linux doch noch auf "UTF-8 EN_US" umstellen muss.
Nachtrag: Zumindest funktionieren jetzt die Endschalter (kann den Status in LinuxCNC richtig sehen, die Schalter ändern sich auch :-)
Last edit: 10 months 3 weeks ago by RaspII.

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

More
10 months 3 weeks ago - 10 months 3 weeks ago #339920 by RaspII
Die Eingänge laufen bei mir wie gewünscht, leider bekomme ich die Ausgänge nicht in Betrieb. Ich möchte gegen Gnd schalten, passieren tut nichts

Nachtrag: Verdrahte ich Output 0 auf TP6 als Schalter gegen + 24V (d.h. die Last liegt auf der anderen Seite an Masse) dann funktioniert es. Ich dachte die 7i76EU hat Universal Outputs, d.h. kann beide Modis?
Last edit: 10 months 3 weeks ago by RaspII. Reason: additional tests done

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

More
10 months 3 weeks ago #339921 by PCW
pncconf does not know about the field output options of the 7I76EU
(it only knows about the 7I76E)

The 7I76EU  has individually settable output modes for each output.

The default setting is sourcing mode on all outputs.

Sourcing mode means the 7I76EU outputs supply positive field voltage to a ground referred load
This is identical to the original 7I76E.

To set up sinking or push-pull outputs you must set the source or sink
parameters. These parameters are 16 bit numbers where each bit determines
the output mode of a single output. Bit 0 in the source and sink parameters
control the operation of output 0 and so on.

The default setting is source = 0xFFFF and sink = 0x0000 meaning all outputs are set to
sourcing mode.

To set to sinking mode, you set the desired sink bit to 1 and the corresponding source bit to 0
 To set push-pull mode, you set both the sink and source bits for the corresponding output.

That is if you wanted the first 8 outputs (0..7)  to be sourcing and the last 8 outputs (8..15) to be sinking
you would set the source parameter to 0x00FF and the sink parameter to 0xFF00

This is described on page 17 of the 7I76EU manual

Note the these parameters cannot be set dynamically, they must be set with setp commands in the hal file.

 

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

More
10 months 3 weeks ago #339939 by RaspII
Thanks a lot for this information. Currently I will stay with the sourcing Outputs. I just started with LinuxCNC and don't plan to modify the Hal-File by hand at the moment (Pncconf is currently my approach).
If I'm more experienced with LinuxCNC I will do this modification or maybe a new LinuxCNC version is available which fully supports the 7i76EU.

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

More
10 months 3 weeks ago #339953 by PCW
Just as a general thought, no GUI configurator can fully support the 7I76EU
(or any other hardware) , though I think MesaCT does support the output options.

In all but the simplest cases, some hand editing of hal/ini files is likely to be needed
and considerable hal customization will be needed for functions like tool changers,
spindle orientation, jogging options etc etc.

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

Moderators: Muecke
Time to create page: 0.138 seconds
Powered by Kunena Forum