O_C
ASCII - Command | O_C |
|
| |
Syntax Transmit | O_C [Data] |
| ||
Syntax Receive | O_C <Data> | Available in |
| |
Type | Variable rw | MMI | Yes | |
ASCII Format | Integer16 | CANBus Object Number | 35B9 (hex) | |
DIM | - | PROFIBUS PNU | 1785 (dec) IND = 0000xxxx (bin) | |
Range | int | DPR | 185 (dec) | |
Default | - |
| ||
Opmode | All | Data Type Bus/DPR | Integer16 | |
Drive State | - | Weightning |
| |
Start Firmware | 1.20 |
| ||
Configuration | No | Revision | 1.3 | |
Function Group | Position Controler | EEPROM | No | |
Short Description | Control Variable for Motion Task 0 |
Description
The O_C command defines the type of motion task for the local motion task 0 (direct motion task).
A bit-variable (16 bits) is transferred as the parameter. The individual bits of this variable are interpreted as follows:
Bit | Significance | Meaning |
---|---|---|
0 | 0x0001 | Bit for the type of motion task (relative or absolute) (see table 2) |
1 | 0x0002 | Bit for the type of the relative motion task (see table 2) |
2 | 0x0004 | Bit for the type of the relative motion task (see table 2) |
3 | 0x0008 | =0 no next motion task, at the end of the motion task, the drive stops. |
4 | 0x0010 | Bit for the type of next motion task (see table 3) |
5 | 0x0020 | Bit for the type of next motion task (see table 3) |
6 | 0x0040 | Bit for the type of next motion task (see table 3) |
7 | 0x0080 | Bit for the type of next motion task (see table 3) |
8 | 0x0100 | Bit for the type of next motion task (see table 3) |
9 | 0x0200 | =0 The motion task is executed via the internal trajectory generator. |
10 | 0x0400 | =0 The profile is executed in the given direction. |
11 | 0x0800 | reserved |
12 | 0x1000 | =0 the acc and dec of the motion tasks is given in msek from "0" to the target speed. |
13 | 0x2000 | =0 The target position and target speed of the motion task is interpreted as counts (there is no calculation needed). |
14 | 0x4000 | =0 The speed that is given in the motion task is the target speed. |
15 | 0x8000 | Bit 3 of the type of the relative motion task (see separate table) |
Type of relative/absolute Motion Task
Bit 15/2/1/0 | Meaning |
---|---|
xxx0 | Absolute Motion Task, the position value in the motion task is the new target position |
x001 | Relative Motion Task, the position value in the motion task is added to the old target position. |
x011 | Relative Motion Task, the position value in the motion task is added to the old target position. |
x101 | Relative Motion Task, the position value in the motion task is added to the old target position. |
0111 | Relative Motion Task, the position value in the motion task is added to the old target position. |
1111 | Relative Motion Task, the position value in the motion task is added to the old target position. |
|
|
Type of Next motion task
Bit 8/7/6/5/4 | Meaning |
---|---|
00000 | Switch over to next motion task with stop. The drive stops at the target position of the actual motion task. Then it starts the next motion task in the sequence. |
00001 | Switch over to next motion task without stop. The drive moves to the target position with target speed of the actual motion task. Then it starts the next motion task in the sequence. |
10001 | Switch over to next motion task without stop. The drive calculates the brake point, that the speed of the motor at target position becomes the speedof the next motion task in the sequence. |
00010 | Switch over to next motion task with stop. The drive stops at the target position of the actual motion task. The next motion task in the sequence is started, if the digital input selected by INxMODE=15 is switched to low. |
00110 | Switch over to next motion task with stop. The drive stops at the target position of the actual motion task. The next motion task in the sequence is started, if the digital input selected by INxMODE=15 is switched to high. |
01000 | Switch over to next motion task with stop. The drive stops at the target position of the actual motion task. The next motion task in the sequence is started after the selected delay time defined by O_FT). |
01010 | Switch over to next motion task with stop. The drive stops at the target position of the actual motion task. The next motion task in the sequence is started after the selected delay time defined by O_FT) or if the digital input selected by INxMODE=15 is set to low. |
01110 | Switch over to next motion task with stop. The drive stops at the target position of the actual motion task. The next motion task in the sequence is started after the selected delay time defined by O_FT) or if the digital input selected by INxMODE=15 is set to high. |