Download CANopen Communication Protocol

Transcript
5
Objects Dictionary: DSP402
5.2.1
Controlword and Statusword in 'Profile Position Mode'
In "profile position mode" it is possible to perform positioned movements at the speed required.
Positions can be absolute or relative with respect to the current position. Furthermore, it is also
possible to select whether the motor is to perform the new movement sent immediately, or only at
the end of any other movement in progress. If after startup the Smart Motor has never been reset,
the positioned movements in Profile Position Mode are not allowed. In this mode the controlword
bits involved are 4, 5, 6 and 8:
Name
Bit
Val
4
New Set-Point
Change Set
Immediately
5
abs / rel
6
Halt
8
Description
Notes
0
Does not use the
Target Position.
1
Activates the Target
Position.
In Operation Enabled state a
positioning operation is made active
(value 0→1 or value 1 in input to the
Operation Enabled state). The drive
acknowledges that the movement
command has been received by
raising the Setpoint Acknowledged bit
in the Statusword (object 6041h:
Statusword bit 12).
0
Terminates the current
positioning and then
starts the next one.
1
Interrupts the current
positioning and starts
the new one.
0
The Target Position is
an absolute value.
1
The Target Position is
a relative value.
0
Performs positioning
1
Stops the motor using
a deceleration ramp
If this is set to 1 it allows on-the-spot
changing of both the end position and
the movement speed.
If it is set to 1, the end position of the
movement will be the same as the last
Target Position plus the current Target
Position. On the other hand, if the
Change Set Immediately bit is active,
the end position will be the Position
Actual Value plus the Target Position.
A value of 1 allows movement of the
drive to be interrupted during the
current operation.
The Statusword bits involved are 4, 5, 6 and 8:
Name
Bit
Val
Target
Reached
10
60
Description
Notes
0
If Halt =0 the Target
Position has not been
reached
If Halt =1 the motor is
performing the
deceleration ramp to slow
down and stop.
1
If Halt=0 the Target
Position has been reached
If Halt=1 the motor has
stopped.
Indicates that the drive has
performed a positioning instruction
successfully and has reached the
Target Position Data; see Object
607Ah: Target Position, Object
6068h: Position Window Time and
Object 6064h: Position Actual Value.
It will be set even when the drive
stops after a stop command.
CNI Engineering
DSP402-en.fm (14-05-07)