Jump to content

Recommended Posts

Posted

Hi guys,

Have any of you tried to create a log file to store each time the value of a ZR register (recipe parameter) has been changed and the old and new values? I want to create a log that exports to a file on the CF of the HMI maybe.

Thanks,

Andrei


Posted

Actually I found options in GT Designer to do the log. I need just a trigger. I want that trigger to be the value change of ZR1200 but i'm having trouble conceiving 2 lines of software that pulse a bit when ZR1200 changes values. Any suggestions?

Posted

Something like this seems to do the trick. It compares the value used in a recipe with another register that is used to store it just for this. If not it triggers M7195 that is called in the GOT LOG as a trigger to LOG. Hopefully it will work and log ZR1200 ZR1204 and ZR1205

Test.jpg

Posted (edited)
Just now, Andrei Blagaila said:

Something like this seems to do the trick. It compares the value used in a recipe with another register that is used to store it just for this. If not it triggers M7195 that is called in the GOT LOG as a trigger to LOG. Hopefully it will work and log ZR1200 ZR1204 and ZR1205

Test.jpg

I not big fan of the Invert (ctrl+alt+F10) in the ladder.

I would rather use the not equal  "<>" instead of  "=" and remove the invert.

But ok, yes it will Work for you.

Edited by Dariusch

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
×
×
  • Create New...