CP9090-S100: Methods

AutoCfgPDOutWLen

The method permits the length of the process output image of the CP9030 to be set automatically.

HRESULT AutoCfgPDOutWLen(
        [out, retval] VARIANT_BOOL* pVal
);

 

Parameters

pVal
TRUE if successful, otherwise FALSE

 

Remark

If the property "PDLenErr" displays an error condition of the CP9030, it is necessary to enter the actual word length of the process output image via the property "PDOutWLen". By calling the method "AutoCfgPDOutWLen", the word length of the process output image is automatically configured and set. If the property "PDOutWLen" is set manually, it is necessary subsequently to perform a "Reset" of the CP9030 firmware. Calling the "Reset" method will initiate a restart of the CP9030 firmware, and the new configuration will be adopted.

 

The AutoCfgPDOutWLen method autonomously determines the length of the process output image by executing the following cycle of actions

 

Example in VB syntax

Dim bResult as Boolean

bResult = CP9030W9x1.AutoCfgPDOutWLen