![SEW-Eurodrive IPOS plus Скачать руководство пользователя страница 238](http://html1.mh-extra.com/html/sew-eurodrive/ipos-plus/ipos-plus_manual_1250042238.webp)
238
Manual – IPOSplus®
17
Standard functions
Compiler – Functions
The following standard SEW structures are available for the _SetSys statement:
Example
main()
{
// Set the speed control operating mode
H0 = 11;
_SetSys( SS_OPMODE,H0 );
}
17.3.23 _SetTask
Syntax
_SetTask ( control word, function name )
Description
This function is used to determine a user-defined function as a task and to start or stop
this task. The name of the function and the control word are given as arguments.
Argument
control word
Constant expression that can adopt one of the following values:
function name
Name of the task function.
Instruction type
Standard structure
Elements
Brief description
_SetSys
SSPOSRAMP
Up
Acceleration positioning ramp (ms)
Down
Deceleration positioning ramp (ms)
SSPOSSPEED
CW
Positioning speed CW (0.1 rpm)
CCW
Positioning speed CCW (0.1 rpm)
SSPIDATA3
1)
Len
Number of the process input data to be transmitted
PI1
Process input data 1
PI2
Process input data 2
PI3
Process input data 3
SSPIDATA10
Len
Number of the process input data to be transmitted
PI1
Process input data 1
PI2
Process input data 2
PI3
Process input data 3
PI4
Process input data 4
PI5
Process input data 5
PI6
Process input data 6
PI7
Process input data 7
PI8
Process input data 8
PI9
Process input data 9
PI10
Process input data 10
1) Applies if parameter P101 is set to "RS485", "Fieldbus" or "SBus".
MOVIDRIVE
®
B
ST2_STOP: Stop task 2
ST2_START: Start task 2
ST3_STOP: Stop task 3
ST3_START: Start task 3
MOVIDRIVE
®
A
T2_START: Start task 2
T2_STOP: Stop task 2
P
i
f
kVA
Hz
n
P
i
f
kVA
Hz
n