etisserant@0: Generator of Canopen SYNC message (cobid = 0x80) etisserant@0: --------------------------------------------- etisserant@0: francis.dupin@inrets.fr etisserant@0: 27 Janv 2005 etisserant@0: etisserant@0: Node for Microcontroler MC9S12DP256 etisserant@0: on board T-board (http://www.elektronikladen.de etisserant@0: etisserant@0: ============= etisserant@0: Node N° 0x03 etisserant@0: ============= etisserant@0: etisserant@0: This node generate only the SYNC signal. etisserant@0: (cob-id : 0x80) etisserant@0: etisserant@0: To test this node etisserant@0: ----------------- etisserant@0: Reset it : etisserant@0: It is sending : etisserant@0: cobid : 0x703 etisserant@0: data : 00 etisserant@0: etisserant@0: 1 - Wants to generate SYNC every 10 milliseconds etisserant@0: etisserant@0: 1a - put the value (4 bytes) : 0x00002710 in its dictionary etisserant@0: index 0x1006, subindex 0x00 : etisserant@0: etisserant@0: CAN message (SDO) : etisserant@0: cobid : 0x603 etisserant@0: data : 23 06 10 00 10 27 00 00 etisserant@0: (put 23 to transmit a data of 4 bytes etisserant@0: 27 3 bytes etisserant@0: 2B 2 bytes etisserant@0: 2F 1 byte etisserant@0: ) etisserant@0: etisserant@0: The node is responding : etisserant@0: cobid : 0x583 etisserant@0: data : 60 06 10 00 00 00 00 00 etisserant@0: etisserant@0: 1b - put the value (4 bytes) : 0x40000080 at index 0x1005, subindex 0x00 etisserant@0: to start the SYNC : etisserant@0: cobid : 0x603 etisserant@0: data : 23 05 10 00 80 00 00 40 etisserant@0: etisserant@0: The node is responding : etisserant@0: cobid : 0x583 etisserant@0: data : 60 05 10 00 00 00 00 00 etisserant@0: etisserant@0: 2 - Put the node in operational mode etisserant@0: CAN message (NMT) : etisserant@0: cobid : 0x00 etisserant@0: data : 01 03 etisserant@0: etisserant@0: The node is sending the SYNC every 10 ms etisserant@0: etisserant@0: etisserant@0: Nota etisserant@0: ----- etisserant@0: To stop the SYNC : 2 methods etisserant@0: etisserant@0: 1 - put 0x00000000 at index 1006 subindex 0 etisserant@0: 2 - put 0x00000080 at index 1005 subindex 0 etisserant@0: etisserant@0: etisserant@0: etisserant@0: etisserant@0: