Run Cicode in startup of Citect

joigunni

Supporting Member
Join Date
Jan 2011
Location
Iceland
Posts
52
how can I let my cicode run in startup of Vijeo Citect.
I have a button where I can choose between language on my program, but when I restart the progrma it starts always on orginal language. So I want to make cicode and run it on startup of Citect, any idea how to do that?
I can run it on startup of a page(properties/events/on page entry) but as I have many pages I don't want to run this cicode every time I change page.:unsure:
 
Read data from citect on excel

hi

I got a problem I trying to read data from citect but citect doesn't write to it, I don't what might be the problem.

Here is the code I wrote:

Function WriteExcelData( STRING sData);

INT hChannel;

IF hChannel >-1 THEN
hChannel= DDEhInitiate("Excel","Traing.xls");

DDEhSetMode(hChannel,2);

DDEhWriteLn(hChannel, "", "1,2,3,4");

DDEhWriteLn(hChannel, "R1C1:R2C4","5,6,7,8");

DDEhWriteLn(hChannel, "R1C1:R2C4","");

DDEhTerminate(hChannel);

hChannel =-1;
END;
END
 

Similar Topics

Hi, i am using DVP-14SS2 PLC, after program written to plc, when power is reset, plc doesn't run. always need to connect to pc for the run mode.
Replies
0
Views
33
Hello..I am new to Plc.I have Mitsubishi Melsec Fx3Ga-40MR PLC controlling a machine for packing powder.Currently the Plc has issue which power...
Replies
3
Views
145
I'm looking to get some spare keys for this PLC. Does anyone know a source or have a part number? My searches are turning up nothing at the moment.
Replies
1
Views
90
I have a few questions about Studio5000. 1. Why is my RA folder so big? its well over 100 GB. 2. How do you delete versions or extra files...
Replies
3
Views
286
Hello The plant is running and there is no shutdown nowadays therefore I can add 1734- AENTR and its card while PLC is in Run? I do not wanna...
Replies
8
Views
358
Back
Top Bottom