Showing results 1 to 4 of 4

Thread: Force synchronous writing for recipes

  1. #1
    affoltep Gast

    Default Force synchronous writing for recipes

    Hello

    I want to implement a handshake between SCADA and PLC for recipe transmission.
    The idea is to set a flag, which is transmited to the plc after sucessful writing, so that the plc knows, that all the data's in the recipe structure are valid and updated.

    For this reason I need to force the synchronous write mode for every recipe and I don't want to allow to set or reset this flag by the operator.

    How can I achieve this?

  2. #2
    Join Date
    30.05.2007
    Location
    Salzburg
    Posts
    879

    Default Re: Force synchronous writing for recipes

    You can accomplish this with using the system variable
    Recipe/RGM recipe completely written local.
    This is a bool variable which gets the value "1" when the recipe has been successfully written to the chosen variables.

    For transfering this status to a PLC variable simply create a allocation (Trigger type: Edge).

    Regards,
    Herbert

  3. #3
    affoltep Gast

    Default AW: Force synchronous writing for recipes

    Hello Herbert

    Thank you for the quick response. So, I have seen, that the system driver flags are independent from the "sync write checkbox". The "sync write" option just controls the accesibility of the recipe manager buttons.

    So then my question is: Is there a function to block all buttons of the recipe manager until I' ve got the response from the PLC (simular to the sync write)?

    Regards
    peter

  4. #4
    Join Date
    30.05.2007
    Location
    Salzburg
    Posts
    879

    Default Re: Force synchronous writing for recipes

    So then my question is: Is there a function to block all buttons of the recipe manager until I' ve got the response from the PLC (simular to the sync write)?
    You can use the Interlock-Functionality for this.
    -> at the time where you execute the recipe set also a bool variable
    -> this bool variable is evaluated within an interlocking condition
    -> the interlocking then is linked to the buttons at the recipe
    -> after the recipe has been successfully executed reset the bool variable (interlocking)

    Regards,
    Herbert

Similar Threads

  1. CEL log - writing to Windows CE Compact Flash Card
    By mattsd in forum zenon Operator
    Replies: 4
    Last Post: 1st June 2010, 07:30
  2. Replies: 0
    Last Post: 11th March 2010, 16:04
  3. copy recipes
    By hicom in forum zenon Supervisor
    Replies: 9
    Last Post: 11th May 2009, 05:28

Posting Rules

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