Showing results 1 to 3 of 3

Thread: Get IEC870 driver state

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    10.12.2015
    Posts
    4

    Default Get IEC870 driver state

    Dear CopaData developers!

    I ask your help in the following problem:
    I have a system where the primary server communicates with PLCs via IEC60870-5-104 (IEC870) communication protocol. With the "Driver commands" function group, I have the ability to set this driver to simulation or hardware mode, which is perfect for my application. 
    My issue is, that I run this function from a VSTA c# module via RtFunction.Start() function, which has no "finished" or "done" callback, or return value, therefore, there is no way to determine if the function has finished properly. Furthermore, I'm unable to find a way, to somehow get the status data from the driver.
    So my question is, is it possible to somehow get/read the driver status from anywhere in the system, so I can feedback that information to my VSTA module, so it knows whether the driver is in simulation or hardware mode?
    I'm using Version 7.60 SP0 Build56718 64Bit with .NET framework 3.5 SP1

    Thanks in advance!

  2. #2
    Join Date
    10.12.2007
    Posts
    273
    Best Answer

    Default AW: Get IEC870 driver state

    Have a look at Variables -> Driver Object Types -> Communication Details (or Driver Variable). A BOOL Variable at Offset 5 shows TRUE if the driver is in Simulation Mode (FALSE if in hardware mode)

  3. #3
    Join Date
    10.12.2015
    Posts
    4

    Default Re: Get IEC870 driver state

    That is exactly what I was looking for. Thank you very much!

Similar Threads

  1. IEC870 driver, use originator in REMA
    By baresi in forum zenon Energy Edition
    Replies: 3
    Last Post: 3rd December 2020, 15:27
  2. IEC61850 Driver - Connection State
    By andrea.ornago in forum Drivers
    Replies: 3
    Last Post: 13th September 2017, 09:42
  3. Please help me with settings IEC870
    By focus in forum zenon Energy Edition
    Replies: 2
    Last Post: 10th January 2012, 14:27
  4. Importing variables for the IEC870 driver is hanging
    By markclemens in forum zenon Energy Edition
    Replies: 0
    Last Post: 10th December 2007, 13:51
  5. Replies: 0
    Last Post: 10th December 2007, 13:51

Tags for this Thread

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •