Parameters, Example in vb syntax, Upsdelay – BECKHOFF CP9090-S100 User Manual
Page 34: Twin cat
Advertising
Eiserstraße 5 / D-33415 Verl / Telefon 05246/963-0 / Telefax 05246/963-149
34
TWIN
CAT
UpsDelay
Sets / returns the time for the delay before the UPS switches off.
HRESULT UpsDelay(
[out, retval] CP_UPSDELAY* pVal
);
HRESULT UpsDelay(
[in] CP_UPSDELAY pVal
);
Parameters
pVal
Index with the delay time for the UPS to switch off.
Index
Delay in seconds
0 0
1 2
2 5
3 10
4 15
5 25
6 40
7 60
8 90
9 120
10 150
11 180
12 210
13 240
14 270
15 300
Example in VB syntax
Dim lUpsDelay as CP_UPSDELAY
CP9030W9x1.UpsDelay = CPUpsDelay_10
lUpsDelay = CP9030W9x1.UpsDelay
Advertising