Showing results 1 to 3 of 3

Thread: Autmatic write command at the every new start of Modbus TCP session

  1. #1
    Join Date
    05.03.2009
    Posts
    23

    Default Autmatic write command at the every new start of Modbus TCP session

    Hello!

    I am trying to communicate with diesel controller via Modbus TCP from Zenon EE 6.22 SP1 Build 0. Controller type is ComAp IG NTC BB. 
     
    At the start of every new Modbus TCP session there must be (multiple) write command to ceratin register(s) in diesel controller (to write a valid access code into controller).

    Is there a way to configure Modbus driver to start with such a command every time the TCP connection is established?

    Please find explanation from the manual in the attachment.

    Best regards,
    Gregor 

    Attached Files Attached Files

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

    Default Re: Autmatic write command at the every new start of Modbus TCP session

    I would strongly recommend you to update from version 6.22 to the version currently supported (according the product life cycle of zenon).

    You may put all these values in a recipe and call the function executing the recipe in AUTOSTART script. You may also link a Modbus variable with a reaction matrix evaluating the INVALID status bit of the variable - when I-bit gone (communication OK again) - this can call this function too. 

  3. #3
    Join Date
    05.03.2009
    Posts
    23

    Default Re: Autmatic write command at the every new start of Modbus TCP session

    Thank you for reply. 
    I managed to solve the problem by reconfiguring diesel controller so that no password is needed.
    Upgrade to the latest version is planned in the near future.

    Best regards,
    Gregor

Similar Threads

  1. command using Modbus TCP/IP
    By ziadnajjar in forum Drivers
    Replies: 8
    Last Post: 21st February 2018, 11:15
  2. Modbus TCP with Logic
    By genakust in forum straton / zenon Logic
    Replies: 2
    Last Post: 17th March 2016, 10:17
  3. MODBUS TCP bei Unterbrechungen
    By sebiko in forum Drivers
    Replies: 1
    Last Post: 3rd March 2015, 09:00
  4. Kommunikationsproblem mit ModBus TCP
    By schroder in forum Drivers
    Replies: 3
    Last Post: 5th August 2013, 16:58
  5. Real Variable Modbus TCP
    By pkreisel in forum Drivers
    Replies: 1
    Last Post: 15th February 2011, 23:39

Posting Rules

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