Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure
AVEVA Plant SCADA Forum
A support forum for AVEVA Plant SCADA (formerly Citect SCADA). Share new and exciting product information, connect, learn, and collaborate with the ecosystem of Plant SCADA Users. AVEVA Plant SCADA a reliable, flexible and high-performance Supervisory Control and Data Acquisition software solution for industrial process customers. This forum is to connect, share, learn and collaborate new and exciting product information. Feel free to join and share to your Ecosystem of Plant SCADA Users.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-04-30 01:07 AM
I have written a Cicode function to rotate an object. Currently, it runs through a button press, but I want it to run automatically through a PLANT SCADA event. How can I configure this?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-05-04 09:02 PM
Hi @Dilhan,
I'd recommend taking a look at the following help sections (and sub sections):
https://docs.aveva.com/bundle/plant-scada/page/1095491.html
https://docs.aveva.com/bundle/plant-scada/page/1095492.html
You need to enable events on the machine by setting in the Citect.ini [Event]Server=1, then decide what process the Event will run in. This is decided in the Citect.ini under the specific section, e.g. if you want the Event to run on the Client process, you define the Event name in the following section:
[Client]
Events="EventName1","EventName2",...
Note: All events that have "Global" or nothing in the Name field are enabled automatically in the client.
You then need to look at the event Config and carefully define the trigger (and other fields as relevant). If you always want the even to run, then put "TRUE" or "1" in the trigger field.
Experiment with these settings on a small stand alone test project and it will become clear how they work. Please also note that Events do not support redundancy. If you require redundant capabilities, you should make use of the Report Server and embed any code within the Report file.
Let us know if you require any further assistance.
Kind regards
Olivier
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-05-04 09:02 PM
Hi @Dilhan,
I'd recommend taking a look at the following help sections (and sub sections):
https://docs.aveva.com/bundle/plant-scada/page/1095491.html
https://docs.aveva.com/bundle/plant-scada/page/1095492.html
You need to enable events on the machine by setting in the Citect.ini [Event]Server=1, then decide what process the Event will run in. This is decided in the Citect.ini under the specific section, e.g. if you want the Event to run on the Client process, you define the Event name in the following section:
[Client]
Events="EventName1","EventName2",...
Note: All events that have "Global" or nothing in the Name field are enabled automatically in the client.
You then need to look at the event Config and carefully define the trigger (and other fields as relevant). If you always want the even to run, then put "TRUE" or "1" in the trigger field.
Experiment with these settings on a small stand alone test project and it will become clear how they work. Please also note that Events do not support redundancy. If you require redundant capabilities, you should make use of the Report Server and embed any code within the Report file.
Let us know if you require any further assistance.
Kind regards
Olivier
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.
With achievable small steps, users progress and continually feel satisfaction in task accomplishment.
Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.
of