Page 3 of 3 FirstFirst 1 2 3
Showing results 21 to 22 of 22

Thread: How change the state of variable in AddIn Runtime service

  1. #21
    Join Date
    Salzburg, AT

    Default Re: How change the state of variable in AddIn Runtime service

    It cannot work for variables received from connected PLC; by definition!
    I can only repeat again what I had posted in this thread in July: the value, status bits (e.g. quality) and time stamps by process variables are always like the PLC sends to zenon in telegrams, not simply like the user wish to have. When in zenon, the user sets value to the variable then the driver sends this write request to the PLC. As next the driver receives the (hopefully updated) value from PLC (eventually with some external time stamp given by PLC) and this is what you see as the result in zenon. If PLC is delivering the variable value without external time stamp, then the time stamp of the value is from the moment of the data reception, not some faked one.

    zenon - for process variables communicated from devices - always displays the data received from devices, and there is no way to fake it. If you like to force device to take over your artificial time stamp - change in the device the PLC programming accordingly.

  2. #22
    Join Date

    Default Re: How change the state of variable in AddIn Runtime service

    Thank you Mr. Ursulak for fast reply. 

    I am undestand the telegram communication with devices. So is there any option how can i change the status for these online external variables in AddIn?
    I try to achieve the same functionality as the button "Revision einschalten" does (on picture). 

    Thank you for your patience and time. 
    Best regards.
    Attached Thumbnails Attached Thumbnails Bild1.png  

Similar Threads

  1. Change BOOL state with PopUp window
    By xxxd0nixxx in forum zenon Supervisor
    Replies: 4
    Last Post: 27th September 2018, 08:26
  2. Accessing variables in Runtime wizard and service
    By emrocon in forum Add-In Framework
    Replies: 3
    Last Post: 17th October 2017, 17:12
  3. Replies: 2
    Last Post: 25th August 2017, 11:10
  4. Replies: 3
    Last Post: 23rd October 2013, 17:10

Posting Rules

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