PlcShellAppend (FUN)

FUNCTION PlcShellAppend : RTS_IEC_RESULT

Append a line to the command output

The passed parameter iBlockID, has TO be the BlockID, which was passed to the command handler! The communication layer automatically manages the split of blocks. If you want to avoid this and write only the current block that is sent to CoDeSys, use the function PlcShellSkip(). RETURN: Returns the runtime system error code (see CmpErrors.library)

InOut:

Scope

Name

Type

Return

PlcShellAppend

RTS_IEC_RESULT

Input

pszString

REFERENCE TO STRING

iBlockID

DINT