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

Page 32: Pdoutwlen, Twin cat

Advertising
background image

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

32

TWIN

CAT

PDOutWLen

Sets / returns the length of process output-image of CP9030.

HRESULT PDOutWLen(

[out, retval] short* pVal

);

HRESULT PDOutWLen(

[in] short pVal

);

Parameters

pVal

Number of words.

Comment

Property „PDLenErr" signals an error of CP9030, so you have to set property „PDOutWLen" to correct word-
length of process-output-image.
Calling he methode „Reset" will initiate a reset of CP9030-firmware.

Sample VB-Syntax

Dim iPDOutWLen as Integer

iPDOutWLen = CP9030W9x1.PDOutWLen

Advertising