How to retain parameter settings during power cycle

How to retain parameter settings during power cycle
none 0.0 0
  • HMI Model: cMT2078X V2
  • EasyBuilder Pro Version: 6.10.01.323
  • this hmi is communicating directly with a yaskawa vfd over ethernet ip. everything works great. there is a slight inconvenience with the written data. when the hmi power cycles the memory is cleared. is there a way to set the register to retained so that the hmi stores settings?

Can you please provide the following information?

  1. Which Ethernet IP driver in EBpro are you using to talk to that VFD?

  2. You stated, “hmi power cycles the memory is cleared.” I assume it is “LW” registers in the HMI memory. If not, what do you mean by “the memory” in this case?

  3. You stated, “is there a way to set the register to retained”. If you need any retentive registers in the HMI memory, you can use “RW” registers. If this is not the memory type that you’re looking for. Can you please elaborate?

  1. ODVA EtherNet/IP (Explicit Messaging)
  2. No internal HMI memory registers are used. The HMI objects are RW directly with the VFD.
  3. This is the memory type I need so long as the data is retained through a power cycle. Is there a way to write data from HMI memory to VFD ethernet addresses?

I would recommend you send your sample EBpro project file and the Yaskawa VFD Ethernet IP user manual to our support team. Let the team know what EIP addresses you want to write to by transferring data from HMI memory RW registers to the VFD addresses.

Hey Tim. I was able to get the RW0 and RW1 registers to set the EIP addresses via a macro to get and set data. Unfortunately, the data is still clearing after power cycle. Am I missing a setting or something else for retaining the data in the RW registers?

Hi @Jdutt,

By default, data stored within the HMI’s RW memory will save within flash memory at 1 minute intervals to prolong the hardware lifespan. If you power-cycle the HMI before this data is saved, the most recent value will not be transferred at boot. To, force the HMI to save data, you can set system bit LB-9029 from off → on after entering the desired values. Here is a tutorial in which we discuss this topic in more depth: Link

Wow! Thank you for the information. All is working now.

1 Like

Ok, back at it. The RW register is storing the data as intended. I am using a macro to get and set the data to the VFD registers. Giving the run command to the drive works but when the macro executes, the run command is removed. There seems to be other erratic behavior causing buttons to run the drive even though they are addresses to different registers. BTW, the macro is only used to write the pressure command.

Hi @Jdutt,

It is a difficult to determine what may be causing this issue without viewing the code. Can you please post a screenshot of the macro code so that we can evaluate it? Also, do you have any other mechanisms that would write to the command register ~ either in the PLC or HMI?

Sure thing. Here is the driver, tag, and macro configs.

Hi @Jdutt,

Thank you very much for the quick reply. Also, we have received your email in reference to the same issue in our support system. We will assist you with this issue via email to expedite a solution.

Sounds good. I would just like to make sure the solution gets added to this forum for future reference.