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

Page 17: Cycleinterval, Twin cat

Advertising
background image

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

17

TWIN

CAT

CycleInterval

Sets / returns the length of cycle interval for checking the status of e.g. SKeys.

HRESULT CycleInterval(

[out, retval] short* pVal

);

HRESULT CycleInterval(

[in] short pVal

);

Parameters

pVal

Length of interval in ms

Comment

Activate the cycle interval with property "CycleEnabled".

Sample VB-Syntax

Dim iCycleInterval as Integer

CP9030W9x1.CycleInterval = 500
CP9030W9x1.CycleEnabled = TRUE

iCycleInterval = CP9030W9x1.CycleInterval

Advertising