TestMasterMicroMod

**************************************************************

*


















&sstarf#star;

*




























&sstarf#star;

* simple example for PC.















&sstarf#star;

* CanOpen master that control a MicroMod module:



&sstarf#star;

* #417#>- setup module TPDO 1 transmit type










*

* #418#>- setup module RPDO 1 transmit type










*

* #419#>- setup module hearbeatbeat period










&sstarf#star;

* #420#>- disable others TPDOs
















&sstarf#star;

* #421#>- set state to operational














&sstarf#star;

* #422#>- send periodic SYNC

















&sstarf#star;

* #423#>- send periodic RPDO 1 to Micromod (digital output)


*

* #424#>- listen Micromods TPDO 1 (digital input)






&sstarf#star;

* #426#>- Mapping RPDO 1 bit per bit (digital input)





&sstarf#star;

*




























&sstarf#star;

*
Usage:
























*

*
./TestMasterMicroMod OPTIONS]











&sstarf#star;

*




























&sstarf#star;

*
OPTIONS:























*

*

-l : Can library [libcanfestival_can_virtual.so]

*

*




























&sstarf#star;

*
:























&sstarf#star;

*

-i : Slave Node id format [0x01 , 0x7F]






&sstarf#star;

*




























&sstarf#star;

*
:























*

*

-m : bus name [1]
















&sstarf#star;

*

-M : 1M,500K,250K,125K,100K,50K,20K,10K






&sstarf#star;

*




























&sstarf#star;

**************************************************************

epimerde 2007-06-08