7i96S card arrived what setup is recomended

More
08 Aug 2022 14:55 #249347 by xenon-alien

The default driver behaviour is to enable all functions in the firmware

So with standard 7I96S firmware:

loadrt hm2_eth board_ip="10.10.10.10"

is the equivalent of:

loadrt hm2_eth board_ip="10.10.10.10" config=" num_encoders=1 num_pwmgens=1 num_stepgens=5 sserial_port_0=0xxxxx"

If for example you used your config line:

loadrt hm2_eth board_ip="10.10.10.10" config=" num_encoders=1 num_pwmgens=1 num_stepgens=2 sserial_port_0=0xxxxx"

stepgens 2,3,4 would be disabled
(and their outputs would become available as general purpose 5V outputs)


 

Is it possible to use them like input for alarms, or index axis encoder for more precise homing? ( or maybe P1 pins with 817 optocoupler)
Where can i find the 7i96s.bin? I can't find it in the folder with other fw files.
And i updated to _d because I can't run the pwm for the analog out. (i'm still lerning LCNC and mesa card set up. Maybe my setup was wrong, but now it's runing and want to try with the orifinal fw. (in the pin files i don't see any difference betwen them.)

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

More
08 Aug 2022 15:18 #249349 by PCW
1. No, the step/dir pins have buffers pointing outwards so can only be outputs
2. All 7I96S firmware supports the analog PWM (the default is 7i96s_d.bin)
3. P1 pins can be input or outputs (or stepgens encoder inputs etc,etc depending on firmware)
The following user(s) said Thank You: xenon-alien

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

More
08 Aug 2022 16:13 #249352 by xenon-alien

1. No, the step/dir pins have buffers pointing outwards so can only be outputs
2. All 7I96S firmware supports the analog PWM (the default is 7i96s_d.bin)
3. P1 pins can be input or outputs (or stepgens encoder inputs etc,etc depending on firmware)

1) Thanks. I see.
2) So I did "nothing", if it's the default. 
3) Is there any firmware to be able to use 2 pins for index homing? (It can be made for for more axis to be more universal)
I saw videos, someone can made them by themselves (fw), but for me it's too difficult. (if i can't make a simple lathe configuration on this new card, what we talking about)

Because the inductive homing sensor (what we have) are not precise, the index from the servo drive will help out us a lot.
There will be  turret with 6 tools. On this week I will test the algorithm.
On another late there are 5i25+7i76 cards and every morning we trying to find the coordinates for one tool and need to make the offset.
Is it possible to use index input on a pin without modifying the firmware?

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

More
08 Aug 2022 16:58 #249353 by PCW
If you move very slowly so the index pulse is long enough to get sampled reliably by
the servo thread, you may be able to do this is hal

There is firmware that supports stepgen index pins
The following user(s) said Thank You: xenon-alien

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

More
08 Aug 2022 17:01 #249354 by xenon-alien

If you move very slowly so the index pulse is long enough to get sampled reliably by
the servo thread, you may be able to do this is hal

There is firmware that supports stepgen index pins

Can you give me an example, how to do it?

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

More
08 Aug 2022 17:09 #249356 by PCW
I don't have a ready made example, but stepgen index behaviour mimics
encoder index behaviour so has the same hal connections to the index
enable signal
The following user(s) said Thank You: xenon-alien

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

More
08 Aug 2022 17:10 #249357 by xenon-alien

I don't have a ready made example, but stepgen index behaviour mimics
encoder index behaviour so has the same hal connections to the index
enable signal

Ok
I will try.

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

More
13 Aug 2022 15:16 #249653 by xenon-alien

There is firmware that supports stepgen index pinsW

Which firmware of them supports "stepgen index pinsW" and what pin to connect it on the card?

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

More
13 Aug 2022 16:36 - 13 Aug 2022 16:39 #249659 by PCW
No normal firmware supports this option.
Typically it would be used with an encoder
input card (that has a combined stepgen/encoder index pin)

What type of signal is the index from your hardware?
Last edit: 13 Aug 2022 16:39 by PCW.

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

More
13 Aug 2022 16:49 - 13 Aug 2022 16:57 #249660 by xenon-alien

No normal firmware supports this option.
Typically it would be used with an encoder
input card (that has a combined stepgen/encoder index pin)

What type of signal is the index from your hardware
 

I have only just this, 7i96s card with 7i96s_d.bin firmware
The signal is a 5v encoder output from a servo drive KA series   (differential ABZ and Z open collector output + a GND, not sure about the 2nd)
I need only the index, just for homing.
Last edit: 13 Aug 2022 16:57 by xenon-alien.

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

Moderators: PCWjmelson
Time to create page: 0.262 seconds
Powered by Kunena Forum