7i76 analog input

More
2 years 5 months ago #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: 

Attachment not found



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
 

Please Log in to join the conversation.

More
2 years 5 months ago #300824 by tommylight
Replied by tommylight on topic 7i76 analog input
How are you trying to read them?

Please Log in to join the conversation.

More
2 years 5 months ago #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 to join the conversation.

More
2 years 5 months ago #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 to join the conversation.

More
2 years 5 months ago #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 to join the conversation.

More
2 years 5 months ago #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 to join the conversation.

More
2 years 5 months ago #300850 by Ludwig
Replied by Ludwig on topic 7i76 analog input
 

Attachment not found

Please Log in to join the conversation.

More
2 years 5 months ago #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 to join the conversation.

More
2 years 5 months ago #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 to join the conversation.

More
2 years 5 months ago #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 to join the conversation.

Time to create page: 0.317 seconds
Powered by Kunena Forum