Monaghan PME GPS 0100 User manual

monaghan + ENGINEERING PME GPS 0100 ii
Document Revisions
Date
Version
Number
Document Changes
10/24/2017
1.00
Preliminary Draft
8/1/2018
2.00
Initial Release
10/1/2018
2.09
Changes to System web page Event Report
10/17/2018
2.10
Added specifications section
6/7/2019
2.11
Corrected example of Module Identifier in Section 5.3
All trademarks and registered trademarks are the property of their respective owners.
Subject to change without notice.
© Monaghan Engineering, Inc. 2018 All Rights Reserved

monaghan + ENGINEERING PME GPS 0100 iii
Table of Contents
1Introduction ..................................................................................................................................................... 6
1.1 Operating Modes.......................................................................................................................................................6
1.2 Time Sources ..............................................................................................................................................................7
1.2.1 Crystal Oscillator...............................................................................................................................................7
1.2.2 GPS Receiver.......................................................................................................................................................7
1.2.3 PTP Master Clock..............................................................................................................................................7
1.3 Network Time Protocols........................................................................................................................................7
1.3.1 Precision Time Protocol.................................................................................................................................7
1.3.2 Network Time Protocol..................................................................................................................................8
1.4 Serial Time Protocols..............................................................................................................................................8
1.4.1 IRIG-B.....................................................................................................................................................................8
1.4.2 DCF-77...................................................................................................................................................................8
2DIO Overview................................................................................................................................................... 9
2.1 CPU DIO Limitations................................................................................................................................................9
2.1.1 DIO Connection Limits....................................................................................................................................9
2.1.2 DIO Byte Count Limits.....................................................................................................................................9
2.1.3 NOC DIO.............................................................................................................................................................10
2.1.4 Hot Standby Implications...........................................................................................................................10
2.1.5 Remote Rack Mounting Only.....................................................................................................................10
3Hardware Installation ................................................................................................................................11
3.1 GPS Receiver............................................................................................................................................................11
3.2 Time Code Outputs................................................................................................................................................12
3.2.1 5 VDC...................................................................................................................................................................12
3.2.2 24 VDC................................................................................................................................................................12
3.2.3 Interfacing to BMX ERT 1604 ...................................................................................................................12
3.3 Front Panel LED Indicators ...............................................................................................................................12
3.3.1 LED Display ......................................................................................................................................................12
3.3.2 GPS LED’s ..........................................................................................................................................................14
4Adding the PME GPS 0100 to Unity Pro................................................................................................15
4.1 Hardware Catalog..................................................................................................................................................15

monaghan + ENGINEERING PME GPS 0100 iv
4.2 DTM Library.............................................................................................................................................................15
5Configuring the PME GPS 0100 with Unity Pro..................................................................................17
5.1 Hardware Setup......................................................................................................................................................17
5.2 DTM Setup ................................................................................................................................................................20
5.3 Link the DTM to the PME GPS 0100 Hardware.........................................................................................22
5.4 Configure the PME GPS 0100 Module ...........................................................................................................25
5.4.1 Global Configuration.....................................................................................................................................26
5.4.2 Daylight Saving Time....................................................................................................................................26
5.4.3 Time Code Outputs........................................................................................................................................27
5.4.4 Requested Packet Interval .........................................................................................................................28
5.4.5 Mode....................................................................................................................................................................28
5.5 Build and Transfer.................................................................................................................................................28
5.6 Transfer to FDR Server........................................................................................................................................28
5.6.1 Reset the PME GPS 0100.............................................................................................................................29
6Web Browser Interface ..............................................................................................................................32
6.1 Sync Status................................................................................................................................................................32
6.2 Statistics.....................................................................................................................................................................33
6.3 Clock............................................................................................................................................................................33
6.4 GPS...............................................................................................................................................................................34
6.5 Outputs.......................................................................................................................................................................36
6.6 Module........................................................................................................................................................................36
6.7 System ........................................................................................................................................................................37
7Firmware Update..........................................................................................................................................39
7.1 Unity Loader ............................................................................................................................................................39
7.2 Boot Loader..............................................................................................................................................................39
7.2.1 Flash ....................................................................................................................................................................39
7.2.2 Password...........................................................................................................................................................40
8Specifications.................................................................................................................................................41
9Appendices .....................................................................................................................................................42
9.1 Precision Time Protocol......................................................................................................................................42
9.1.1 IEEE 1588 Technology Overview............................................................................................................42
9.1.2 Typical Performance ....................................................................................................................................43
9.2 Network Time Protocol.......................................................................................................................................43

monaghan + ENGINEERING PME GPS 0100 v
9.2.1 Clock Strata.......................................................................................................................................................44
9.2.2 Timestamps......................................................................................................................................................44
9.2.3 Leap Seconds ...................................................................................................................................................44
9.3 IRIG-B Time Code...................................................................................................................................................44
9.3.1 Time Codes .......................................................................................................................................................45
9.4 DCF-77 Time Code.................................................................................................................................................47
9.4.1 Bit Definition....................................................................................................................................................47
9.4.2 Time Code Interpretation...........................................................................................................................47
9.5 References ................................................................................................................................................................50

Introduction
monaghan + ENGINEERING PME GPS 0100 6
1Introduction
The PME GPS 0100 is a precision time server for the Schneider Electric x80 PAC platform. It
provides time for network connected devices using both Precision Time Protocol (PTP) and
Network Time Protocol (NTP). It provides time for direct connected devices using IRIG-B
time protocol and DCF-77 time protocol.
The PME GPS 0100 communicates across the ethernet backplane. For modules located in
different racks, the module operating as a time server communicates with modules
operating as clients through the ethernet ring connecting the racks. The typical error
between modules located in different racks is less than 1 microsecond.
The PME GPS 0100 has both 5 VDC and 24 VDC time code outputs. Each output is
individually programmable for 2 different time codes.
•IRIG-B
•DCF - 77
The PME GPS 0100 has been specifically designed to operate with the Schneider Electric
BMX ERT 1604 Time Stamp module. The ERT module requires either a 5 VDC IRIG-B or 24
VDC DCF-77 time code signal. The GPS module will supply either.
1.1 Operating Modes
The PME GPS 0100 will operate in one of three modes depending on its configuration
settings and the GPS receiver signal to the module.

Introduction
monaghan + ENGINEERING PME GPS 0100 7
•When connected to a GPS 400 receiver, the PME GPS 0100 will synchronize its
internal clock with the GPS satellite and operate as a PTP master clock.
•When no GPS receiver is connected or when it is not able to receive a valid GPS
signal, the PME GPS 0100 will operate as a PTP slave clock and search for a PTP
master clock on the network. If multiple PTP master clocks are available, it will track
up to 5 master clocks and select the one with the most accurate clock.
•In some applications absolute time is not important but relative time between
devices is important. In these applications the PME GPS 0100 can be configured to
operate as a master clock using its internal crystal oscillator as a time base.
1.2 Time Sources
The PME GPS 0100 internal clock will derive its time from one of three sources.
1.2.1 Crystal Oscillator
When power is applied to the PME GPS 0100, its clock will be set from a battery backed up
real time clock and it will use a 2 part per million (PPM) Temperature Compensated Crystal
Oscillator (TCXO) as a time base.
1.2.2 GPS Receiver
The GPS 400 receiver which is used with the PME GPS 0100 provides a serial data stream
and a 1 pulse per second (PPS) reference to the module. The serial data stream provides
time, signal quality and position information to the module. The 1 PPS reference signal is
used to synchronize the PME GPS 0100 clock with the GPS satellite. The typical error of a
PME GPS 0100 clock while synchronized with a GPS receiver is less than 500 nS.
1.2.3 PTP Master Clock
When no GPS reference is available, the PME GPS 0100 will listen on the network for a PTP
master clock. If a master clock is found the module will transition from listen mode to slave
clock mode and synchronize with the PTP master clock. The typical error of a PME GPS
0100 PTP slave clock is less than 1 uS.
1.3 Network Time Protocols
The PME GPS 0100 supports PTP protocol as a master or slave and NTP protocol as a
server. The PTP protocol is used to synchronize other PTP compatible devices on the
network. The NTP protocol is used to synchronize M580 controllers.
1.3.1 Precision Time Protocol
Precision Time Protocol is a master-slave protocol with no setup. Master clocks announce
their presence on the network. Slave clocks listen for master clocks and select the master
clock with the most accurate time. The PME GPS 0100 will track up to five master clocks and
will fail over automatically should the accuracy of the master clocks change.

Introduction
monaghan + ENGINEERING PME GPS 0100 8
1.3.2 Network Time Protocol
Network Time Protocol is a client-server protocol. Each M580 controller will need to be
programmed with the IP address of the PME GPS 0100 NTP server.
1.4 Serial Time Protocols
The PME GPS 0100 has two serial time code outputs. One 5 VDC output and one 24 VDC
output. Each output can be configured to provide an IRIG-B or DCF-77 time code.
1.4.1 IRIG-B
The IRIG-B time code is one of the code formats created by the TeleCommunications
Working Group of the U.S. military's Inter-Range Instrumentation Group (IRIG), the
standards body of the Range Commanders Council. It consists of a 100 bit data frame which
is transmitted once per second. The data is encoded using pulse width modulation.
1.4.2 DCF-77
The DCF77 time code was developed for the German longwave standard frequency radio
station. It consists of a 60 bit data frame which is transmitted once per minute. The data is
encoded using pulse width modulation.

DIO Overview
monaghan + ENGINEERING PME GPS 0100 9
2DIO Overview
The PME GPS 0100 operates as an Ethernet/IP DIO device to the M580 CPU. This means
that the I/O data communication between the M580 CPU and the PME GPS 0100 is done by
means of an Ethernet/IP data exchange across the backplane. When the module is located in
the CPU rack, this data exchange happens completely across the Ethernet backplane
between the CPU and the module. In the case where the module is located in an eRIO rack,
the exchange happens across the RIO ring from the CPU through the CRA and across the
Ethernet backplane to the module. The update time of the I/O Data between the CPU and
PME GPS 0100 is controlled by the Request Packet Interval (RPI) The RPI is typically 10mS
and may be adjusted using the DTM of the module.
2.1 CPU DIO Limitations
There are several limiting factors concerning DIO use with the M580 PLC. The two most
common limits are the number of device connections and the number of bytes exchanged.
2.1.1 DIO Connection Limits
The different M580 CPU models feature limits on the number of Ethernet/IP (EIP)
connections, Modbus/TCP (MB) connections and combined EIP+MB connections.
2.1.2 DIO Byte Count Limits
Along with limitations on the number of possible DIO devices that may be connected to a
single M580 CPU, there are limits on the total number of bytes of data exchanged. The actual
limiting factor will usually be the total number of PLC Input or Output bytes used by the
DIO. Exceeding the PLC's limit on any of these items will result in a failure to build the
proposed system inside Unity Pro. The following table shows the limits for M580 CPUs.
CPU
Max EIP
DIO
Max Modbus
DIO
Max DIO
EIP+MB
Total Bytes
DIO Input
Total Bytes
DIO Output
BMEP581020
64
64
64
2048
2048
BMEP582020
128
128
128
4096
4096
BMEP582040
64
64
64
2048
2048
BMEP583020
128
128
128
4096
4096
BMEP583040
64
64
64
2048
2048
BMEP584020
128
128
128
8192
8192
BMEP584040
64
64
64
2048
2048
The PME GPS 0100 module's DTM configures 128 bytes of PLC input data and 28 bytes of
PLC output data per card. The maximum number of PMEGPS0100 cards that may be

DIO Overview
monaghan + ENGINEERING PME GPS 0100 10
installed in a 581020 CPU is limited to 16 cards. This is because having 16 cards exactly
equals the maximum allowed number of DIO input bytes for the CPU.
•16 modules x 128 bytes/module = 2048 bytes
Notice that the byte limitation includes all DIO connections from the CPU. PME modules +
Modbus/TCP slaves + Ethernet/IP slaves. Consider a 584040 CPU that is scanning 30
Holding Registers from each of 15 Modbus/TCP electric meters. This action uses 900 bytes
of the 2048 PLC inputs available.
•15 slaves x (30 register/slave) x (2 bytes/register) = 900 bytes total
This PLC would then be able to include 8 PMEGPS0100 modules.
•2048 –900 = 1148 available bytes / (128 byes/module) = 8.96 modules
2.1.3 NOC DIO
One option to consider when running into DIO byte count restrictions would be to move
some of the DIO to an BMENOC3*1 module. The NOC is capable of controlling its own DIO
on its own Ethernet ports.
NOTE: The PMEGPS 0100module is not supported as DIO in the BME NOC. PME GPS 0100
modules must be installed as M580 CPU DIO.
2.1.4 Hot Standby Implications
The PME GPS 0100 may be used in M580 Hot Standby systems (HSBY) remote Ethernet
rack. Like most DIO connections, the PLC Input data from a PME GPS 0100 module is not
“bumpless” during a transfer from Secondary to the new Primary. The Ethernet/IP
connections will be closed, and the module “Freshness” will drop to 0 during the transfer.
The data may not be available for several PLC scans after the transfer as the Ethernet/IP
connections are re-established.
2.1.5 Remote Rack Mounting Only
The PME GPS 0100 may only be used in a remote Ethernet rack in a M580 HSBY system. The
module may not be mounted in either HSBY CPU rack.

Hardware Installation
monaghan + ENGINEERING PME GPS 0100 11
3Hardware Installation
The BME GPS 0100 module can be installed in any BMEXBP backplane. When using the
BMEXBP1220 backplane slots 3,9,11 and 12 are reserved for X-bus modules. The BME GPS
0100 has a keying pin on the back of the module to prevent installation in a BMX BKP xxxx
backplane. To install the module:
•Hold the module at an angle and insert the two hooks near the bottom of the module
into the slots at the bottom of the backplane.
•Swing the module up so that the connector engages the backplane connector.
•Use a phillips-head screw driver to tighten the screw at the top of the module. Apply
2 to 4 in-lbs (0.22 to 0.45 N-m) of torque.
•The installation and removal of the module is allowed with the CPU powered on
without risk of module damage or disruption of the CPU.
3.1 GPS Receiver
The PME GPS 0100 is designed to work with a GPS 400 receiver. Connection to the receiver
is made through an RJ-45 jack on the front of the module. The total cable length between the
module and the receiver can be up to 1,000 ft. The GPS receiver communicates through an
RS-485 connection at 4800 baud using NEMA protocol. The receiver also provides a 1 Pulse
Per Second output which is used to synchronize the clock in the PME GPS 0100. The GPS
400 receiver is powered by the PME GPS 0100 module.
The RJ-45 connections are as follows:
1 –TX Data + 5 –1PPS +
2 –TX Data - 6 –RX -
3 –RX Data + 7 –24 DVC
4 –1PPS - 8 –Ground
WARNING: Make sure that the cable connecting the PME GPS 0100 and the GPS 400 is
wired correctly before the connection is made. An incorrectly wired cable can apply
24 VDC to the line drivers in the GPS 400 possibly causing damage.

Hardware Installation
monaghan + ENGINEERING PME GPS 0100 12
The front panel RJ-45 connector contains two LED’s. The RX LED will flash every time a
valid GPS message is received. The 1PPS LED will flash every time a 1 Pulse Per Second
signal is received. The RX LED should flash three times per second and the 1PPS LED should
flash once per second when a GPS receiver is connected and receiving a valid signal from
the satellite.
3.2 Time Code Outputs
3.2.1 5 VDC
The 5 volt output is an RS-485 signal. Differential operation can be configured by using the
+ and –output pins. Positive unipolar operation can be configured by using the Common
and A output pins. Inverted unipolar operation can be configured by using the Common and
B output pins. The output time code is selectable. The options are:
oIRIG-B
oDCF-77
3.2.2 24 VDC
The 24 volt output is a positive unipolar output. The time code is selectable. The options
are:
oIRIG-B
oDCF-77
The 24 volt output can be configured as an inverted output for applications that require an
inverted unipolar output.
3.2.3 Interfacing to BMX ERT 1604
The PME GPS 0100 has been designed to provide the time code required by the BMX ERT
1604 module. The ERT module requires either a 5 volt differential IRIG-B signal or a 24 volt
DCF-77 signal. Only one of these inputs should be used at a time.
3.3 Front Panel LED Indicators
3.3.1 LED Display
The front panel LED displays the current operational status of the module.

Hardware Installation
monaghan + ENGINEERING PME GPS 0100 13
The information can be divided into three groups.
•System Information
oRUN –The Run LED will be on when the module has completed the
configuration process and a connection has been established with the CPU.
oERR –The Error LED will flash indicating the current state of the
configuration process.
1 Flash
An LLDP message has been sent announcing the presence of
the PPME GPS 0100 on the network. Waiting for an LLC
message from the controller.
2 Flashes
Waiting for DHCP to assign an IP address.
3 Flashes
Waiting for ODVA ARP probe to verify IP address is unique.
4 Flashes
Duplicate IP address detected.
5 Flashes
Waiting for PRM file to download.
6 Flashes
PRM file error.
7 Flashes
PRM zero length error.
8 Flashes
Waiting for session open command.
9 Flashes
Waiting for connection.
oMASTER –The Master LED will be on when the PME GPS 0100 is configured
as a PTP Master Clock.
•Time Source
oGPS –The module is receiving valid messages and 1 PPS pulses from the GPS
Receiver. The internal clock is synchronized to the GPS receiver.
oPTP –The internal clock is synchronized to a PTP Master Clock on the
network.
oINTERNAL –The internal crystal-controlled clock is being used as the time
base.
•Time Quality
oGOOD –The clock has a measured error of less than 100 uS.
oFAIR –The clock has a measured or calculated error of greater than 100 uS
but less than 50 mS.
oPOOR –The clock has a measured or calculated error of greater than 50 mS.

Hardware Installation
monaghan + ENGINEERING PME GPS 0100 14
oBAD –The time is based on the internal battery backed-up clock. The clock
has not synchronized with an external time reference since it was turned on.
3.3.2 GPS LED’s
The RJ-45 connector for connecting the GPS receiver has two LEDs.
•RX –The green RX LED indicates that the PME GPS 0100 is receiving messages from
the GPS receiver. The LED will flash every time the module receives a message and
verifies that it was received without an error. This LED should flash three time per
second
•1 PPS –The yellow 1 PPS LED will flash every time the module receives a pulse from
the GPS receiver. This LED should flash once per second.

Adding the PME GPS 0100 to Unity Pro
monaghan + ENGINEERING PME GPS 0100 15
4Adding the PME GPS 0100 to Unity Pro
4.1 Hardware Catalog
The PME GPS 0100 module is supported in Unity version 8.0 and later. For Unity versions 8
through 13 the module must be added to the hardware catalog using the Hardware Catalog
Manager. From the Windows start menu select Hardware Catalog Manager.
Select File>Import User Data and then open the file “PME GPS 0100 Rev x_xx.cpx”. This file
is available for downloading from the Monaghan Engineering web site, www.monaghan-
engineering.com. Select PME_GPS and click on OK. This will add the PME GPS 0100 module
to the hardware catalog.
Close the Hardware Catalog Manager and start Unity Pro. The PME GPS 0100 can now be
chosen from the Hardware Catalog under the “Third party products” section.
4.2 DTM Library
The Schneider Electric x80 PAC platform uses Device Type Manager (DTM) technology for
interfacing with I/O modules. The manufacturer of each I/O module provides a DTM which

Adding the PME GPS 0100 to Unity Pro
monaghan + ENGINEERING PME GPS 0100 16
describes the operation of the module. Unity uses this information to configure and
communicate with the module. The DTM for the PME GPS 0100 must be manually added for
Unity versions 8 through 14. This is accomplished by using the DTM Update Tool provided
by Monaghan Engineering which is available for downloading at www.monaghan-
engineering.com.
After installing the DTM Update Tool, go to the start menu and click on Monaghan DTM
Update Tool.
The currently installed DTM’s will be displayed. Click Update to install the listed version of
the PME GPS 0100 DTM and then select Exit
Start Unity Pro and from the menu select Tools>Hardware Catalog. In the Hardware
Catalog screen select the DTM Catalog tab.
Click the Update button. A screen will appear saying that the DTM library seems up to date
and would you like to update it? Click Yes.
After the update is complete, expand the Vendors heading and select Monaghan
Engineering. The PME GPS 0100 entry should be visible.

Configuring the PME GPS 0100 with Unity Pro
monaghan + ENGINEERING PME GPS 0100 17
5Configuring the PME GPS 0100 with Unity Pro
This example will demonstrate the steps necessary to configure a PME GPS 0100 module
with Unity Pro XL V12.
•The PME GPS 0100 module will be installed in the CPU rack slot 2.
•The M580 P581020 is the chosen processor.
•The CPU will be at the default addresses 192.168.10.1 and 192.168.10.11.
•The PME GPS 0100 will be at address 192.168.10.3.
5.1 Hardware Setup
The BME P58 1020 CPU is chosen, along with the BME XBP 0800 eight slot backplane.

Configuring the PME GPS 0100 with Unity Pro
monaghan + ENGINEERING PME GPS 0100 18
After selecting the “PLC Bus” in the Structured View Tree, right click on the Ethernet ports
of the CPU to open the configuration submodule.
The FTP server must be enabled tin the PLC for any PME module to function. The easy way
to enable the server is to select “Unlock Security”.
After unlocking the security, click the check box in the tool bar to accept the change.

Configuring the PME GPS 0100 with Unity Pro
monaghan + ENGINEERING PME GPS 0100 19
Now close the submodule. After right clicking on slot 2, a “New Device” is added to slot 2.
The PME GPS 0100 is selected from the “Third party products” section.

Configuring the PME GPS 0100 with Unity Pro
monaghan + ENGINEERING PME GPS 0100 20
The PME GPS 0100 will now appear in the rack.
The PLC rack window may now be closed.
5.2 DTM Setup
The next step is to force an update of the DTM Catalog. The DTM Catalog is accessed
through Tools > Hardware Catalog. Select the DTM Catalog tab.
Click the Update button. A screen will appear saying that the DTM library seems up to date
and would you like to update it? Click Yes.
After the update is complete, expand the Vendors heading and select Monaghan
Engineering. The PME GPS 0100 entry should be visible.
Open the DTM browser by selecting Tools>DTM Browser. The DTM Browser will open and
show a tree with the CPU at 192.168.10.1.
Right click on the CPU and Select “Add”.
Table of contents