WinCC Flex Adanced copy and paste

Bent

Member
Join Date
Jun 2008
Location
Iowa
Posts
18
I need help writing a script or is there a funtion that I can program to a button that when pressed will copy date and time from a I/O Field to another I/O Field in WinCC Flexiable Advanced. Is this possible?
 
For the button, under the "press" event, add the "SetValue" action, for the parameters set the "Tag (out)" to the tag that is to be copied to, and set the "Value" to the tag that is to be copied from.
 
I did already attempt this but the I/O fields are tagged as bytes in a data block. They are all grayed out and I can not select them.
 
The tags that you want to copy are probably setup as array tags, and in that case you cannot use the SetValue function.

Maybe a script could do it, not sure.

I would trigger a call in the PLC to use SFC20 BLK_MOV to transfer all the bytes from one array to another array.
 
Yes, it is in an array. I think the block move is a good idea. I will give that a try. Thanks
 

Similar Topics

I'm continuing my Siemens education. I need some help with compatibility details. My customer has a machine that was made by a company no longer...
Replies
6
Views
3,984
Hello all. I mainly work with Siemens PLC's and panels for our machines. But now I am faced with a pilot project that has to be as price friendly...
Replies
15
Views
8,022
Hi Folks. I have an older application that weighs pallets and prints labels for them. We used to capture the time/date of weighing, but we...
Replies
2
Views
1,604
Hi, I have WinCC Felxible 2008 SP5 installed on my Windows 10. I want to program Simatic panel TP177B using USB transfer cable. But i can't...
Replies
8
Views
2,058
Hi, Is there a tool out there to convert exported CSV files from HMI Alarms to new WinCC tags with alarms ? Kind regards, C
Replies
3
Views
1,389
Back
Top Bottom