using the syntax above, but replace my examples with your actual tags and values. Next, under Global Connections>Macro for Remote Macro1 select the Exprn. Next, create a HMI tag that you want to change when you press the button or select an existing one.įor my example I'm using HMI_Digital_Tag_To_Change. The current Display number will now always be written to this tag. exactly as I have just typed it, brackets and all. Go to Global Connections>Display>RemoteDisplayNumber and assign it the tag. Using this current Display number, you can locally change a tag value using a Macro, or remotely in the PLC using logic.Ĭreate a HMI tag of Analog type and call it Current_Display_Number, for instance. RemoteDisplayNumber is usually for reading the current Display number in a PLC but can be read just locally. Yes, you can do so, but you do have a couple of options here.Īs mentioned, you can use the Global Connections>Display> RemoteDisplayNumber to ascertain when the Display number you want to navigate to, with your button, is currently active. But to answer your original question about using a Macro.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |