SysPortOut (FUN)
FUNCTION SysPortOut : RTS_IEC_RESULT
<description>This function writes the specified BYTE-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
SysPortOutRTS_IEC_RESULTInput
ulAddressUDINT<param name=”ulAddress” type=”IN”>Port address</param>
byValBYTE<param name=”byVal” type=”IN”>Value to be written to the port.</param>