@@ -10,14 +10,14 @@ CiA 402 CANopen device profile for motion controllers and drives
1010
1111This device profile has a control state machine for controlling the behaviour
1212of the drive. Therefore one needs to instantiate a node with the
13- :class: `Node402 ` class
13+ :class: `BaseNode402 ` class
1414
15- Create a node with Node402 ::
15+ Create a node with BaseNode402 ::
1616
1717 import canopen
18- from canopen.profiles.p402 import Node402
18+ from canopen.profiles.p402 import BaseNode402
1919
20- some_node = Node402 (3, 'someprofile.eds')
20+ some_node = BaseNode402 (3, 'someprofile.eds')
2121 network = canopen.Network()
2222 network.add_node(some_node)
2323
@@ -35,7 +35,7 @@ The current status can be read from the device by reading the register
3535Changes in state can only be done in the 'OPERATIONAL' state of the NmtMaster
3636
3737TPDO1 needs to be set up correctly. For this, run the the
38- `Node402 .setup_402_state_machine() ` method. Note that this setup
38+ `BaseNode402 .setup_402_state_machine() ` method. Note that this setup
3939routine will change only TPDO1 and automatically go to the 'OPERATIONAL' state
4040of the NmtMaster::
4141
@@ -55,10 +55,10 @@ by the Controlword, for example a 'FAULT' state.
5555Therefore the :class: `PowerStateMachine ` class (in similarity to the :class: `NmtMaster `
5656class) automatically monitors state changes of the Statusword which is sent
5757by TPDO1. The available callback on thet TPDO1 will then extract the
58- information and mirror the state change in the :attr: `Node402 .powerstate_402 `
58+ information and mirror the state change in the :attr: `BaseNode402 .powerstate_402 `
5959attribute.
6060
61- Similar to the :class: `NmtMaster ` class, the states of the :class: `Node402 `
61+ Similar to the :class: `NmtMaster ` class, the states of the :class: `BaseNode402 `
6262class :attr: `._state ` attribute can be read and set (command) by a string::
6363
6464 # command a state (an SDO message will be called)
0 commit comments