7i96S card arrived what setup is recomended

More
4 years 2 months ago #249338 by xenon-alien
Finally got it!
Used the Mesa Configuration tool.
But not really understand, why not needed to write
Code:
loadrt hm2_eth board_ip="10.10.10.10" config=" num_encoders=1 num_pwmgens=1 num_stepgens=2 sserial_port_0=0xxxxx"
Just
Code:
loadrt hm2_eth board_ip="10.10.10.10"

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

More
4 years 2 months ago - 4 years 2 months ago #249342 by PCW
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)

 
Last edit: 4 years 2 months ago by PCW.

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

More
4 years 2 months ago #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
4 years 2 months ago #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
4 years 2 months ago #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
4 years 2 months ago #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.

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