Support Center - Help topic

Home > Support Center > Search > Help Topic
Contact Us
Can't find what you're looking for in our Tech Support Library? Send us a message.
Contact Us
How to initialize data on my PLC from the HMI at power on?
Tags: FAQ Data Macros

There are several ways to accomplish this. To set a few registers or bits you can place Set Bit or Set Word objects on the common window (window #4). These objects have an option for Set On when window opens:

Because the common window is always visible objects placed on this screen will be triggered once when the project starts.

Another option is to use a macro. The SetData function can be used to write directly to PLC registers:

And the macro editor includes an option to Execute one time when HMI starts:

Content Created by Mike Sheldon