|
- Parameters:
-
[in] | ulMFModuleIndex | : Index of the multifunction sub module (0 to 3).
|
[in] | ulPWM | : Selected PWM 0 or 1 |
[in] | ulTimeBase | : PWM time base selection
- 0: 250ns (4MHz)
- 1: micro s (1MHz)
- 2: ms (1kHz)
- 3: s (Hz)
- 4: Diff input C for PWM0 and D for PWM1
- 5: Trigger input (24V)
- 6: Synchro trigger
|
[in] | ulLowTime | : PWM low time reload value (1 to 16777215)
If the extern clock is used this define the number of clocks for the low level.
If the internal time base is used this define the low level time : Low time = ulTimeBase * ulLowTime. |
[in] | ulHighTime | : PWM high time reload value (1 to 16777215)
If the extern clock is used this define the number of clocks for the high level.
If the internal time base is used this define the high level time : High time = ulTimeBase * ulHighTime. |
[in] | ulOption01 | : Reserved. Set to 0 |
[in] | ulOption02 | : Reserved. Set to 0 |
[out] | Response | :
iReturnValue :
- 0: means the remote function performed OK
- -1: means an system error occured
- -2: Sub module selection wrong
- -3: Sub module is not a PWM
- -4: PWM selection wrong
- -5: Time base selection wrong
- -6: Low time selection wrong
- -7: High time selection wrong
- -8: Can not change the current time base
- -9: PWM not initialised
- -10: PWM not enabled
- -100: Set new PWM timing kernel function error
syserrno : system-error code (the value of the libc "errno" code) |
- Returns:
- 0: SOAP_OK
- <> 0: See SOAP error
|