CP9090-S100: Properties

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 wordlength 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