7i76 analog input

More
17 May 2024 08:51 #300807 by Ludwig
7i76 analog input was created by Ludwig
Hello,
I need your help again.
I can´t readout the value of the analog input from the 7i76 (see the picture).
The settings in the INI-File is as follow: 

loadrt hm2_pci config=" num_encoders=7 num_pwmgens=0 num_stepgens=5 sserial_port_0=10xxxx"

Please help me to find out the problem.
I use LinuxCNC 2.9.2.

Best regards
Ludwig
 
Attachments:

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

More
17 May 2024 13:02 #300824 by tommylight
Replied by tommylight on topic 7i76 analog input
How are you trying to read them?

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

More
17 May 2024 14:51 #300834 by Ludwig
Replied by Ludwig on topic 7i76 analog input
Just connect 24V to TB6 pin 4 and read
net analog3 <= hm2_5i24.0.7i76.0.0.analogin3 => spindle_load.bar_spindle_load

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

More
17 May 2024 16:42 #300844 by tommylight
Replied by tommylight on topic 7i76 analog input
Pin 1 on header will be pin 0 in hal.
Does Mesa 7i76 have field power?

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

More
17 May 2024 16:59 #300848 by PCW
Replied by PCW on topic 7i76 analog input
Does digital input 0 (same pin as Analog-0)respond?

If not, that suggests a communication issue

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

More
17 May 2024 17:22 #300849 by Ludwig
Replied by Ludwig on topic 7i76 analog input
Yes, digital input shows 1, and the fieldpower is also connect.

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

More
17 May 2024 17:27 #300850 by Ludwig
Replied by Ludwig on topic 7i76 analog input
 
Attachments:

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

More
17 May 2024 17:52 #300851 by PCW
Replied by PCW on topic 7i76 analog input
That is a somewhat weird hardware configuration (50 pin FPGA --> 25 pin daughtercard), what does:

sudo mesaflash --device 5i24 --readhmid

show?

Also what is the 7I76 firmware version

DId you try mode 2?
 

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

More
17 May 2024 18:29 #300852 by Ludwig
Replied by Ludwig on topic 7i76 analog input
I try mode 2, same result. Only there show encoder0 , encoder1 and fieldpower pin.

How to find the 7i76 firmware version?

And the 7i76 is connected to the 5i24 by DB25pin connector.

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

More
17 May 2024 18:40 #300853 by Ludwig
Replied by Ludwig on topic 7i76 analog input
Here the 7i76 firmware version:

sudo mesaflash --device 5i24 --sserial
SSLBP port 0:
  SSLBP Version: 1.43
  SSLBP Channels: 2
  SSLBP Baud Rate: 2500000
  sserial device at channel 0: 7I76 GPIO+SPINDLE (unit 0x1000037C)
    SwRevision = 14
    HwRevision = 1
    NVBaudRate = 2.5Mb
    NVUnitNumber = 0x1000037C
    NVWatchDogTimeout = 50ms
    SOFTWARE MODE IO_Spin [index 00]
    SOFTWARE MODE IO_Ana_Spin [index 01]
    SOFTWARE MODE IO_Enc_Ana_Spin_FV [index 02]

 

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

Time to create page: 0.328 seconds
Powered by Kunena Forum