beckhoff TS6420 — 6.6.2 Additional Registry configuration

Configuration The following Keys must be created: ->[HKEY_LOCAL_MACHINE\SOFTWARE\Beckhoff\TwinCAT\System] "ImpersonatedPassword" Contains the password for the authentication. ->[HKEY_LOCAL_MACHINE\SOFTWARE\Beckhoff\TwinCAT\System] "ImpersonatedUserDomain" Contains the name of the domain in which the user is logged on. ->[HKEY_LOCAL_MACHINE\SOFTWARE\Beckhoff\TwinCAT\System] "ImpersonatedUserName" Contains the Name of the User. 6.6.2 Additional Registry configuration There is an option to make basic settings for the TwinCAT Database Server. The key "DBNullAllowed" can be used to activate toleration of NULL values from the database.

In this case the function blocks do not return an error if NULL values occur. In addition, maximum lengths for byte arrays and strings can be defined. These maximum lengths are used for the function blocks FB_DBRecordReturn, FB_DBRecordArrayReturn, FB_DBStoredProceduresRecordReturn and FB_DBStoredProceduresRecordArray. The following keys can be adapted: ->[HKEY_LOCAL_MACHINE\SOFTWARE\Beckhoff\TwinCAT Database Server\Configuration] "DBNullAllowed" TS6420 54 Version: 1.2