System information
TwinCAT/BSD provides different system information. The most important system information required for daily work with TwinCAT/BSD and TwinCAT can be retrieved with the tool TcSysExe.exe and the TwinCAT Registry
TcSysExe.exe
With TcSysExe.exe it is for example possible to control the TwinCAT mode from the console and to put TwinCAT into Run or Config mode. Call all available parameters with TcSysExe.exe -help. The following system information is particularly important:
- The command
TcSysExe.exeor TcSysExe.exe -version lists information about the used TwinCAT build, the AMS Net Id and the TwinCAT/BSD version:
The software licenses can be found in this folder: /usr/local/etc/TwinCAT/3.1/System/Legal/
TcOsSys.dll: TcOsSys_Rel31_4024_20220407.2
TwinCAT Build: 3.1.4024.29
AMS Net Id: 5.66.247.12.1.1
TC/BSD: 13.0.11.1,2- The command
TcSysExe.exe --osImageVersionshows the TwinCAT/BSD version:
Administrator@CX-42F70C:~ $ TcSysExe.exe -osImageVersion
TC/BSD: 13.0.11.1,2- The command
TcSysExe.exe --platformidshows the TwinCAT 3 platform level of the Industrial PC used:
Administrator@CX-42F70C:~ $ TcSysExe.exe -platformid
HW Platform: 70- The command
TcSysExe.exe --netiddisplays the AMS Net Id of the Industrial PC:
Administrator@CX-42F70C:~ $ TcSysExe.exe -netid
AMS Net Id: 5.66.247.12.1.1TcRegistry.xml
Extensive system settings are possible via the TwinCAT registry. The file is located in the directory /usr/local/etc/TwinCAT/3.1/TcRegistry.xml and can be opened and edited with doas ee /usr/local/etc/TwinCAT/3.1/TcRegistry.xml.
Before the TcRegistry.xml can be edited, the TcSystemService must be stopped with the command doas service TcSystemService stop and restarted with doas service TcSystemService start after editing.
The following system information is particularly important and can be edited in the XML file:
- AmsNetID: Changing the AMS NetID
- HeapMemSize: Increase heap memory
- LockedMemSize: Adapting the router memory