Bitfile or help – Mesa 6i25 + 7i74 (BiSS-C) + 8i20 + 7i70/7i87

More
9 months 1 week ago - 9 months 1 week ago #341632 by sataran
Ok so i progressed a bit But my raik060( biss-c/ssi signal) need a master clock in order to operate

(BiSS-C / SSI):  DESCRIPTION:                           WIRE
VCC                 Power supply input Power         Red
MA+ / CLK+    Positive clock input                  Orange
MA- / CLK-         Negative clock input              Yellow
SLO- / DATA-     Negative data output             White
SLO+ / DATA+  Positive data output               Green
GND                  Ground Power                        Black
 
and i get some contradictory information. i read somewhere that only a 7i85 card could generate a clock and not other card like 7i76 or 7i74 ? if it is true that mean i have to rethink ma configuration.

For now i have added this to my main hal and it seams to be good, at least it don't crash :)
Code:
loadrt hm2_pci config="num_encoders=0 num_pwmgens=1 num_stepgens=2 sserial_port_0=0XXX biss_chan_0=start%1bCDS%1bmulti-turn%16sposition%18uerror%1bwarning%1bcrc%6u" setp hm2_5i25.0.watchdog.timeout_ns 5000000 # Paramètres BiSS-C # clock max : 10 MHz (10000 kHz) setp hm2_5i25.0.biss.00.frequency-khz 8000 # Configuration pins # Pins contrôle and diagnostic net biss-start hm2_5i25.0.biss.00.start net biss-CDS hm2_5i25.0.biss.00.CDS # Pins position # Multi-turn (16 bits signed) net biss-multi-turn hm2_5i25.0.biss.00.multi-turn # Position principale (18 bits non signé) net biss-position hm2_5i25.0.biss.00.position net biss-error hm2_5i25.0.biss.00.error net biss-warning hm2_5i25.0.biss.00.warning net biss-crc hm2_5i25.0.biss.00.crc
Last edit: 9 months 1 week ago by sataran.

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

More
9 months 1 week ago #341636 by sataran
ps i am reading tommylight post for the conf in hal file, it look promising!
The following user(s) said Thank You: tommylight

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

More
9 months 1 week ago #341655 by sataran
Update, i just received the (almost) final plan for this project.
mesa part:
  6i25 => 7i76  -> spindle   = 1 motor
                        - >field output 1 = motor on/off
                        - >field output 2 = motor on/off
                          ? -> encodeur biss-c ?
          => 7i74   ? 0 => encodeur biss-c (RAIK060 by vishay) ?
                         1 => 7i87 -> 6 temperatures captors
                                          ->  1 pressure captor
                         2 => 8i20 -> main motor
Encodeur:
- i use an encoder raik060 from vishay (doc bellow) it seem to need a clock from the master card and maybe a signal? start?? in order to operate.

Project non mesa part.
This project is not a cnc but a system to test pieces it is composed  of 2 part:
- The first part is 1 motor cyclic powered by 8i20 in team with the biss-c encoder and a pressure captor in team with the motor controlled by 7i76 spindle

- The second part is the cooling system that will work in continue.
this is 2 motor that will run full time en 4 temp captors for security

QUESTIONS:

-Concerning the signal biss i am flexible on what part to use, ether the 7i76 or the 7i74 depending on what may be possible or the easiest and i saws where was an encoder part on the 7i76U  was curious if it was possible to use that?.
-If we keep the signal biss-c on the 7i74 it is important to note that i need to have most of the 7i74 port to work normally and only the port 0 has a biss-c socket. If it is not possible i can use a second 6i25 and 7i74 dedicated to handling the signal biss.
- i still dont have any signal from or to my encoder, is their something to do in order to generate the clock signal or to make it react? I cant seem to find details about this part in the forum (i still have a lot to read so i am not loosing hope) and chatgpt or other ai keep telling me that it is impossible or to use non existing  driver like hm2_biss.

I added the doc of the encoder i am using, it is the Multi turn version, information about the signal are page 15 and 16.

Lastly is there any doc about how to configure a framework? Even if i cant do one myself, knowing what is happening would help me to know what information i need to give in order to get a bitfile adapted to my configuration.

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

More
9 months 1 week ago #341657 by PCW
Any daughtercard that provides a RS-422 interface will work for BISS

With your 7I76 + 7I74 configuration, the BISS interface could either be on the one RS422 interface on the 7I76 or
any of the eight RS-422 interfaces on the 7I74 depending on the firmware.

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

More
9 months 1 week ago #341690 by sataran
i am not making any progress so let take a step back.
i use a bit file PIN_7I76_7I74BISS3D_34 With the biss signal assigned to a 7i74 plugged on the port P2 with the pin configuration :
        IOPortTag & x"00" & BISSTag  & BISSDataPin,             -- I/O 17    PIN 1
        IOPortTag & x"01" & BISSTag  & BISSDataPin,             -- I/O 18    PIN 14
        IOPortTag & x"02" & BISSTag  & BISSDataPin,             -- I/O 19    PIN 2
        IOPortTag & x"00" & NullTag & x"00",                    -- I/O 20    PIN 15
        IOPortTag & x"00" & BISSTag  & BISSClkPin,            -- I/O 21    PIN 3
        IOPortTag & x"01" & BISSTag  & BISSClkPin,            -- I/O 22    PIN 16
        IOPortTag & x"02" & BISSTag  & BISSClkPin,            -- I/O 23    PIN 4
I dont understand yet why we have 3 pin for data and 3 for clock but its fine.

the objective now is to get the system to produce at least a clock. with the cnc project running i tried to locate where the clock where available but nothing. I tested each port rj45 on my 7i74 and even the pin from the cable between my two card and nothing relevant. i got power (5v) some signal but no clock. do i need a command in hal/init /bit/god? to indicate that the signal should be active?

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

More
9 months 1 week ago #341693 by sataran
i found it i got my clock.
i needed this two line:
setp hm2_5i25.0.biss.00.timer-number 1
setp hm2_5i25.0.biss.00.frequency-khz 8000.
i just want to know if it is ok to have 10 volt of amplitude between -5 clk- and +5 clk+ with spike to -10 +10 v? seem a bit much for a clock, WIll test other cable i may have made a mistake here.

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

Moderators: PCW, jmelson
Time to create page: 0.427 seconds
Powered by Kunena Forum