Andrei Blagaila

CVS file log not generated.

4 posts in this topic

Hi guys,

Yesterday I posted a question about how to create a trigger for a log. Now I have the next problem. I created my log, loaded the Logging firmware on the GOT but the CVS file is not generated. Can someone tell me what i'm doing wrong? I am attaching all the settings and the PLC part of the program. I want the values of ZR1200 ZR1204 and ZR1205 every time they change. They are recipe values. I tried also putting a button to create the log file on the HMI. Did not work.

 

Resource Data.png

Basic.jpg

Buton.jpg

Device.jpg

Drive Information.jpg

File Save.jpg

Project Data.jpg

Resource Data.jpg

PLC.jpg

Share this post


Link to post
Share on other sites

I found the problem if you are interested. I used a PLS command for the memory bit trigger. It was too fast. Created a delay of 1 second and it works.

1 person likes this

Share this post


Link to post
Share on other sites

@Andrei. I see you had rising edge Logging Bit command input executing the PLS instruction for the Log trigger. I always find this combination is tricky on long scan programs. Usually here you need one of the other.

Share this post


Link to post
Share on other sites

Or even better, handshake with the HMI:

1. SET your logging trigger

2. Map the 'Logging Notification Device' to an M contact

3. When this M contact turns on or any relevant alarms occur, RESET the logging trigger

This is much more robust than using a timer delay.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now