7i76e: MPG and Analog inputs with pncconf?

More
02 Mar 2020 11:56 - 02 Mar 2020 11:58 #159000 by Arro
setting
sserial_port_0=10xxxx

I get a scaling (scalemax) for the input parameter



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)
Attachments:
Last edit: 02 Mar 2020 11:58 by Arro. Reason: complete post

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

More
02 Mar 2020 11:58 - 02 Mar 2020 12:00 #159001 by PCW
halcmd show param hm2_7i76e.0.7i76*

There are no min or max parameters for analog inputs
Last edit: 02 Mar 2020 12:00 by PCW.

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

More
02 Mar 2020 12:13 - 02 Mar 2020 12:14 #159002 by Arro
got it...

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



Thank you Peter and Andy !!
Attachments:
Last edit: 02 Mar 2020 12:14 by Arro.

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

More
02 Mar 2020 12:26 #159007 by cmorley
Replied by cmorley on topic 7i76e: MPG and Analog inputs with pncconf?

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 or Create an account to join the conversation.

More
02 Mar 2020 12:29 #159008 by cmorley
Replied by cmorley on topic 7i76e: MPG and Analog inputs with pncconf?

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 or Create an account to join the conversation.

More
02 Mar 2020 13:10 #159012 by COFHAL
Replied by COFHAL on topic 7i76e: MPG and Analog inputs with pncconf?
How are the two MPGs configured to work simultaneously? Could you share your HAL file?

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

More
02 Mar 2020 20:07 #159057 by rodw

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 or Create an account to join the conversation.

More
07 Mar 2020 02:36 #159384 by Arro
Not using MPGs for the moment

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

Moderators: cmorley
Time to create page: 0.166 seconds
Powered by Kunena Forum