WinCC Flex report printing

cjd1965

Lifetime Supporting Member
Join Date
Apr 2007
Location
UK
Posts
1,659
Hi
I am using Win CC Flexible 2008 SP3

I have a report "P08" that I am adding to a system that has other reports that print OK.

I have a PLC trigger tag of type INT. When the tag is 1 I wish to print the report.

I have added an event to the tags on change property to call a new script "Print_P08"

Code:
If SmartTags("P08.Trigger")=1  Then
PrintReport "P08"
SmartTags("P08.Printed")=1
End If

In the PLC I use the printed confirmation tag to reset the trigger tag

My report does not print.

I added SmartTags("P08.Test")=1 above the printreport "P08"
and the test tag does not turn on.

I have deleted the WinCC temporary files and rebuilt all..still the same

I am now at a loss and welcome ideas
 
Best guess

Look at the trigger tag in WinCC Flex. It should set to cycle cont to update all the time. By default it will only update when displayed on a screen.
 
Hi Charles
Thanks I just checked on my laptop and the tag was 'cyclic on use'. I have changed it to 'cyclic continuous'
 

Similar Topics

Hi all I am Using a tp177 to print an alarm report which requires a start and end time to be specified.I have created 2 internal tags for start...
Replies
0
Views
3,058
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
4,040
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,988
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,623
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,118
Back
Top Bottom