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
SysPortOut
RTS_IEC_RESULT
Input
ulAddress
UDINT
<param name=”ulAddress” type=”IN”>Port address</param>
byVal
BYTE
<param name=”byVal” type=”IN”>Value to be written to the port.</param>