IL•1F CANopen DS301 | 6 Operation |
0198441113586, V2.01, 11.2008
6.4.2Operating mode Profile Position: relative positioning
Relative positioning is similar to absolute positioning. You only need to enter the value 13h (operating mode Profile Positioning, relative posi- tioning) in field modeCtrl. Also note that several target positions trans- mitted in succession are added up.
Example: Relative positioning by 100,000 (000186A0h) increments at a speed of 1000
During the movement, the speed is to be changed to 2000
|
| Master < |
|
|
| |
Triggering positioning | R_PDO4 | drivectrl | modeCtrl | Ref16 | Ref32 | |
|
|
| 02h | 93h | 03E8h | 000186A0h |
Positioning runningx_err = 0, | T_PDO4 | driveStat | modeStat |
| p_act | |
x_end = 0 |
|
| 0006h | 83h |
| XXXXXXXXh |
Change reference speed Trans- | R_PDO4 | drivectrl | modeCtrl | Ref16 | Ref32 | |
mit relative postion "0" |
|
| 02h | 13h | 07D0h | 00000000h |
Positioning runningx_err = 0, | T_PDO4 | driveStat | modeStat |
| p_act | |
x_end = 0 |
|
| 0006h | 03h |
| XXXXXXXXh |
Positioning completex_err = 0, | T_PDO4 | driveStat | modeStat |
| p_act | |
x_end = 1, x_info = 1 |
|
| 6006h | 03h |
| 000186A0h |
Table 6.6 Profile Position operating mode, relative positioning with change of reference speed
Note: The data frame "positioning" running can be sent several times; the current actual position is contained in the field p_act. When the ref- erence speed is changed, the value "0" must be sent as the new target position because the new value is added to the previously calculated tar- get position.
6.4.3Operating mode Profile Velocity
In Profile Velocity operating mode, a reference speed for the motor is set and a movement without a target position is started.
To start the Profile Velocity operating mode or to change the reference speed in Profile Velocity operating mode, you must make the following settings in R_PDO4:
Enter the reference speed in Ref16t. (Ref32 has no significance here)
Enter the operating mode 04h (operating mode Profile Velocity) in modeCtrl.
Toggle modeCtrl, bit 7, so the data is taken over by the slave.
Fieldbus interface | 69 |