Mesa Configuration Tool

More
1 year 8 months ago #322014 by PCW
Replied by PCW on topic Mesa Configuration Tool
Yes, 7I76E hal and ini files will work with a 7I76EU.

The added 7I76EU features (output modes and spindle mode)
would not be supported, but these are just controlled by parameters
that  can be setp'ed in the hal file.

The firmware files are however different

Please Log in to join the conversation.

More
1 year 8 months ago #322068 by JT
Replied by JT on topic Mesa Configuration Tool
I've added support for the 7i76EU, just need to figure out what features it has over the 7i76E. Good to know the pin names are the same.

JT

Please Log in to join the conversation.

More
1 year 8 months ago #322089 by PCW
Replied by PCW on topic Mesa Configuration Tool
The 7I76EU (and 7I76U) have 3 new parameters and the 7I84U has 2 new parameters

The main 2 added parameters are 7i76.[port].[chan].output_source and 7i76.[port].[chan].output_sink. or
7i84.[port].[chan].output_source and 7I84.[port].[chan].output_sink. These are 16 bit masks
that control the field output mode. Each xxxx.output_source  bit controls the source attribute
of the corresponding output bit and each xxxx.output_sink bit controls the sink attribute. The
default setting is for all source mode (xxxx.output_source = 65535 or 0xFFFF, xxxx.output_sink
= 0 or 0x0000) which means a 7I76EU, 7I76U or 7I84U behave like a 7I76E,7I76 or 7I84.

So for example:

xxxx.output_sink = 0 = 0x0000
xxxx.output_source = 65535 =0xFFFF
 = normal all sourcing mode (like 7I76E, 7I76,7I84, this is the default)

xxxx.output_sink = 65536 =0xFFFF
xxxx.output_source = 0 = 0x0000
 =  all sinking mode  (like 7I76ED,7I76D,7I84D)

xxxx.output_sink = 65280 =0xFF00
xxxx.output_source = 255 = 0x00FF
= outputs 0..7 are sourcing mode, outputs 8..15 are sinking mode

xxxx.output_sink = 65535 =0xFFFF
xxxx.output_source = 65535 = 0xFFFF
= all outputs are in push-pull mode

Note that each of the 16 output bits can be individually setup for
sourcing, sinking, or push-pull mode.

The 7I76EU and 7I76U also have a spinmode parameter to set the spindle output
bit mode when this is 0 (default) the isolated spindle output bits are ENA and DIR as before.
If the spindle mode bit is set to 1 , the isolated spindle output bits now function
as FWD and REV.


 

Please Log in to join the conversation.

More
1 year 8 months ago #322271 by JT
Replied by JT on topic Mesa Configuration Tool
This is cool, I have Mesa CT making a working configuration for the 7i76EU now. Just need to add the spindle types.

Attachment not found



Thanks PCW
JT

Please Log in to join the conversation.

More
1 year 8 months ago #322286 by PCW
Replied by PCW on topic Mesa Configuration Tool
Looks great!

Please Log in to join the conversation.

More
1 year 4 months ago #330987 by SebastianM
Replied by SebastianM on topic Mesa Configuration Tool
good afternoon!
today I played around with MesaCT for the first time, and I saw that the generated configuration (for my 7i76eu) has a different naming / nomenclature for my outputs than pncconf...

pncconf outputs lines like this:
net dust-removal-out motion.digital-out-03 => hm2_7i76e.0.7i76.0.0.output-03

while mesact creates these lines:
net flood-output iocontrol.0.coolant-flood => hm2_7i76e.0.gpio.031.out

where does this "gpio" come from? is this redundant or did I do something wrong in the tool?

regards!

Please Log in to join the conversation.

More
1 year 4 months ago #330997 by JT
Replied by JT on topic Mesa Configuration Tool
That's a bug with the 7i76eu I/O section. I'll fix that.

JT

Please Log in to join the conversation.

More
1 year 4 months ago #331006 by SebastianM
Replied by SebastianM on topic Mesa Configuration Tool
Thx JT for the quick reply!

Please Log in to join the conversation.

More
1 year 4 months ago #331008 by SebastianM
Replied by SebastianM on topic Mesa Configuration Tool
Another remark.. not sure if that me misunderstanding anything or if its another bug, but witih MesaCT I generated a config to set my outputs 0-7 to sinking and 8-15 to sourcing.
This were the generated lines:
setp hm2_7i76e.0.7i76.0.0.output_sink 0xff00
setp hm2_7i76e.0.7i76.0.0.output_source 0xff

isnt this "the wrong order"? imho this sets 0-7 to source and 8-15 to sink.. right?

Please Log in to join the conversation.

More
1 year 4 months ago #331010 by JT
Replied by JT on topic Mesa Configuration Tool
I was generating the bit string backwards which only worked right if all output types were the same. I just fixed that with PCW's help. The inputs and outputs hal has just been fixed as well.

JT

Please Log in to join the conversation.

Time to create page: 0.131 seconds
Powered by Kunena Forum