Skip to main content

Registry Entries of the RTE

The behavior of CODESYS Control RTE can be configured partially in the Windows Registry Editor (Windows registry). The following table provides information about the values and respective default values that are used if the value is missing. Only part of these values can be modified in the PLC Configuration dialog of CODESYS Control RTE.

All values are located in the registry at the path HKEY_LOCAL_MACHINE\SOFTWARE\3S-Smart Software Solutions GmbH\CODESYS SP\3SRTE3, or relative when a key is specified before the name in the table.

Name

Type

Meaning

Default Value

AutoStartPLC

DWORD

0 or 1: With 1, the PLC is started automatically by the system service.

0

AllowSetAppConfiguration

DWORD

0 or 1: Determines whether the user may use the dialog to set the values of the Application configuration dialog.

1

AllowSetCMConfiguration

DWORD

0 oder 1: <same way as in previous entry>

1

AllowSetFileConfiguration

DWORD

0 oder 1: <same way as in previous entry>

1

AllowSetLoggerConfiguration

DWORD

0 oder 1: <same way as in previous entry>

1

AllowSetSchedConfiguration

DWORD

DWORD

0 oder 1: <same way as in previous entry>

1

AllowSetTargetConfiguration

DWORD

0 oder 1: <same way as in previous entry>

1

CallBuffersize

DWORD

Size of the buffer for asynchronous function calls (all function calls that are executed from Windows (for example, file services or socket functions). The more simultaneous calls an application requires, the larger this buffer should be for reasons of performance.

65536

CfgFile

STRING

This value points directly to the configuration file of CODESYS Control RTE.

<installation path of CODESYS Control RTE>

DisablePlcAutoStart

DWORD

This value is used internally by the PLC Configuration dialog. This variable can be changed manually for example only if the configuration dialog would crash and the variable would no longer write to 0 automatically.

0

ShowAppConfiguration

DWORD

0 or 1: Determines whether the user can view the Application tab in the PLC Configuration dialog.

1

ShowCMConfiguration

DWORD

0 oder 1: <same way as in previous entry>

1

ShowFileConfiguration

DWORD

0 oder 1: <same way as in previous entry>

1

ShowLoggerConfiguration

DWORD

0 oder 1: <same way as in previous entry>

1

ShowSchedConfiguration

DWORD

0 oder 1: <same way as in previous entry>

1

ShowTargetConfiguration

DWORD

0 oder 1: <same way as in previous entry>

1

LastExit

DWORD

0 or 1 for controlling whether the last exit from the RTE was successful.

1

Path

STRING

This value points to the directory that is the root path of the file system of CODESYS Control RTE.

<installation path of CODESYS Control RTE>

SysTrayLocalPort

DWORD

TCP/IP port where the communication takes place locally between "SysTray" and the system service of CODESYS Control RTE.

15965

SysTrayRemoteAddr

DWORD

DWORD

IP address of the remote system that should be managed with the "SysTray" of CODESYS Control RTE.

0

SysTrayRemotePort

DWORD

Same as SysTrayLocalPort; for the remote system.

15965

SysTrayUseRemotePLC

DWORD

0 or 1: Determines whether the local PC or a CODESYS Control RTE on another PC (remote system) should be addressed.

0

KernelVersion

STRING

Version of CODESYS Control RTE that was started last time on this PC. Written each time the CODESYS Control RTE starts.

<version ID>

VersionSrv

STRING

Version of the system service of CODESYS Control RTE. Should always be the same version as for the kernel, except for manual patches for which the kernel or the system service was replaced manually by another version for testing purposes.

<version ID>

IO Driverpool

KEY

All subkeys in this key are displayed in the list box of the available components in the PLC Configuration dialog.

StackSizePerTask

DWORD

Size of the stack for each task when needed (unexplainable crashes for complex function calls).

0x6000 (24 KB)

CreateBluescreenOnFirstException

DWORD

The first exception that occurs should generate a blue screen of death (and therefore a core dump used for diagnostic purposes. Kernel memory should be selected in the Windows system settings for Start and Restore.

0

For more information, see: Configuring Real-Time Behavior on Special Platforms