Parameters, Comment, Sample vb-syntax – BECKHOFF CP9090-S100 User Manual

Page 16: Cleenabled 16, Cycleenabled, Twin cat

Advertising
background image

Eiserstraße 5 / D-33415 Verl / Telefon 05246/963-0 / Telefax 05246/963-149

16

TWIN

CAT

CycleEnabled

Sets / returns the status of cycle to check status of e.g. SKeys.

CycleEnabled(

[out, retval] VARIANT_BOOL* pVal

);

HRESULT CycleEnabled(

[in] VARIANT_BOOL pVal

);

Parameters

pVal

TRUE or FALSE

Comment

To modify the length of interval use property "CycleInterval". Default interval is 300ms.
If "CycleEnabled" is "TRUE", CP9090-S100 will cyclic check the status of e.g. SKeys.

If status changed, an event will be fired.

Sample VB-Syntax

Dim bCycleEnabled as Boolean

CP9030W9x1.CycleEnabled = TRUE

bCycleEnabled = CP9030W9x1.CycleEnabled

Advertising