:
ulInitialised : Return the initialisation flag
- 0: PWN not initialised
- 1: PWM initialised
ulEnabled : Return the enabled status
- 0: PWM disabled
- 1: PWN enabled
ulProgress : Return the progress status
- 0: PWM not in progress
- 1: PWM in progress
ulOutput : Return the PWM output signal state
- 0: PWM output is low
- 1: PWM output is high
ulDiffInput : Return the diff input state
- 0: The diff input C (for PWM0) or F (for PWM1) is low
- 1: The diff input C (for PWM0) or F (for PWM1) is high
ulTriggerInput : Return the extern trigger state
- 0: The trigger input (24V) is low
- 1: The trigger input (24V) is high
ulCounter :
- Return the number of completed PWM periods
ulInfo01 :
ulInfo02 :
sResponse.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
- -100: Get PWM state kernel function error
sResponse.syserrno : system-error code (the value of the libc "errno" code) |