Forum Replies Created
-
AuthorPosts
-
October 11, 2025 at 5:50 am in reply to: Auto Control Module – How to send command only once, without repeat #17149
CCKOH
ParticipantHi Manjey / Mikhail,
I’m able to solve the formula for auxiliary channel.
Channel Type: Calculated/output
Input Formula: Val()
Output Formula: SetVal(n, Val()+1)Thank you.
Regards,
CC KohOctober 10, 2025 at 3:01 pm in reply to: Auto Control Module – How to send command only once, without repeat #17148CCKOH
ParticipantHi Manjey / Mikhail,
The main problems here is due to the sensor value fluctuate during the water pumping. The sensor reading change from Medium to High and back to Medium again. This sequence s repeating and cause the sms to keep sending.
I’m wish to configurate an auxiliary channel to count the tank trigger. If tank trigger more than certain value, the sms alert stop. I’m configure auxiliary channel as
Channel Type: Calculated/output
Input Formula: Val() + Cmd
Output Formula: SetData()
When i’m send command value = 1 to auxiliary channel, the channel value not updated to 1, but error show “Channel 136 not found among output channels”. How to configurate the channel so that it will add up the command value send to the auxiliary channel?October 9, 2025 at 4:42 pm in reply to: Auto Control Module – How to send command only once, without repeat #17137CCKOH
ParticipantHi Mikhail,
Attach with the image link1) https://ibb.co/ch4Zy0FH – ACM Log
2) https://ibb.co/0p09MWcr – ACM ConfigurationCCKOH
ParticipantHi Mikhail,
When I open http://localhost on my ARM64 windows machine, the Windows Internet Information Services landing pages is loaded on the Web browser.
What does this mean? FYI, I’m don’t know how to configure on Windows IIS. Or this is the reason why I’m fail to load mimic scheme on ARM64 WM?
CCKOH
Participanthi Mikhail,
Just an update, Mimic Editor is able to run on X64 Windows Machine. ARM64 Windows Machine fail to run I guess might due to ANCM not yet supported to ARM64 achitecture.
CCKOH
Participanthi Mikhail,
I’m fail to run Mimic Editor on both ARM64 and X64 Windows Machine OS: Win11.PlgMimic show error Description: Error creating plugin interface PlgMimic of type Scada.Web.Plugins.PlgMimic.View.PlgMimicView from file C:\Program Files\SCADA\ScadaAdmin\Lib\PlgMimic.View.dll: Exception has been thrown by the target of an invocation.
When i’m click on the NewFiles.mim under View, it open to the web browser (http://localhost:10008/MimicEditor/MimicOpen?fileName=C%3A%5CUsers%5Ccckoh%5CDocuments%5CScada+Project%5CHelloWorld%5CViews%5CNewFile.mim) with error msg: localhost refuse to connect.
For this Mimic Editor to run, it also need to install web hosting bundle with ASP.net Core Module V2? currently ANCM not natively support to ARM architecture.
CCKOH
ParticipantHi Mikhail & Manjey,
Thank for the video link. It really look interesting, nice and add in lot of feature on the Mimic Editor.
The tablet is running Windows 11 and IIS is available. Do we need to do any configuration or setting on the IIS in order to run Mimic Editor?
FYI, so far on my testing, the Administrator app work well on the ARM64 machine.
CCKOH
ParticipantHi Manjey,
I’m also suspect is due .Net Framework 4.7.2 As far I know, Microsoft haven’t release any runtime for .Net Framework 4.XI’m currently running Scheme Editor via emulation on ARM64 and it is working. It so cool Rapid SCADA can run on my Tablet now š
In addition, do you have any idea to setup Mimic? When i try to run it on ScadaAdmin, it just launch to web browser listen to localhost: 10008, however nothing is show up. I’m guess is i’m not done anything configuration.
CCKOH
ParticipantHi Manjey,
So simple, I’m didn’t notice.
Thks you.CCKOH
ParticipantHi Mikhail,
Just for update, Process.Start function is able to run the shell script even with xdg-open command. The only thing is need to properly set the user access of the files.
Thank you.CCKOH
ParticipantHi Manjey,
Thanks a lot for your idea and guidance. This idea is working šCCKOH
ParticipantHi Manjey,
Thank for your reply.Can you give me some idea on how shall the formula work to solve this problem?
Can I Use input formula to detect output commands send by Auto Control module, if output becomes 1, then set channel status to 1? do you think this idea work?CCKOH
ParticipantHi Mikhail,
I tried using the Process.Start function with my .sh script, but it seems that this function does not support the command{xdg-open "$URL" >/dev/null 2>&1 &}
, which is intended to open a web link. However, that’s fine; Iām just using the URL-link function in the scheme view, which is more convenient and straightforward. The only drawback is that we cannot set object and role restrictions on the specific web link itself.Thank you very much!
CCKOH
ParticipantHi Mikhail,
“You can create a channel with an output formula that executes an external script to shut down the machine.”
Could you advise me on what formula can be applied to the output formula to execute the external script?
For your information, I’ve set up an Nginx web server to listen to http://localhost:8080, which is the web application using a shell command to shut down the Linux machine. Do you have any ideas on how to incorporate http://localhost:8080 into the output formula so that when the output format is set to execute, it will open the link?
Thank you.CCKOH
ParticipantHi Mikhail,
My idea here is to create a web application link on the channel table. The function of the application link is to shut down the machine. This feature cannot be accessed by everyone, only by the supervisor level. I’m thinking of applying object rights and roles on this calculated output channel and using the button on a scheme to execute this web application link. If the user logs in without the user rights and clicks the button, ‘Access Denied’ will be prompted by Rapid SCADA. The scheme is displayed in kiosk mode and I am setting it in Webstation so that it will be the first screen to load after login. -
AuthorPosts