7i76e: MPG and Analog inputs with pncconf?

More
6 years 7 months ago #159000 by Arro
setting
sserial_port_0=10xxxx

I get a scaling (scalemax) for the input parameter

Attachment not found



There should be parameters somewhere to set min and max for the raw input signal

where to find them ? (guess a correct variable definition is involved)

Please Log in to join the conversation.

More
6 years 7 months ago #159001 by PCW
halcmd show param hm2_7i76e.0.7i76*

There are no min or max parameters for analog inputs

Please Log in to join the conversation.

More
6 years 7 months ago #159002 by Arro
got it...

have some measurement on the input, with a max-scale of 36.3 Volts it gives a reasonable value

Attachment not found



Thank you Peter and Andy !!

Please Log in to join the conversation.

More
6 years 7 months ago #159007 by cmorley

In fact I tried to set Manual Spindle CW as variable and "it works", I mean when I give the 24 Volts as input I get the signal = TRUE.
Moreover it's not possible to set the variable "Custom Signal"... it does not remain selected.

Anyway at least the raw signal should be readable somehow, noting the changing voltage value


You type in the combo box to make a custom signal name.
But as Peter says it only connects to the digital pin not the analog.

Please Log in to join the conversation.

More
6 years 7 months ago #159008 by cmorley

PCW wrote: You would need to change
sserial_port_0=00xxxx
to
sserial_port_0=20xxxx
or
sserial_port_0=10xxxx

to get access to the 7I76E analog inputs


You can select mode 0 or 2 for the 7i76 in pncconf

Please Log in to join the conversation.

More
6 years 7 months ago #159012 by COFHAL
How are the two MPGs configured to work simultaneously? Could you share your HAL file?

Please Log in to join the conversation.

More
6 years 7 months ago #159057 by rodw

COFHAL wrote: How are the two MPGs configured to work simultaneously? Could you share your HAL file?


I documented it here for the 7i76e (for one axis)
forum.linuxcnc.org/show-your-stuff/32029...utter-build?start=20

Please Log in to join the conversation.

More
6 years 7 months ago #159384 by Arro
Not using MPGs for the moment

Please Log in to join the conversation.

Time to create page: 0.222 seconds
Powered by Kunena Forum