Technical guideFree to readYear not stated

NTP Application Note (Mikrodev)

Original title NTP Uygulama Notu

Mikrodev

A short Mikrodev application note on how the MP211 PLC and RTU family synchronises real-time clocks with NTP over UDP port 123 using a trigger-driven synchronisation block; the example synchronises once per second.

On this page

Overview

The note introduces NTP (Network Time Protocol) as the protocol used to synchronise the clocks of computers on packet-switched networks with variable latency. NTP uses UDP port 123. On Linux distributions, settings are made in /etc/ntp.conf or /etc/xntp.conf. The Mikrodev MP211 PLC and RTU families support NTP, so devices hold real clock values.

The NTP Synchronisation block has three inputs: NTP server IP address (Ser), server port (Por) and a rising-edge trigger input (Trg). Server IP and port can be entered inside the block or defined by blocks connected to the Ser and Por pins. For trigger operation the 'Run when Trig active' option must be ticked in the block settings. A real-time pulse generator, symmetric pulse generator or binary register can be connected to the trigger input and sets the synchronisation frequency.

In the example, the real-time pulse generator frequency is set to 1 per second, so the block synchronises with the NTP server once per second. The document is a short product-specific configuration note; it does not address NTP accuracy, stratum or security. It gives a practical example of why time synchronisation is needed so that event logs and alarm timestamps are consistent across field devices in a data centre.

Key points

  1. NTP uses UDP port 123.
  2. The Mikrodev MP211 PLC and RTU family supports NTP and holds real clock values.
  3. NTP Synchronisation block inputs: Ser (server IP), Por (server port), Trg (trigger, rising edge).
  4. For trigger operation, 'Run when Trig active' must be ticked in the block settings.
  5. A real-time pulse generator, symmetric pulse generator or binary register can drive the trigger input.
  6. In the example the pulse generator is set to 1 per second; time synchronisation occurs once per second.
  7. On the Linux side, NTP settings are in /etc/ntp.conf or /etc/xntp.conf depending on distribution.

Using it in design

  • Define a single NTP source (or redundant sources) for all BMS, PLC and RTU devices and verify in commissioning that event logs carry consistent timestamps.
  • Choose the synchronisation interval to suit the need; the once-per-second example may be needlessly frequent for most field applications and should be judged against network and server load.
  • State UDP 123 traffic explicitly in firewall rules on the field network.
  • Use the document as a product-level configuration example; design the time synchronisation architecture separately.

Who should read it

BMS and field automation engineers and technicians commissioning Mikrodev PLC and RTU devices.

Document contents

  1. Overview
  2. NTP Synchronisation Block Definitions (connections, block settings, block description)
  3. Example Application

Publication details

Authors
Mikrodev
Publisher
Mikrodev
Year
Year not stated
Document language
Turkish
Source type
Manufacturer
Access
Free to read
Licence
Copyright retained; citation only: the publisher’s terms apply to the original document
Original licence note

Official public manufacturer documentation inspected. No redistribution permission established. Metadata and original brief summaries only; local downloads are research evidence, not a redistribution package.

Citation

Mikrodev NTP Uygulama Notu. Mikrodev. https://docs.mikrodev.com/tr/docs/NTP-Application-Notes/

All content and rights belong to the respective authors and publishers. SoSo CAD provides only the citation, its own summary and a link to the source, and is not responsible for the sources' content.

Redundancy scenarios in SoSo CAD

Compare normal operation with equipment failures and see served loads and capacity shortfalls in the same view.

Normal operation and failure scenario comparison in SoSo CAD

Keep your reading list current

Once a month: new library sources, changes to Turkish regulations and upcoming data centre events.