03-21-2013 02:29 AM
Dear All,
I am using the NI Communications toolkit to create a IEC 60870-5-104 Slave( Controlled station).
I am using third part s/w from Triangel microworks and using it as the Master for the same.I am able to send and recieve most of the commands with the examples provided with the toolkit at 'C:\Program Files\National Instruments\LabVIEW 2012\examples\IEC60870-5,
I am not able to find a way to capture the 'General Interrogation command' coming from the server.
Can any one help me out how to proceed with this.
Thanks.
Solved! Go to Solution.
03-21-2013 12:54 PM
Hi Frabto,
We didn't implement that part of the specification. The commands we implemented are:
I don't know of a work-around for you. Is that command critical to your operation?
03-22-2013 03:23 AM
Hi Jesse,
Thanks for the reply.When the server sends the Interrogation command, the slave will have to send all the data for the station
I am not yet sure how critical is this command for our application.
Please let me know if you find out any workarounds. Can we see its implementation in the next version of the toolkit ?
Thanks again
03-22-2013 12:53 PM
Hi Frabto,
Let me follow up with the developer team and see what ideas they have. I have some ideas on a work-around but I supect theirs will be much better.
We haven't created a full feature list for IEC 60870-5 v2.0. I will make sure your feedback gets to hte project manager however.
Additionally, this question is labeled IEC 60870-5-104. The toolkit is build on IEC 60870-5-101. I don't think this makes a difference for your question.
03-25-2013 09:06 AM
Hi Frabto,
The developer team had some great insights below. I mis-informed you of the behavior (sorry!), the general interrogation command should be handled automatically in the communication stack.
First of all the interrogation command sent from controlling station can request the complete(station interrogation) or a subset (group interrogation) of all the data points on controlled station. NI 60870-5 for controlling station supports the command, when controlled station receives a station interrogation command, it will respond with all the values of the data points; if it's group interrogation command, it will respond with the values of the data points that belong to the group. Users are not able to detect if the interrogation command is received or not, it's all automatically handled inside the stack, but users can use the VI called "Set Point Group.vi" inside the polymorphic VI "Set Point Property.vi" to set a point to be one of the 16 groups, and you can see the usage with the example "Interrogate Information Objects in Group.vi" in the 60870-5 example folder.
You shouldn't need to do anything to respond to an interrogation command. The station will respond automatically. I hope I didn't cause you too much confusion on this point.
04-02-2013 02:33 AM
Hi Frabto.
As you mentioned in your post that you are able to communicate between master and slave stations using examples provided with the toolkit.
I am still facing a problem for setting the same communication as done by you.
so it would be great if you guide me to use the IEC 104 toolkit vi's to perform a simple read-write operation between master-slave stations,
Also which are the vi's should be used from the toolkit and what are the parameters need to be set for writing a simple boolean value from master to slave,
In case you have some developed examples, please do share on sandeepsoni12345@gmail.com or on forum.
thanks and regards,
sandeep.
04-03-2013 05:13 AM
Hi all, even I am facing the same problem. Got a few questions and seeking an answer for them:
We are using the IEC 60870-5 NI toolkit .We have some queries mentioned below
1. We are still facing problem to use these vis because even context help is not much in detail and not able to use toolkit properly.
In the example provided here C:\Program Files (x86)\National Instruments\LabVIEW 2012\examples\IEC60870-5\General folder have not much comments in block diagram. Hence it is very difficult to understand.
2. Random values are given in Example mention above like in Control command .vi ,100 value is set for IOA of Monitor point in create point.vi like wise ASDU is set as 3 and control point is set as 2100/2200/2300. Pls do clear this.
3. While setting the communication between Controlled station and Controlling station read Command.vi is always giving command-out as "idle". Pls do clear this.
4. I tried to run the following VIs (Write Command.vi for controlled station and Control Command.vi for controlling station) and provided appropriate IP address but I am always getting a warning : 355202 (no controlling station is connected or the listening port is being used by another application) .in case of Write Command.vi. Not sure what went wrong.
Will be really helpful if I can get some pointers.
07-04-2014 07:52 PM
Hello.
I need to Labview toolkits of protocol IEC 60870-5-101, dnp3
Need directions for how to prepare or purchase the protocols
And the need to provide guidance for the implementation of this toolkits
Do I send the response Aymbl
hosaikhasannejad@yahoo.com
omidansanatshomal@yHOO.COM
07-06-2014 08:35 PM
Hi sharee,
Help and examples in to the toolkits are provided as general guidance.
Please contact your local NI sales for purchase information.
07-06-2014 08:44 PM - edited 07-06-2014 08:44 PM
For DNP3 examples, here are some improved ones if you use DNP3 2.1.