PlcShellRegister (FUN)
FUNCTION PlcShellRegister : RTS_IEC_RESULT
Register a new Command Handler
The command is sent TO the handler as an event OF the EventMgr. So the CommandHandler needs to implement the Interface ICmpEventCallback.
Note: For the ease of use, you can also derive your Command Handler from the FB “CommandHandler” in this library. This helps you in the registration and deregistration of the handler. RETURN: Returns the runtime system error code (see CmpErrors.library)
- InOut:
Scope
Name
Type
Return
PlcShellRegisterRTS_IEC_RESULTInput
pszNameREFERENCE TO STRING
pszHelpREFERENCE TO STRING
pICallbackICmpEventCallback