MESA 5i23 7i44 7i49 7i37 8i20
- kenny
- Offline
- Senior Member
- Posts: 56
- Thank you received: 0
My motors is TGN3-0205 320V : www.tgdrives.cz/en/servomotors/tgn-series/tgn3/
Its OK?
How is it max and min value for setp bldc.0.encoder-offset ?
My actually config:
1) I was disassemble my CNC and connect components on the desk.
2) I have connect: PCI 5I23, 7I44 and three 8I20. 8I20 is powered from 320V and 24V (enable pins is OK), interconnect (RS422) between all 8i20 and 5I23 is OK.
3) I have physically connect only one motor axis (X). This driver is connect via RS422 channel number 1. Channel 0 is not in list of my HAL (show pins in my previous topic) Why?
4) Because I have only two chan numbers 8i20. (0.2) and (0.1) I cant configuration more than two axis X and Y. For axis Z i dont have variables.
How do I add other channel (0 or 3) number of 8I20 for config all axis?
Thank
Please Log in or Create an account to join the conversation.
- kenny
- Offline
- Senior Member
- Posts: 56
- Thank you received: 0
LED on channel 0 is OFF.
All other LEDS is ON.
Please Log in or Create an account to join the conversation.
- andypugh
- Away
- Moderator
- Posts: 23558
- Thank you received: 4858
LEDs (Status) flashing only channel 1 and 2.
LED on channel 0 is OFF.
All other LEDS is ON.
It sounds like something is wrong with the smart-serial wiring or the power to that 8i20.
You could try connecting the non-responding 8i20 to a different channel in the 7i44 to see if it is possibly a fault with the wiring from the 5i23 to the 7i44.
Please Log in or Create an account to join the conversation.
- andypugh
- Away
- Moderator
- Posts: 23558
- Thank you received: 4858
How is it max and min value for setp bldc.0.encoder-offset ?
It is normally given in encoder counts. The Resolver module has 2^24 counts per rev, so the useful range for bldc + 7i49 is -8388608 to +8388608
It is, however, most likely to be around 0, -5592505 or + 5592495 for a single-turn resolver and a 2-pole motor. For a 10-pole motor I think you would be looking at 0, 559240 -559240 as starting points and then optimise around there.
It is technically the resolver output value for the situation where phase A is at +V and both B and C are at -V. But the 8i20adds its own phase-angle to this isn't easy to set up.
If the 8i20 is doiscovered by the 5i23 at startup then it will appear automatically.How do I add other channel (0 or 3) number of 8I20 for config all axis?
Please Log in or Create an account to join the conversation.
- kenny
- Offline
- Senior Member
- Posts: 56
- Thank you received: 0
btw,
My resolver is sin cos type, what means phase A, B and C?It is technically the resolver output value for the situation where phase A is at +V and both B and C are at -V. But the 8i20adds its own phase-angle to this isn't easy to set up.
Please Log in or Create an account to join the conversation.
- andypugh
- Away
- Moderator
- Posts: 23558
- Thank you received: 4858
My resolver is sin cos type, what means phase A, B and C?
That is the motor phases. You will have 10 positions that the motor can "sit" with that input voltage, but the encoder offset only needs to be right for any one of them.
Basically bldc looks at the Resolver output counts and uses that to commutate the motor. But bldc does not know what position the resolver is attached to the motor shaft relative to the motor poles unless you tell it.
Please Log in or Create an account to join the conversation.
- kenny
- Offline
- Senior Member
- Posts: 56
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- kenny
- Offline
- Senior Member
- Posts: 56
- Thank you received: 0
Startup 5I23 - its mean power on or download bit file to FPGA?If the 8i20 is discovered by the 5i23 at startup then it will appear automatically.
Please Log in or Create an account to join the conversation.
- andypugh
- Away
- Moderator
- Posts: 23558
- Thank you received: 4858
startup 5I23 - its mean power on or download bit file to FPGA?
It happens as part of the "loadrt" process.
The minimal way to test is to open a terminal.
sudo dmesg -c
halrun
loadrt hostmot2
loadrt hm2_pci config="firmware=....."
show pin *8i20*
exit
dmesg
The dmesg output will help to confirm if the sserial channels on the 7i44 connector are active.
Please Log in or Create an account to join the conversation.
- kenny
- Offline
- Senior Member
- Posts: 56
- Thank you received: 0
Bad RS422 cable...
Please Log in or Create an account to join the conversation.