Showing results 1 to 3 of 3

Thread: IEC 101 Slave: Master Connected and startup request

  1. #1
    Join Date
    10.02.2015
    Posts
    47

    Default IEC 101 Slave: Master Connected and startup request

    Hi,
    I have a zenon logic project containing IEC60870S2 Slave profile.
    I created a variable (TID=0, IOA=1) permits to understand if a Master is connected to the slave.
    Problems are:

    1)

    when Master-Slave connection is up, value of the variable changes to 1.
    when Master-Slave connection fails, value doesn't change to 0, it remains 1 also if Master is not connected: only closing and rebooting straton project, value of the variable change to 0.
    I thought variable value returns to 0 when the connection ends.

    2)

    This is not a problem but a question.
    In zenon logic, is it possible to delay IEC101 slave driver starting??
    I use zenon logic like a gateway, I have a 61850 driver reads data from the field and gives it to 60870 slave. At the startup, 60870 Master receives invalid values because zenon logic didn't yet read 61850 values.

    Thanks
    Steven Costantini

  2. #2
    Join Date
    01.07.2008
    Location
    Salzburg, AT
    Posts
    810

    Default Re: IEC 101 Slave: Master Connected and startup request

    ad1. In IEC60870-5-101 protocol the slave is passive and has no chance to detect actively the connection loss with a master. Only -104 protocol gives such possibilities. The slave in -101 can only assume that the connection is lost if the master is not sending any new request some timeout long. In zenon Process Gateway IEC870 Slave there is such timeout (setting 'Master Polling Timeout'); but not in Logic.
    So, in Logic the variable in -101 keeps the last value.
    Note: If few masters are connected with slave in Logic then the variable shows how many masters are (-104) /were (-101) connected as the variable in logic is common for all connections (in zenPG can be created per connection).

    ad2. each fieldbus driver in logic is a DDL, not EXE, so it starts together with RT. There is no possibility to delay.
    You may eventually split the IEC61850 Client and IEC60870 Slave into two RTs and start the second RT - with 870-slave - after delay. These two Logic RTs may run on the same PC (or on different) and exchange data via 'Binding'.
    Last edited by ursulak : 18th August 2016 at 12:36

  3. #3
    Join Date
    10.02.2015
    Posts
    47

    Default Re: IEC 101 Slave: Master Connected and startup request

    Thank you Ursulak
    Steven Costantini

Similar Threads

  1. IEC 101 - End of Initialization
    By michael_k in forum zenon Energy Edition
    Replies: 1
    Last Post: 6th July 2015, 10:05
  2. IEC-101 serial Protocol
    By navaneet in forum zenon Energy Edition
    Replies: 2
    Last Post: 27th August 2014, 08:21
  3. IEC 60870-104 Slave in Straton
    By altera in forum straton / zenon Logic
    Replies: 3
    Last Post: 15th October 2012, 12:14
  4. IEC 101-104 T09 measured value
    By westbaaam in forum zenon Energy Edition
    Replies: 2
    Last Post: 21st October 2009, 06:05

Posting Rules

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