Advanced Search

Search Results (Searched for: )

  • programador
  • programador's Avatar
14 Jan 2025 17:58

How to use the velocity encoder signal as position feedback for the 7i77 board?

Category: HAL

Good afternoon, dear friends.

Please, how should I make the connections in the HAL file so that the 7i77 electronic board accepts the frequency generated by the THCAD2 electronic board as feedback from the Z axis?

Below is the basic code generated by PNCConf from LinuxCNC:
# ---Encoder feedback signals/setup---

#setp hm2_7i96s.0.encoder.00.counter-mode 0 #Default PNCConf Wizard
setp hm2_7i96s.0.encoder.00.counter-mode 1 #change to accept signal from THCAD2 board as Z axis feedback
#setp hm2_7i96s.0.encoder.00.filter 1 #Default PNCConf Wizard
setp hm2_7i96s.0.encoder.00.filter 0
setp hm2_7i96s.0.encoder.00.index-invert 0
setp hm2_7i96s.0.encoder.00.index-mask 0
setp hm2_7i96s.0.encoder.00.index-mask-invert 0
setp hm2_7i96s.0.encoder.00.scale [JOINT_1]ENCODER_SCALE

net z-pos-fb <= hm2_7i96s.0.encoder.00.position

net z-vel-fb <= hm2_7i96s.0.encoder.00.velocity
net z-pos-fb => joint.1.motor-pos-fb
net z-index-enable joint.1.index-enable <=> hm2_7i96s.0.encoder.00.index-enable
net z-pos-rawcounts <= hm2_7i96s.0.encoder.00.rawcounts

Note:

The TCHAD2 electronic board receives the analog voltage from the Z-axis movement which is a magnetic sensor with repeatability accuracy of 10µm (MICRA, micron or micron), with a recordable speed of 10m/s (meters per second) and IP67 classification (dust protection and water and oil resistance).
This sensor provides 0 volts at the output when the Z axis is lowered and 8 volts at the output when the Z axis is raised. The TCHAD2 electronic board converts this voltage into a frequency of 100kHz to 1Mhz (according to the chosen jumper). Then the 7i77 electronic board receives this frequency on encoder channel 0. It displays the position results counting to infinity, with only velocity being usable as position, with the low Z axis having a low frequency and the high Z axis having a high frequency.
Please, any basic example helps or suggestions. I appreciate your collaboration. Attached is a video showing how the values ​​from the TCHAD2 electronic board are being received by LinuxCNC.

*MICRA: The symbol (µm) and correspond to the microscopic unit of measurement, where 1 micron is the same as dividing 1 millimeter by 1000


 
  • TomAlborough
  • TomAlborough's Avatar
14 Jan 2025 17:56

RPi 5 with 6.12 PREEMPT_RT = Using POSIX non-realtime

Category: Installing LinuxCNC

Hello @cornholio:

I hear you. "AI" is a tool. One can try it out as is their desire, but that's getting harder to do given that it seems it's being forced down our throats sometimes. But, that's a problem not solved in this one post.

So, does the gyroscope created by the rotor in the router "cause issues" because the earth is rotating and orbiting about, and by the fact we have gravity or, am I mistaken? Either way I have never investigated gyroscopes beyond crashing some (model) helicopters. They seem to cause confusion (maybe just for me), but after a while that's not an excuse not to learn about them.

I also need to read and understand "background" material I may post, like the citation about "kinematics".

Many thanks,
Tom
  • Clive S
  • Clive S
14 Jan 2025 17:10
Replied by Clive S on topic Homing an axis moves away from home switch!

Homing an axis moves away from home switch!

Category: StepConf Wizard

Can you post the ini and hal files.
  • PCW
  • PCW's Avatar
14 Jan 2025 17:02

Error problem hm2 7i96s 7i77 analogout scalemax not found ?

Category: HAL

Note, you can get a better idea of sserial channel --> 7I77 assignments with:

mesaflash --device 7i96s --addr 10.10.10.10 --dbname3 7i77 --readhmid
  • programador
  • programador's Avatar
14 Jan 2025 17:00

Error problem hm2 7i96s 7i77 analogout scalemax not found ?

Category: HAL

This error appeared when I took the data generated by PNCConf to try to include part of it in the programming code of the machine that I am already developing. But while I was waiting for your answer, I had the idea of ​​creating a new file through the basic PNCConf and gradually including the code of the machine under development. In this code, it is accepting the "analogout scalemax". I will leave it attached in case anyone needs a basic initial code for 7i96s with 7i77. I will try this method. Thank you for your attention, Mr. PCW.

 

File Attachment:

File Name: Z3.hal
File Size:8 KB

File Attachment:

File Name: Z3.ini
File Size:3 KB
  • PCW
  • PCW's Avatar
14 Jan 2025 16:58

Error problem hm2 7i96s 7i77 analogout scalemax not found ?

Category: HAL

Look, like you have the channel number wrong for the analog 7I77 section
(its channel 1 not 0)
 
  • PCW
  • PCW's Avatar
14 Jan 2025 16:53
Replied by PCW on topic 7I96S With RS485 Servo Drivers

7I96S With RS485 Servo Drivers

Category: Driver Boards

Yes, you need the appropriate D connector for CN1
 
  • programador
  • programador's Avatar
14 Jan 2025 16:44

Error problem hm2 7i96s 7i77 analogout scalemax not found ?

Category: HAL

Yes, the 7i96s board has been updated, attached readhmid and bin files. 

 

File Attachment:

File Name: 7i96s_7i77d.rar
File Size:295 KB

File Attachment:

File Name: 7i96s.txt
File Size:8 KB
Displaying 20131 - 20138 out of 20138 results.
Time to create page: 0.343 seconds
Powered by Kunena Forum