KB-18166: Changing color in a figure according to a double point’s value.
Question: In my application, there are two PLC tags indicating the status of a circuit breaker (double point). How can I set them so a figure shows a certain color…
Question: In my application, there are two PLC tags indicating the status of a circuit breaker (double point). How can I set them so a figure shows a certain color…
Question: How can I disable Click() event via space bar in certain buttons of the application? (That is, I want to keep E3 from interpreting the space bar being pressed…
Question: At runtime, how can I change the picture loaded in a button’s Picture property? Solution: To do so, use LoadPicture method. Example: Screen.Item(“CommandButton3”).Picture = LoadPicture (“D:\TEMPPuc1.bmp”)
Question: What is the best way to create 500 different Displays on screen? Can I do this automatically, or only manually? Solution: To do so, there are two possibilities: At…
Question: How can I make a text slide on screen? Solution: To do so, you must first create a RampUp demo tag on Viewer. Then, on screen, add a display…
Question: How can I perform a Sequence of Events (SOE) in E3? Solution: This can be done in two ways: via alarms settings, or via I/O Driver’s OnTagRead event. How…
Question: What is the maximum amount of fields a Historic can have in an E3 application? Solution: It will depend on your database. SQL Server accepts up to 1024 columns…
Question: How can I set a historic to record data in the database only when there is an event, and not automatically/by scan? Solution: To do so, go to Historic…
Question: How can I delete all the records from a database via E3? Solution: To do so, you have to create a Query and, in it, set up the SQL…
Question: On a frame, how can I open a screen on another frame? Solution: To do so, you can use a script with methods GetFrame() and OpenScreen(). Example: Application.GetFrame(“”).OpenScreen “NameOfTheFrame”,…