PACSystems™ RX3i DNP3 Outstation User Manual
Section 5
GFK-3103B
June 2020
System Operation
80
5.14.9
Point Push Data Example
This section provides the sample of individual parameters of the 8 Point Push Data records used in ST
block in above figure.
'-------------------------------------
' Created: Tuesday, November 11, 2019
'
' Description:
'
'-------------------------------------
mCountSeq := mCo 1;
if mCountSeq = 0 then
mCountSeq := 1;
end_if;
if mCountSeq > 59999 then
mCountSeq := 1;
end_IF;
// Array length is 107 [0 to 106] Words
PtPshArrayLL4[0 ] := 1235; // This needs to be a key value of 1237
PtPshArrayLL4[1 ] := mCountSeq; // This number has to different than
the last time
PtPshArrayLL4[2 ] := 8; // This is the number of Records, 1 to 8
// #1
PtPshArrayLL4[3 ] := 1; //Object type: 01-DI, 10-DO, 30-AIV, 40-AOV
PtPshArrayLL4[4 ] := 0; //Variance Typically 0
PtPshArrayLL4[5 ] := 17; //Point number
PtPshArrayLL4[6 ] := Input_Pt; //Data [0]
PtPshArrayLL4[7 ] := 0; //Data [1]
PtPshArrayLL4[8 ] := 0; //unused
PtPshArrayLL4[9 ] := 0; //unused
PtPshArrayLL4[10 ] := 2; //hour
PtPshArrayLL4[11 ] := 1; //minute
PtPshArrayLL4[12 ] := mCountSeq;//second
PtPshArrayLL4[13 ] := 4; //month
PtPshArrayLL4[14 ] := 18; //day
PtPshArrayLL4[15 ] := 17; //year 2k based
// #2
PtPshArrayLL4[16 ] := 10; //Object type: 01-DI, 10-DO, 30-AIV, 40-AOV
PtPshArrayLL4[17 ] := 0; //Variance Typically 0
PtPshArrayLL4[18 ] := 17; //Point number
PtPshArrayLL4[19 ] := Output_Pt; //Data [0]
PtPshArrayLL4[20 ] := 0; //Data [1]
PtPshArrayLL4[21 ] := 0; //unused
PtPshArrayLL4[22 ] := 0; //unused
PtPshArrayLL4[23 ] := 2; //hour
PtPshArrayLL4[24 ] := 1; //minute
PtPshArrayLL4[25 ] := mCountSeq;//second
PtPshArrayLL4[26 ] := 4; //month
PtPshArrayLL4[27 ] := 18; //day
PtPshArrayLL4[28 ] := 17; //year 2k based
// #3