Showing results 1 to 2 of 2

Thread: Copying a string to another string

  1. #1
    Join Date
    26.02.2014
    Posts
    36

    Default Copying a string to another string

    I have a Zenon SCADA and there are two strings on screen, current batch and previous batch. The user needs to type in a description of the current batch. When the batch ends, a bit is set on by the PLC. This will trigger a copy of the Current batch string to previous batch string, however I can't find out how to do it. I have tried an allocation, but it seems that you can't do an allocation with a string as source, although strangely enough, it lets you create one, it just doesn't work. As the PC has a licence for Recipegroup manager, I tried to do the copy using a recipe but this doesn't work either. Is it the case that read/write of a recipe only works on a user action, like a button press, not a bit change? I'm not sure. Anyway, the main question is this, How can I copy the value in one memory string variable to another whenever the PLC sets a bit?

  2. #2
    Join Date
    26.02.2014
    Posts
    36

    Default Re: Copying a string to another string

    I now have the solution to this problem. I have a network system and the internal variable setting on the strings was set to local. Changing the setting to network resulted in the string copy allocation working correctly.

Similar Threads

  1. Reaktionsmatrix / String
    By poe_79 in forum zenon Supervisor
    Replies: 2
    Last Post: 31st March 2014, 08:05
  2. String in Byte-Array
    By rooswald in forum Drivers
    Replies: 2
    Last Post: 21st May 2013, 07:31
  3. String length field for STRING variables.
    By stolyarov_as in forum zenon Supervisor
    Replies: 3
    Last Post: 11th January 2013, 07:49
  4. String Input
    By acko01 in forum zenon Supervisor
    Replies: 9
    Last Post: 10th March 2011, 00:02
  5. String/text display
    By scotttee in forum zenon Supervisor
    Replies: 1
    Last Post: 19th March 2009, 09: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
  •