On 15 November 2010 23:24, Matt Shaver <[email protected]> wrote:

> Page 2 of 3 shows the 7i47 RS-422 interface, currently unused pins of
> which are connected to the 8i20's serial port (in drawing 000006B).

The 7i47 might or might not be right for this job. I get lost in a
maze of product codes all alike.

> A. Do I need a new version of the 5i20 firmware? In this case I'm using
> SVST2_4_7I47.BIT.

You do. Mesa might have a version that they are happy to release for
public consumption, but I think that it is still being tested.

> B. The example in the man page shows the configuration parameter
> "conf_sserial" being used to assign pins to serial port functions. If
> (as shown in the 000006B drawing) I want to send data to the 8i20 on
> 5i20 bit 21, and receive 8i20 data on 5i20 bit 14, what is the correct
> value for "conf_sserial"?

SSerial seems to be a 3-wire protocol. The firmware files I have been
experimenting with give this sort of pinout:
[18939.783387] hm2/hm2_5i23.0:     IO Pin 048 (P4-01): Smart Serial
Interface #0, pin RxData0 (Input)
[18939.783394] hm2/hm2_5i23.0:     IO Pin 049 (P4-03): IOPort
[18939.783401] hm2/hm2_5i23.0:     IO Pin 050 (P4-05): IOPort
[18939.783407] hm2/hm2_5i23.0:     IO Pin 051 (P4-07): IOPort
[18939.783415] hm2/hm2_5i23.0:     IO Pin 052 (P4-09): Smart Serial
Interface #0, pin TxData0 (Output)
[18939.783424] hm2/hm2_5i23.0:     IO Pin 053 (P4-11): Smart Serial
Interface #0, pin TxEn0   (Output)

As is fairly typical with the Hostmot2 firmware, the pins are in fixed
positions and can only be used for their intended purpose, or not.
Firmwares can be built with the pins in different places, but that is
a change at firmware compile time.

Does the motor you want to drive have an encoder or hall sensors or both?

-- 
atp

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to