IExternalUserDatabaseProvider.CheckLogin (METH) ¶ METHOD CheckLogin : VUM_ReturnValues Checks whether the user name and password is correct. If everything is correct the function returns VUM_ReturnValues.ERR_OK. see VUM_ReturnValues (ENUM) where possible error reasons are described. InOut: Scope Name Type Comment Return CheckLogin VUM_ReturnValues Input wstUserName WSTRING the user name wstPassword WSTRING the password of the user Output wstFullName WSTRING the full name of the user dwUserGroupID DWORD the group id where the user belongs to
IExternalUserDatabaseProvider.ChangeUser (METH) ¶ METHOD ChangeUser : VUM_ReturnValues Changes on a user database. The edit type can be: VUM_MODIFY, VUM_ADD, VUM_REMOVE AND VUM_INSERT If everything is correct the function returns VUM_ReturnValues.ERR_OK. see VUM_ReturnValues (ENUM) where possible error reasons are described. InOut: Scope Name Type Comment Return ChangeUser VUM_ReturnValues Input pvumUser POINTER TO VUM_User The new user data udiIndex UDINT The index of this edit operation eEditType VUM_EditType The type of this edit operation
IExternalUserDatabaseProvider.CheckLoginWithGroupID (METH) ¶ METHOD CheckLoginWithGroupID : VUM_ReturnValues This method checks whether the user is in the database, the password is correct and the user belongs to the user group. If everything is correct the function returns VUM_ReturnValues.ERR_OK. see VUM_ReturnValues (ENUM) where possible error reasons are described. InOut: Scope Name Type Comment Return CheckLoginWithGroupID VUM_ReturnValues Input wstUserName WSTRING the user name wstPassword WSTRING the password of the user dwUserGroupID DWORD the user group id to which the user must belong to Output wstFullName WSTRING the full name of the user
IExternalUserDatabaseProvider.GetUserCount (METH) ¶ METHOD GetUserCount : UDINT Returns the number of all available users. InOut: Scope Name Type Return GetUserCount UDINT
IExternalUserDatabaseProvider.GetUsers (METH) ¶ METHOD GetUsers : VUM_ReturnValues Returns the users in a specified range If everything is correct the function returns VUM_ReturnValues.ERR_OK. see VUM_ReturnValues (ENUM) where possible error reasons are described. InOut: Scope Name Type Comment Return GetUsers VUM_ReturnValues Input udiStartIndex UDINT The start index in a list of users udiEndIndex UDINT The end index in a list of users pArr POINTER TO ARRAY [0..0] OF VUM_User The user data which should be filled udiArrSize UDINT The size of the given user array
Cyclic Methods (state independent) ¶ Methods called every cycle independent of state.
Initialization ¶ Methods for Initalization
State Machine ¶ Methods implementing the state machine. State Transitions States CheckConfiguration CheckConfiguration and Stopped Operational
CANopenManagerSIL2 (FB) ¶ FUNCTION_BLOCK CANopenManagerSIL2 EXTENDS CSB.CANopenSafetyBase This function block implements a CANopen Safety SIL2 I/O driver. The safe I/O driver is realized through a black channel approach. The safe driver sits on top of an unsafe CANopen Stack. Communication is realized over a shared memory. The manager function block manages all instances of CANRemoteDeviceSafe.
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 11.12.2018, 09:18:32 companyName string 3S-Smart Software Solutions GmbH libraryFile _3SCANopenSafety.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP14 contentFile _3SCANopenSafety.clean.json version version 2.0.0.0 ProjectInformation IsEndUserLibrary bool False Released True SIL2 True LastModificationDateTime date 11.12.2018, 09:18:30 LibraryCategories library-category-list Intern|CANbus; Docs|Fieldbus|CAN Author string 3S - Smart Software Solutions GmbH Company 3S - Smart Software Solutions GmbH DefaultNamespace _3SCOSS Description See: Description DocFormat reStructuredText LanguageModelAttribute qualified-access-only Placeholder 3S CANopenSafety Project _3SCANopenSafety Title 3S CANopenSafety Version version 3.5.14.0