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

Page 28: Twin cat

Advertising
background image

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

28

TWIN

CAT

Led

Sets / returns the status of LED on control panel connected tp CP9030.

HRESULT Led(

[in] short nIndex,

[out, retval] VARIANT_BOOL* pVal

);

HRESULT Led(

[in] short nIndex,

[in] VARIANT_BOOL pVal

);

Parameters

nIndex

Number of LED (1..27)

pVal

TRUE or FALSE

Sample VB-Syntax

Dim bLed07 as Boolean

CP9030W9x1.Led(7) = True
bLed07 = CP9030W9x1.Led(7)

Advertising