RMPMessageBuffer.Unlock (METH) ¶ METHOD FINAL Unlock : BOOL Unlocks a certain message InOut: Scope Name Type Comment Return Unlock BOOL Input uiIndex UINT Index of the message to unlock in the buffer
RMPSendMessage (FB) ¶ FUNCTION_BLOCK FINAL RMPSendMessage EXTENDS CBM.ETRIG Function block that can be used to send a message from a module to another module. Use this function block for sending messages. If sending succeded xDone gets TRUE. If an error occurs during sending (i.e. receiving could not be assured) xError gets TRUE. Reset xExecute to FALSE before reusage of the function block by setting xExecute to TRUE. A possible call semantic could be: RMPSendMessage(xExecute := TRUE, itfRmp := pEnv^.rmps, udiReceiverID := udiProxyCom, uiSenderModuleID:= UDINT_TO_UINT(ComAddress AND 16#FFFF), tValidity:=T#1S, mdData := mdData ); This function block needs to be called until xDone is TRUE. If so, sending was successfull. InOut: Scope Name Type Initial Comment Inherited from Input xExecute BOOL Rising edge: Action starts Falling edge: Resets outputs If a falling edge occurs before the function block has completed its action, the outputs operate in the usual manner and are only reset if either the action is completed or in the event of an error. In this case, the corresponding output values ( xDone , xError ) are present at the outputs for exactly one cycle. ETrig Output xDone BOOL TRUE : Action successfully completed ETrig xBusy BOOL TRUE : Function block active ETrig xError BOOL TRUE : Error occurred, function block aborts action FALSE : No error ETrig Inout mdData ARRAY [0..63] OF BYTE The data to send Input itfRmp IRmpService The RMP (Reliable Message Protocoll) sevrice to use for sending. This service can be aquired via the environment available in any module via IModule (see example of the function block description). udiReceiverID UDINT 32-Bit-ID of receiver. This ID normaly is received, when receiving a message from a proxy (via Receive of IRMPService in an RMP (Reliable Message Protocoll) service uiSenderModuleID UINT The (local) 16 bit address of the receiver, which equals the first 16bit of the ComAddress (see AND 16#FFFF) tValidity TIME TIME#1s0ms The time this message is valid when sending it Output uiError UINT If an error occured, the number accounts for one of the following errors: 1: send buffer full; 2: message cannot be transmitted before tValidity (connection broken or remote receive buffer full) 3: receiver application not connected to this app
Toplevel_Vertical_Template ¶ IP_Toplevel_Template (ImagePool)
IP_Toplevel_Template (Image Pool) ¶ ID File name Image Link type CoDeSysLogo Logo_CoDeSys_08_h_Skala.gif Embedded ArrowLeft arrow_left.png Embedded ArrowRight arrow_right.png Embedded ArrowUp arrow_up.png Embedded
GlobalTextList (Text List) ¶
Library Information ¶ GetLibVersion (Function) GetLibVersionNumber (Function) IsLibReleased (Function)
GetLibVersion (FUN) ¶ FUNCTION GetLibVersion : VERSION This function has been automatically generated from the project information. InOut: Scope Name Type Return GetLibVersion VERSION
GetLibVersionNumber (FUN) ¶ FUNCTION GetLibVersionNumber : DWORD This function has been automatically generated from the project information. InOut: Scope Name Type Return GetLibVersionNumber DWORD
IsLibReleased (FUN) ¶ FUNCTION IsLibReleased : BOOL This function has been automatically generated from the project information. InOut: Scope Name Type Return IsLibReleased BOOL
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 16.02.2023, 16:33:30 companyName string 3S-Smart Software Solutions GmbH libraryFile AC_ModuleBase.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile AC_ModuleBase.clean.json version version 2.0.0.0 ProjectInformation Released bool True LastModificationDateTime date 16.02.2023, 16:33:29 LibraryCategories library-category-list Application|Composer Author string 3S - Smart Software Solutions GmbH Company 3S - Smart Software Solutions GmbH CompiledLibraryCompatibilityVersion CODESYS V3.5 SP16 DefaultNamespace AC Description See: Description DocFormat reStructuredText LanguageModelAttribute qualified-access-only Placeholder AC_ModuleBase Project AC_ModuleBase Title AC_ModuleBase Version version 4.2.0.0