Citect,Licence problem

bshinde

Member
Join Date
Nov 2005
Location
pune
Posts
15
Hello All,

I am having a strange problem with citect.I have generated report using a exe.In VB.
The exe runs fine in DEMO mode but whenever i Put on the dongol(Hardkey),the exe.do not execute.No API calls are generate as i have take citect tags in VB.

FYI i have not installed the licence i have only pluged in the Hardkey.
please can one help me on this.

Thanks
BPS
 
Hello,

Yes i have a vaild dongle ,i had inquired with my local citect support,they said that i have a HMI licence were as API calls are supported only for SCADA .Now any one know what exactly is the difference between HMI and SCADA licence.
 
Now any one know what exactly is the difference between HMI and SCADA licence.

Same thing - as is a touch screen etc - HMI = Human Machine Interface.

Try running the Sentinel driver again with the dongle on the printer port. I would suggest you disconnect evrything els from the printer port first.
 
Hello,

there are some big defferences between a HMI license and a SCADA license.

- HMI is cheaper
- HMI Doenst support networking
- HMI comes with a limited set of drivers
- HMI doesnt have any connectivity license's (so no api connectivity)

when you run CItect in demo mode you have 2 connectivity license's but when you add the dongle you dont have any so you cant connect.

it might be possible to add a connectivity license to your HMI-key. you should check with your citect office.

Greetz,

Marsupilami
 
thanks for all that,


but for now ,can i directly fetch data from cicode to Excel sheet.
if i want to write a code for generating report,which scripting/coding tool you would refere,i.e CiCode or CiVBA.

thanks
bhushan
 
dont know if the link excel - citect requirs a connectivity licence ...

if you want to write a report you can use both language's it is just what you prefer.

i would chose cicode because i know that one best and it is native to citect, vba is only add later on.

Greetz,

Marsupilami
 
Greetz,

MarsupilamiBut if u dont mind can u send me some sample code in Cicode ,about transfering data from citectHMI to Excel.I need a reference to start with one.


thanks bhushan
 
Greetz,

MarsupilamiBut if u dont mind can u send me some sample code in Cicode ,about transfering data from citectHMI to Excel.I need a reference to start with one.


thanks bhushan
 
I can think of 2 way's to transfer data to excell.

the choice will depend on what kind of report you want.

the first one is explained in the DDEFORMU.XLS in the bin directory. it lets you read tag values and trends from excell. But you should check if it is possible wit a HMI license.

the other one is creating CSV-file from cicode.

this code is out of my head so it is not complete and will not compile.

hFile = fileopen()

filewriteln(hFile, "Time, Tag1, Tag2, Tag3")
filewriteln(hFile, "12:20, 15, 12, 12")
filewriteln(hFile, "12:22, 15, 18, 17")

fileclose(hFile)

when you open the file in excell and set the seperator to a "," you will see a table with the corresponding value's

another solution is to use the reports from citect, but i am guessing they dont fill your needs.

Marsupilami
 

Similar Topics

Hello, I have a running project on Citect v5.42 and simatic net v6.4 I have created a new spare PC and loaded all software like Citect, station...
Replies
0
Views
68
Hello everyone, In a factory where we installed Citect 7.20 the computer began to show the first signs of end of life. They never considered...
Replies
0
Views
73
I have a running backup of Citect and plc and I want to make a spare PC station so I have installed the win XP and somatic net v6.0 and import the...
Replies
3
Views
121
I am trying to display a variable within a cicode function onto a graphics page. This function queries a SQL database. I can get the value onto a...
Replies
3
Views
286
Looking for some help with the connection issue between Citect 2018 and Top Server v6 for Opto22. I’m setting all this up to communicate with some...
Replies
0
Views
118
Back
Top Bottom