Bhavin017

Data Register Gets clear after power cycle

10 posts in this topic

I am working on resolving issue in Press Machine where previous engineer has developed logic as per attached file.

the atatched screen of HMI can only access by Engineer and only Engineer can set value of SPM (Stroke per minute). Once switch is set on the SPM of any job can not go beyond set value.

The issue I am facing it when we power cycle, the switch get off and the register D2842 get SPM back to normal (set as per the die data) not by eng.

How I can hold that data after Cycle power?

 

1-1 Current issue.png

current issue in 1-1 hmi.png

Share this post


Link to post
Share on other sites

You'll need to Latch  D2842 in the PLC parameters. which controller are you using ?

Share this post


Link to post
Share on other sites

Posted (edited)

@GambitI am using Q13UDEHCPU PLC.

Also parameter setting is attached file

 

Current Parameter Setting.png

Edited by Bhavin017

Share this post


Link to post
Share on other sites

Posted (edited)

Then D2842  should be lachted, So it's either overwritten in the program (maybe an inital program) somewhere after a reboot  or the  battery has died.

Is there a yellow LED lit on the CPU? Can you check the parameters if the battery detection is disabled 

Edited by Gambit
1 person likes this

Share this post


Link to post
Share on other sites

let me check with the CPU and parameter and will get back to you. Thanks for your immediate reply @Gambit

Share this post


Link to post
Share on other sites

Posted (edited)

Sorry but I am new in this field so i will ask some stupid question and I ask your pardon in advance.

There is one more thing, what about the HMI Switch M635? because as per logic if that switch is off then R7444 value can not copy to D2842. and everytime Eng has to go to Press after power cycle to turn that switch ON. is there any way I can maintain status of that switch? 

 

Edited by Bhavin017

Share this post


Link to post
Share on other sites
1 hour ago, Gambit said:

Then D2842  should be lachted, So it's either overwritten in the program (maybe an inital program) somewhere after a reboot  or the  battery has died.

Is there a yellow LED lit on the CPU? Can you check the parameters if the battery detection is disabled 

I checked PLC and Battery is functioning fine. no LED on PLC for battery

 

Share this post


Link to post
Share on other sites
On 5-4-2024 at 5:24 PM, Bhavin017 said:

Sorry but I am new in this field so i will ask some stupid question and I ask your pardon in advance.

There is one more thing, what about the HMI Switch M635? because as per logic if that switch is off then R7444 value can not copy to D2842. and everytime Eng has to go to Press after power cycle to turn that switch ON. is there any way I can maintain status of that switch? 

 

Just Change M to an L device. Those are latched 

Share this post


Link to post
Share on other sites

Then I expect there is something in the code on start-up. chianging the values

Share this post


Link to post
Share on other sites

 

On 4/8/2024 at 2:49 AM, Gambit said:

Just Change M to an L device. Those are latched 

thanks @Gambit. its Working on simulation. Will try that logic on machine next week

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