SysPortOutD (FUN)

FUNCTION SysPortOutD : RTS_IEC_RESULT

<description>This function writes the specified UDINT-value on the certain port address.</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result>

InOut:

Scope

Name

Type

Comment

Return

SysPortOutD

RTS_IEC_RESULT

Input

ulAddress

UDINT

<param name=”ulAddress” type=”IN”>Port address</param>

udVal

UDINT

<param name=”udVal” type=”IN”>Value to be written to the port.</param>