Connecting an analog input to a 7i97
- EW_CNC
-
Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 112
- Thank you received: 28
15 Mar 2021 20:12 #202400
by EW_CNC
Connecting an analog input to a 7i97 was created by EW_CNC
I'm using a 7i97 Mesa Board on a hydraulic pressbrake retrofit. I need to connect a 0-10V DC signal from the Pressure Transducer. What are my options for connecting this?
Do I need the 7I87 Remote isolated Analog input card?
Thanks,
Earl W
Do I need the 7I87 Remote isolated Analog input card?
Thanks,
Earl W
Attachments:
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18537
- Thank you received: 5081
15 Mar 2021 20:44 #202406
by PCW
Replied by PCW on topic Connecting an analog input to a 7i97
That's probably the easiest way
Though if 10 bits is good enough and you don't mind calibrating, a THCAD-10 would work also
Though if 10 bits is good enough and you don't mind calibrating, a THCAD-10 would work also
The following user(s) said Thank You: EW_CNC
Please Log in or Create an account to join the conversation.
- EW_CNC
-
Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 112
- Thank you received: 28
20 Mar 2021 23:19 #203064
by EW_CNC
Replied by EW_CNC on topic Connecting an analog input to a 7i97
I got my 7i87 card today. Do I just connect the card and it will add the necessary pins, or do I need to update the firmware?
Also It seems that I am missing the hm2_7i97.0.encoder-scale pins and the hm2_7i97.0.pwmgen-scale pins.
I'll attach the halcmd pin list.
Also It seems that I am missing the hm2_7i97.0.encoder-scale pins and the hm2_7i97.0.pwmgen-scale pins.
I'll attach the halcmd pin list.
Attachments:
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18537
- Thank you received: 5081
21 Mar 2021 00:02 #203067
by PCW
Replied by PCW on topic Connecting an analog input to a 7i97
The firmware should work as-is
Note that the encoder position scale is a parameter, not a pin
so will show up with "halcmd show param hm2"
Also there has been a firmware update to fix a analog output issue on the 7I97
This update inverts the PWM automatically so if you have inverted the PWM in the
hal file, this inversion needs to be removed from the hal file.
New bitfiles:
Example hal / ini files
Note that the encoder position scale is a parameter, not a pin
so will show up with "halcmd show param hm2"
Also there has been a firmware update to fix a analog output issue on the 7I97
This update inverts the PWM automatically so if you have inverted the PWM in the
hal file, this inversion needs to be removed from the hal file.
New bitfiles:
Example hal / ini files
The following user(s) said Thank You: EW_CNC
Please Log in or Create an account to join the conversation.
- EW_CNC
-
Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 112
- Thank you received: 28
21 Mar 2021 00:51 #203071
by EW_CNC
Replied by EW_CNC on topic Connecting an analog input to a 7i97
So do I need to update the firmware with the bitfiles to fix the analog output issue?
I'm not familiar with the process to update the firmware.
Thanks
E.W.
I'm not familiar with the process to update the firmware.
Thanks
E.W.
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18537
- Thank you received: 5081
21 Mar 2021 02:16 #203075
by PCW
Replied by PCW on topic Connecting an analog input to a 7i97
Yes. you need to update the firmware to fix the analog output issue
the commands would be
mesaflash --device 7i97 --addr [card_ip_address] --write 7i97_D.bit
mesaflash --device 7i97 --addr [card_ip_address] --reload
the commands would be
mesaflash --device 7i97 --addr [card_ip_address] --write 7i97_D.bit
mesaflash --device 7i97 --addr [card_ip_address] --reload
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.141 seconds