Special drive modes (clock-direction and analog speed)
You can also determine the control mode – open loop or closed loop.
Digital input 1 serves here as an enable (see Connector X3 - inputs/outputs and external logic supply).
Activation
The special drive modes are activated on delivery. You can deactivate them by setting 4015h:01h in the configuration file to the value "0" . To do this, you must insert this line:
4015:01=0
To select the mode, you must set the hex coding switch to a value between "00"h and "0F"h.
On delivery, the switch is set to "1".
The following table lists all possible modes and the value of the switch:
Value | Mode | |||
---|---|---|---|---|
00h | Clock-direction | - | - | Open Loop |
01h | Clock-direction | - | - | Open Loop |
02h | Clock-direction (test run) | Test run with 30 rpm | Clockwise direction of rotation | Open Loop |
03h | Clock-direction (test run) | Test run with 30 rpm | Counterclockwise direction of rotation | Open Loop |
04h | Analog speed | Direction via "Direction" input | Maximum speed 1000 rpm | Open Loop |
05h | Analog speed | Direction via "Direction" input | Maximum speed 100 rpm | Open Loop |
06h | Analog speed | Offset 5 V (joystick mode) | Maximum speed 1000 rpm | Open Loop |
07h | Analog speed | Offset 5 V (joystick mode) | Maximum speed 100 rpm | Open Loop |
08h | Clock-direction | - | - | Closed Loop |
09h | Clock-direction | - | - | Closed Loop |
0Ah | Clock-direction (test run) | Test run with 30 rpm | Clockwise direction of rotation | Closed Loop |
0Bh | Clock-direction (test run) | Test run with 30 rpm | Counterclockwise direction of rotation | Closed Loop |
0Ch | Analog speed | Direction via "Direction" input | Maximum speed 1000 rpm | Closed Loop |
0Dh | Analog speed | Direction via "Direction" input | Maximum speed 100 rpm | Closed Loop |
0Eh | Analog speed | Offset 5 V (joystick mode) | Maximum speed 1000 rpm | Closed Loop |
0Fh | Analog speed | Offset 5 V (joystick mode) | Maximum speed 100 rpm | Closed Loop |
Clock-direction
The controller internally sets the operating mode to clock-direction. You must connect the enable, clock and direction inputs (see chapter Connector X3 - inputs/outputs and external logic supply).
Analog speed
The controller internally sets the operating mode to Velocity. To preset the speed, the voltage on the analog input is used and the corresponding target speed is written in 6042h.
Maximum speed
The maximum speed can be changed between 100 rpm and 1000 rpm. If a different speed is necessary, it can be set using the scaling factor (object 604Ch subindices 01h and 02h).
Computation of the analog voltage
There are two modes for calculating the analog input voltage.
- Normal mode
- You must connect the enable, direction
and analog inputs (see chapter Connector X3 - inputs/outputs and external logic supply). The maximum analog voltage
corresponds to the maximum speed. The direction is preset here
via the direction input. There is a dead zone from 0 V to 20 mV
in which the motor does not move.
- Joystick mode
- You must connect the enable input and the
analog input (see chapter Connector X3 - inputs/outputs and external logic supply). Half of the maximum analog
voltage corresponds to the speed 0. If the voltage drops below
half, the speed increases in the negative direction. If the
speed rises above half, the speed increases likewise in the
positive direction. The dead zone here extends from
Umax/2 ± 20 mV.
Test run with 30 rpm
The motor rotates at 30 rpm if the enable input is set.