Help - Search - Members - Calendar
Full Version: Few basic questions regarding Citect
Forums.MrPLC.com > PLCs and Supporting Devices > General Topics - The Lounge > HMI & SCADA
rajsiyer
sad.gif

Of late, we have switched to Citect because it is cheaper than WW/ifix/Cimplicity and seems to have many more functions features etc but I face hurdles doing every little thing. So a few basic questions which I'll thank anyone for helping out!!

1. Regarding Input of analog values into citect at runtime, I know of only 2 methods... either the FormNumPad function or; Pasting the #### object, having its Value display and Input tags set to ####Enter to have the tag assigned at Value of Arg1 or ArgValue1. I dislike both methods The ArgValue1/Arg1 method shows the values being input only at the tooltip. Its barely visible!! and the FormNumpad method hides other data when you need to input. DOES ANY ONE KNOW How to make a simple Text Box for input?? as this is is the very least expectation from any Windows application!

2. Those of you who are familiar with Wonderware InTouch know of Application Scripts.. ie code which executes all the time(at set periods) during runtime. Now How or where does one write a code that executes at runtime, all the time?? I've tried Events and this I've found useful for executing only the tiniest expressions! Will Someone guide me to the Place Hidden in the Vast Interiors of Citect , where one can write a few lines of code and safely expect execution ALL the time during runtime?? withstupid.gif


I'll appreciate any help for ever since we migrated to citect, we are spending time in learning rather than earning.!! Maybe its good and I'm stupid.. but for now I find the going tough!!!

Raj S. Iyer
tragically1969
QUOTE(rajsiyer @ Mar 26 2009, 03:55 PM) [snapback]80382[/snapback]

sad.gif

Of late, we have switched to Citect because it is cheaper than WW/ifix/Cimplicity and seems to have many more functions features etc but I face hurdles doing every little thing. So a few basic questions which I'll thank anyone for helping out!!

1. Regarding Input of analog values into citect at runtime, I know of only 2 methods... either the FormNumPad function or; Pasting the #### object, having its Value display and Input tags set to ####Enter to have the tag assigned at Value of Arg1 or ArgValue1. I dislike both methods The ArgValue1/Arg1 method shows the values being input only at the tooltip. Its barely visible!! and the FormNumpad method hides other data when you need to input. DOES ANY ONE KNOW How to make a simple Text Box for input?? as this is is the very least expectation from any Windows application!

2. Those of you who are familiar with Wonderware InTouch know of Application Scripts.. ie code which executes all the time(at set periods) during runtime. Now How or where does one write a code that executes at runtime, all the time?? I've tried Events and this I've found useful for executing only the tiniest expressions! Will Someone guide me to the Place Hidden in the Vast Interiors of Citect , where one can write a few lines of code and safely expect execution ALL the time during runtime?? withstupid.gif


I'll appreciate any help for ever since we migrated to citect, we are spending time in learning rather than earning.!! Maybe its good and I'm stupid.. but for now I find the going tough!!!

Raj S. Iyer


1. I dont know of any way of entering data other than what you have mentioned, i dont mind the tooltip, i suppose if it really annoyed you you might be able to find the piece of Cicode in the include project which runs this function and modify it.

2. Write a function and use the event system you have already played with to run it however often you want to, or if it just local processing you need use a page cicode object to run the function, cicode page objects run all the time the page is open.

HTH's
rajsiyer
boxing.gif thumbsupsmileyanim.gif

Thanks tragic,(belatedly though)

I learnt something in the process. Happy to share this with you. YOU CAN USE TEXT-BOX.

In graphics builder, click on the active-X button in the toolbar. From the list of active-x controls select the MS-Forms-2 Textbox active-X object. An ordinary textbox lands on your page being built.

Double click this and you see a slightly modified properties window. Choose the Tag-associations tab and in the list of properties, check the "Text" property and then insert a tag in the expression window. It works fine.
It does not work with the "Value" property.

By this way, I've used spin-buttons, scrollbars and Labels etc to make Citect screens look less like something the cat brought in!!

Thanks for sharing what you know. It was useful and I have the same pleasure in sharing what I know. Pleas e go ahead and do well.

With best wishes for your happiness

Raj S. iyer

tragically1969
QUOTE(rajsiyer @ Apr 8 2009, 11:09 AM) [snapback]80867[/snapback]

boxing.gif thumbsupsmileyanim.gif

Thanks tragic,(belatedly though)

I learnt something in the process. Happy to share this with you. YOU CAN USE TEXT-BOX.

In graphics builder, click on the active-X button in the toolbar. From the list of active-x controls select the MS-Forms-2 Textbox active-X object. An ordinary textbox lands on your page being built.

Double click this and you see a slightly modified properties window. Choose the Tag-associations tab and in the list of properties, check the "Text" property and then insert a tag in the expression window. It works fine.
It does not work with the "Value" property.

By this way, I've used spin-buttons, scrollbars and Labels etc to make Citect screens look less like something the cat brought in!!

Thanks for sharing what you know. It was useful and I have the same pleasure in sharing what I know. Pleas e go ahead and do well.

With best wishes for your happiness

Raj S. iyer


No problems, be careful with the activex data entry and other activex controls, it has a reasonable overhead and can make pages slower if there is lots of it on there, also i have not found a way of limiting the amount of characters in an activex textbox

Also you cannot easily embed activex in genies.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.