March 1, 2024

#190 - Schneider How to set-up a SYSLOG server and a NTP server

- install kiwi syslog

- configure the laptop as NTP server:

> Open Services (services.msc in the Windows Run dialog (Windows Key + R)), and Stop "Windows Time" service

> Open regedit and edit Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters, and add a new REG_DWORD register called LocalNTP. Set this parameter to 1 (hex).

> Go to the register: Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders, and enable the NTPServer setting it to 1.

> Configure the register Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config by setting AnnounceFlags to 5 (hex).

> Close the registers and start the Windows Time service.

> Disable Windows Firewall (check netstat -an | find "123", the UDP default port is 123)

- Enable SYSLOG in Control Expert:

- Add the PLC IP to the SYSLOG configuration

Links:

- Guide

No comments:

Post a Comment