Citect Download

0 views
Skip to first unread message

Mariela Coxon

unread,
Aug 3, 2024, 4:22:12 PM8/3/24
to netridena

I am struggling with a Citect SCADA read of some data. The system is using the "Modnet3" driver over TCP/IP to talk with a system (Modnet 3 as its TCP/IP with first register at 0 and 0 to 15 bits). I am reading the modbus data into variables which is working fine for the analogue values all defined as real in citect.

The Issue I have is that the driver help says I can direct reference a bit in a word, in my case address 45052.1 Holding register 45052 and Bit 1. If I read this as a UINT I get a value of 147 corresponding to bits 1,2,5 and 8.

2. Create Variable tag with word and bit in word (For Modnet3 address start from 0 and have bit 0 - 15 that means in you need to read device that start address are 400001 you should assign in citect as 400000).

By using data socket mechanism, I believe we can execute, but what kind of arrangements need to be done on the citect side. Is it likely that a OPC server would be running on citect side, so that Labview can act as a OPC clien? how can I implement this?? I have gone through NI Demo OPC Client.vi,Browse To OPC Item.vi examples.

I tried to search for a Citect PC (personal computer) , did you mean PLC? If it a PLC you will want some kid of OPC server client such as NI OPC servers (or possibly a citect OPC server? Once you have the tags on the OPC side of the equation you will be able to bind to them from another computer using datasockets. You can do this by going to the control on the front panel that you want to bind >> right click >> choose properties >> go to the the data binding tab >> choose datasockets under the data binding selection >>click browse >> navigate to remote systems >> look under the OPC server that handles the citect tags that you configured. Setting up the OPC part of the citect I think depends. What I know if it so far is that there a few ways you can do opc, either through the citect opc 2.0 compliant server or through the Citect SCADA. What kind of software do you have for this Citect device to publish to a tag? Is there an exact PLC that you are using from Citect?

Hi Andrew, thanks for your time. Its a PC only, not PLC and has citect SCADA on it. I believe the data coming from the PLCs and written to the tags and want to access one of those data. Do you think OPC server must be running within Citect scada? What kind of arrangements need to be done on citect PC in order to gain that data on Labview side using datasocket(by opc url) or through databinding option?

I think the best thing to do in this case is to use the "browse to OPC Item.vi" to see if the OPC Scada is setup to host the tags of your PLC. When you run the vi on the PC with the Citect Scada, if you don't see the OPC server then it may not be configured correctly. This is something that you may want to talk to Citect about to help you configure it correctly if thats the case. Once you can see the OPC Server with the tags for your PLC, you want to then either use Shared Variables or Datasockets. You can use Datasocket Read Vi's to read the tags once you find them using the vi in "Browse to OPC ITem. vi" or you could bind to the PSP URL of the OPC tag by creating a project >> Library >> Shared Variable. Going into the variable properties and selecting "Enable Aliasing" >> Browse to PSP URL >> Hit the browse button and browse to one of the tags under your Citect OPC.

The best thing to do when you have your Citect Scada Tags setup is to try to bind to them with shared variables on the computer that you have LabVIEW on. You may want to contact Citect about setting up the Scada Tags, but to bind to them you just create a library, create a variable, then go into the properties of that variable, select bind to alias, then browse for the Tags on either your computer or in this case a Network connected Computer.

I am also trying to do the same but I don't know how to see the tags or import them in Citect. If anyone of you can help, its an old post but I am expecting that you guys must have solve the problem till now so its worth asking here i guess.

c80f0f1006
Reply all
Reply to author
Forward
0 new messages