Forum Replies Created
-
AuthorPosts
-
MikhailModeratorYou can call the HourStarted function inside your own custom functions. It is auxiliary.
MikhailModeratorThe CountPulse function should be used in a channel of the calculated type. It should refer another channel. If the 2nd channel changes from 0 to >0, the 1st channel is increased. Check the source code in the Scripts table.
MikhailModeratorEveryXXX function is executed many times a second. When a time is elapsed, the method passed as an argument is executed. Find the source code of the EveryPeriod function in the Scripts table.
MikhailModeratorHello,
Please ask questions in proper different topics.January 2, 2025 at 12:47 pm in reply to: After using Rapid Scada, individual ideas make suggestions #15885
MikhailModeratorThank you for your thoughts.
Item 2. You can. Try Ctrl + C.
Items 1 and 3 have been added to the back log.
MikhailModeratorWhen a command is sent, an output formula of the channel is executed. In that output formula you can write a value to the channel as discussed above.
MikhailModeratorNote that executing external scripts is not secure. They can hang, or can be modified by an intruder. It’s better to interact with other services via API or industrial protocols.
MikhailModeratorHello,
The general algorithm is as follows:
1. Send a command via the web interface.
2. In a channel, use an output formula that executes a script.
3. As shown above, the channel’s output formula should run a command likeProcess.Start(@"C:\SCADA\1.bat");Ask for more details if needed.
January 2, 2025 at 12:39 pm in reply to: Add OPC DA error:’OpcRcw.Comn.IOPCServerList2′ No such interface supported #15881
MikhailModeratorIt means exception throw in OpcNetApi.dll. Maybe OpcNetApi.dll not implement the requirement interface(IOPCServerList2, I found project B implement and it doesn’t use OpcNetApi.dll)?
Sometimes it’s possible. If an OPC server implements not all required interfaces, some OPC clients work with it, others don’t work.
January 2, 2025 at 12:38 pm in reply to: I would like to inquire about the Service control command failed message. #15880
MikhailModeratorHello,
Please provide a screenshot of the error.
MikhailModeratorWhere do I have to enter the program call so that it can be called by the UI? In views? How?
If you need to execute some external app from the web interface, there should be another approach. Please create a new topic to discuss it.
December 31, 2024 at 8:46 am in reply to: How to control LED flashing through the digital output(DO) port #15863
MikhailModeratorFor example, if some channel value > 0, the module can send commands to switch a led. Use a channel data trigger for this purpose.
MikhailModeratorHello,
The mentioned article provides basic information about using formulas. You can create your own scripts and formulas.
Check the Scripts table of the HelloWorld project for the examples.
MikhailModeratorFind ExtExternalTools in the Administrator options, and configure the extension properties.
MikhailModeratorHello,
I am also interested in the possibility of creating a pure CSV file without an XML header.
Could you provide an example of the existing file you get and a file you need?
Is it possible, like the other plugins, to integrate the function into the frontend
In the modern Administrator app, there is ExtExternalTools extension. Using this extension, you can add custom command to run command line utilities from the UI.
-
AuthorPosts