Mesa 6i24/5i24 + 7i33 + 7i48s - which BIT file?

More
02 Jan 2017 02:10 #85052 by russj
I'm attempting to run a 6i24_25 (5i24 compat mode) with a 7i33 (XYZA) and a 7i47s (spindle VFD control, encoder/MPG/handwheel, I/O), and possibly a 7i37 if I need more I/O. Not sure what BIT file to use or if I'll have to make my own - tried a few pre-made ones, and got mixed results (but not 100% sure what I'm doing). I'm hoping someone can point me in the right direction to start. Here's what I'm attempting to make work the boards with (it's a rather large mill to learn this stuff on, but it was free):

3x AMC 30A20ACT analog drivers (mill came with good DC servos, just old/bad driver/controls so I picked these up cheap) (only doing 3 axis at first, but might add a 4th once I'm up and running)
Hitachi WJ200-022SF VFD for spindle (looked like 0-10v was simplest way to control)

Also not sure if adding a 2nd encoder (i.e. glass scales) in addition to the rotary encoders on the servos is necessary (i.e.to help make it a more accurate machine) - if so, was planning on using the 7i48s for those and an encoder used for a MPG. AMC drivers use tach feedback (same as original controllers) and I'm going to attempt to use that as the first feedback loop, then the differential encoders on the servos to the 7i33 board.

If I were to build my own BIT file, what version of the ISE works best (wasn't successful with my first attempt with 14.7 but didn't spend a lot of time on it), and what hostmot2 source files should I start with? I've seen a few hostmot2 collections out there, but not sure which are best to start with.

Thanks for any help!

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

More
02 Jan 2017 10:15 #85067 by andypugh
Looking through the 5i24 zip file I found:
5i24_25_svst1_4_7i47s.bit

This has one port set up for a 7i47s like this:
		IOPortTag & x"00" & StepGenTag & StepGenStepPin,	-- I/O 00
		IOPortTag & x"00" & StepGenTag & StepGenDirPin,		-- I/O 01	
		IOPortTag & x"01" & StepGenTag & StepGenStepPin,	-- I/O 02		
		IOPortTag & x"01" & StepGenTag & StepGenDirPin,		-- I/O 03		
		IOPortTag & x"00" & QCountTag & QCountQAPin,			-- I/O 04		
		IOPortTag & x"02" & QCountTag & QCountQAPin,			-- I/O 05		
		IOPortTag & x"00" & QCountTag & QCountQBPin,			-- I/O 06			
		IOPortTag & x"02" & QCountTag & QCountQBPin,			-- I/O 07		
		IOPortTag & x"00" & QCountTag & QCountIDXPin,		-- I/O 08		
		IOPortTag & x"02" & QCountTag & QCountIDXPin,		-- I/O 09
		IOPortTag & x"01" & QCountTag & QCountQAPin,			-- I/O 10
		IOPortTag & x"03" & QCountTag & QCountQAPin,			-- I/O 11
		IOPortTag & x"01" & QCountTag & QCountQBPin,			-- I/O 12		
		IOPortTag & x"03" & QCountTag & QCountQBPin,			-- I/O 13	
		IOPortTag & x"01" & QCountTag & QCountIDXPin,		-- I/O 14	
		IOPortTag & x"03" & QCountTag & QCountIDXPin,		-- I/O 15
		IOPortTag & x"00" & NullTag & x"00",					-- I/O 16 7I47S SPARE ISOLATED OUT
		IOPortTag & x"00" & PWMTag  & PWMBDirPin,				-- I/O 17 7I47S DIRECTION	
		IOPortTag & x"00" & PWMTag  & PWMCEnaPin,				-- I/O 18 7I47S PWMENABLE			
		IOPortTag & x"00" & PWMTag  & PWMAOutPin,				-- I/O 19 7I47S PWMOUT	
		IOPortTag & x"02" & StepGenTag & StepGenStepPin,	-- I/O 20			
		IOPortTag & x"02" & StepGenTag & StepGenDirPin,		-- I/O 21
		IOPortTag & x"03" & StepGenTag & StepGenStepPin,	-- I/O 22			
		IOPortTag & x"03" & StepGenTag & StepGenDirPin,		-- I/O 23

So that is 4 stepgens, 4 encoders and a single PWM.

The other two connectors are set up as just GPIO in that bitfile.

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

More
02 Jan 2017 16:05 #85084 by PCW
Theres no standard bitfile for this combination but I can build one. Normally 7I47s are used with stepgens, pwmgens or sserial interfaces the outputs not sure what you would like

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

More
02 Jan 2017 17:17 #85093 by russj
Thanks for the super-quick responses! I had tried the 5i24_25_svst1_4_7i47s.bit, but it didn't look like it was going to provide the PWMs I needed for my analog servo drivers. Here's what I'd like to do with the hardware I have if possible:

7i33 - 4x differential encoders, 4x analog servos
7i47s - 4x differential encoders, 1x spindle (ena, dir, analog speed control) -- TX unused, AUX as GPIO?
7i37 - GPIO - coolant, home/limit switches, physical buttons/switches/lights

Is that enough info? I appreciate the offer to build a BIT file if it's not too much to ask - ultimately I'd like to understand how to do this myself, but I've got a lot of learning to do, and it would get me over this hurdle.

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

More
04 Jan 2017 01:21 #85179 by PCW
The following user(s) said Thank You: russj

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

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