User manual
Reference  PTQ-104S Rev2 ♦ Quantum Platform 
User Manual  IEC 60870-5-104 Server for Quantum 
Page 168 of 195  ProSoft Technology, Inc. 
  February 22, 2013 
The module will respond to a class one data request from the controlling station 
by returning the data in the event queue in the order shown in the following table. 
Packet Order 
Content 
1 
M_DP_NA events 3 and 5 
2 
M_SP_NA events 1, 2, and 6 
3 
M_ST_NA event 4 
The module responds in order of the priority settings in the configuration, not the 
order in which it was requested from the processor. 
Note that the events are packed into messages in order to maximize the 
efficiency of the network. The following warning must be considered when 
deciding to use this feature: Because events from the highest priority queues are 
always reported when present before lower priority queues, events in the lower 
queues may be lost due to buffer overflow. 
If this feature is not utilized, each of ASDU's events is stored in its own queue. 
The module will report each queue containing events by reporting events from 
each queue, one queue after the other, in a repeating cycle with all the data for 
each ASDU being packed into one or more messages. This methodology limits 
the possibility of a buffer overflowing and still maximizes the use of bandwidth on 
the communication channel. 
SNTP Support 
SNTP is used for time synchronization of produced and consumed commands. 
When an exchange occurs the driver compares time stamps from the previous 
exchange. When the new exchange time is less than the previous exchange, the 
exchange is ignored. This can occur when the Ethernet packets are routed and 
delayed. Time synchronization provides for data integrity. The following table lists 
the parameters defined in this section: 
The SNTP driver will compute a new clock value every 5 minutes using the 
average value of 10 samples each collected over an approximate 6-second 
period. This new value will be used to adjust the clock maintained by the SNTP 
driver and used by the application. If a valid database register is specified, the 
driver will place the time value into the module’s database. The first two registers 
will contain the number of seconds and the next two registers will contain the 
number of microseconds since January 1, 1970. 
A list of some of the common NTP servers can be obtained at 
http://www.ntp.org/, http://www.eecis.udel.edu/~mills/ntp/servers.html, along with 
the appropriate IP address. Other server lists can be found on the Internet by 
searching on "NTP Servers" with your browser. 










