How to use NG-Trace with the
IEC 60870-5-104 driver?
Valid
for IEC-104 library version 2.5.207.
We assume that you have
correctly installed NG-Trace and the Fbox library according to this instruction:
www.engiby.ch/ngtrace/ngtrdnld.htm.
You have already created your IEC 60870-5-104 application and therefor, you
have an S-Fup file with the IEC Driver Fbox.
1 – Open the S-Fup file with the IEC Fbox. Before the IEC Driver Fbox,
place an Fbox Trace Buffer from the NG-Trace family. Give him the name
'IEC104'.
On the Fbox enter a free register (one single free register).
2 – In the CPU, create a
new file with the type NG-Trace. Important: Uncheck the option
'Linked/Build'. The NG-Trace will open.
When prompted, select 'Connect
to standard buffer'.
3 – Go in the Settings
tab and enter the same start register as chosen above. Save the settings.
4 – Build, load and run
your program as usual in the PG5 Project Manager. During build, you should get
these 2 messages:
NG-Trace
Buffer for IEC104 created.
NG-Trace Buffer for IEC
60870-5-104 found.
Only if you get these 2 messages,
the trace buffer will work.
5 - Go online with the
PG5 Project Manager.
6 - In the View tab of
the NG-Trace, press the Connect and the Start buttons.
The named columns appear
and the events are recorded. If the options are checked, the PC Date, PC Time
and PCD status are added.
In
the Frm column you can find the IEC frame
types (I-S-U) but also the following:
- Info For auxiliary information
(e.g. Library version). See Value column
- Error For driver
errors with error code in ASDU and argument in Value column
- PPP For PPP events, with changed status in COT and new status in
Value column
- TCP For TCP event
shown in COT column
Read the Help file for more explanation about
the use of NG-Trace.
Back to NG-Trace download
page.
Engiby /
23/12/2011