Teresa Noviello wrote:
> On 10/26/06, Jan Kiszka <[EMAIL PROTECTED]> wrote:
>>
>> Teresa Noviello wrote:
>> > I have set this tdma.conf:
>> >
>> > ----tdma.conf ----
>> > # Primary master
>> >
>> > master:
>> > ip 10.0.0.4
>> > cycle 1000
>> > slot 0 0
>> > slot 0 800
>> >
>> >
>> > # Backup master
>> > #  Cycle is defined by the primary master
>> >
>> > backup-master:
>> > ip 10.0.0.5
>> > backup-offset 200
>> > slot 0 400 1/4
>> >
>> > # Slave A
>> > #  IP is assigned to the slave via its known MAC address
>> >
>> > slave:
>> > ip 10.0.0.5
>>
>> If you want that slave to be backup master, push the setup below to the
>> backup-master section and kill the slave entry. Otherwise choose a
>> different IP here (IPs must be unique in a network - not only under
>> RTnet ;) ).
>>
>> > mac 00:13:8F:79:E7:5B
>> > slot 0 500
>> > slot 1 400 1/4
>> >
>> > ----
>>
>> Jan
>>
>>
> I do want that slave - slave A, 10.0.0.5 - to be a backup master. Pleasy
> verify i have correctly understood your istructions... My tdma must be:
> 
> # Primary master
> 
> master:
> ip 10.0.0.4
> cycle 1000
> slot 0 0
> slot 0 800
> 
> 
> # Backup master
> #  Cycle is defined by the primary master
> 
> backup-master:
> ip 10.0.0.5
> backup-offset 200
> #slave A conf
> slot 0 400 1/4
> slot 0 500
> slot 1 400 1/4

Basically ok, except that
 - slot IDs must also be unique per-node (that's the first number after
   "slot")
 - slot 1 collides with slot 0 in your setup, use a different phase
   (e.g. 2/4)

> -------------
> 
> ?
> 
> Tery
> 
> P.S. Yes i know about IP in a network... :P

Than I should assume the tdma configuration is not yet really intuitive. :)

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to