SysPortOutW (FUN)
FUNCTION SysPortOutW : RTS_IEC_RESULT
<description>This function writes the specified WORD-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
SysPortOutWRTS_IEC_RESULTInput
ulAddressUDINT<param name=”ulAddress” type=”IN”>Port address</param>
usValWORD<param name=”usVal” type=”IN”>Value to be written to the port.</param>