Invite a Co-worker
Send a co-worker an invite to the Exchange portal.Just enter their email address and we’ll connect them to register. After joining, they will belong to the same company.
Send Invite Cancel
80821members
346893posts

CITECT SCADA 2018 Slow runtime

SKAD
Crewman
Crewman
0 Likes
7
2281

CITECT SCADA 2018 Slow runtime

I am Using M580 PLC & Citect 2018 Scada. Between PLC & SCADA communication is taking Place on MODNET. I am facing a problem of Slow update of tags on runtime hmi. In that case I would also like to mention that I have observed tag is updating its value immediately when I update its value from scada. But in opposite case if tag value is changed in PLC side it is taking more than 10 second to update on same hmi runtime. Please suggest ???

Tags (1)
7 Replies 7
BevanWeiss
Spock
Spock
0 Likes
5
2264

Re: CITECT SCADA 2018 Slow runtime

When you perform the control action from Citect, Citect writes this tag 'immediately' (at the soonest possible time) and doesn't wait for a general scan to occur.

 

However when you are updating the variable in the PLC, then Citect will only recognise and update this when it next scans the tag.  I assume that this scanning is only occurring every 10 seconds.

 

So you should check what your scan rate is set to (and consult the driver documentation).

If your end device, and network, and driver can support a faster scan rate, and you do indeed need this faster update frequency, then you could change the Citect config to poll the device quicker.


Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..
Tags (1)
SKAD
Crewman
Crewman
0 Likes
4
2262

Re: CITECT SCADA 2018 Slow runtime

Thanks for replying.

I have tried with some changes in ini file. can you please suggest what are the setting I have to check in citect  config to faster polling of device.

 

Tags (1)
RoozeeR
Lt. Commander Lt. Commander
Lt. Commander
0 Likes
3
2250

Re: CITECT SCADA 2018 Slow runtime

Communication performance, and the performance to the operator screen is influenced by multiple factors:

- Client refresh rate (default is 250 mS)

- Driver used (modnet)

- Driver type setting (Modnet, Modnet[20], Modnet[30], see documentation)

- Network bandwith (100Mb ethernet?)

- Number of variables communicated continuously (?)

- PLC used (M580 CPU type)

- CPU scan time (unknown)

- Other devices communicating with the same CPU (?)

 

When taking only the driver into consideration and you're using Modnet, check the [Modnet] maxpending and maxoutstanding parameters. For example set the maxpending to 8 and maxoutstanding to 8 or higher (16);

 

Check the information in the driver documentation or in:

https://gcsresource.aveva.com/Citect/driverweb/MODNET/modnet.pdf

 

Also you might consider to use OFS instead of Modnet. For new applications, OFS is easier to use in combination with M580 CPU's.

 

 

R.Roozee
Sr Solution Architect (SAE Master)
Tags (1)
SKAD
Crewman
Crewman
0 Likes
2
2240

Re: CITECT SCADA 2018 Slow runtime

@RoozeeR Kindly note the details as following:

 

- Client refresh rate (default is 250 mS)- If it is page scan time then it is 250mS 

- Driver used (modnet)

- Driver type setting (Modnet, Modnet[20], Modnet[30], see documentation) - here MODNET 30

- Network bandwidth (100Mb ethernet?) - 1GB

- Number of variables communicated continuously (?)-  Approx. 10K

- PLC used (M580 CPU type)- BME H58 2040 02.70

- CPU scan time (unknown)- 77mS

- Other devices communicating with the same CPU (?)- 2nos HMI Server, CPU 580-2 Safety PLC, 1 PRM with 8nos Profibus Node, 1 OPC Server

 

Also set maxpending to 8 and maxoutstanding to 8 , but problem remains. Please suggests.

 

 

Tags (1)
RoozeeR
Lt. Commander Lt. Commander
Lt. Commander
0
2227

Re: CITECT SCADA 2018 Slow runtime

According to your settings your application is limited in several ways. Most important: Modnet30 limits block read size to max. 64 words (see https://softwaresupportsp.aveva.com/#/okmimarticle/docid/tn8313)

Better to use OFS driver (OPC Factory Server) in combination with M580. For standard Modbus request, the block size is 125 registers and when max message length can be 1024 bytes (instead of 128 for standard Modnet30), thus decreasing the total amount of messages and increasing the performance.

OFS can also help optimizing the number of messages, specially when variable addresses are not in contiguous addresses.

 

As the max. number of messages processed per CPU cycle is limited, decreasing the max. number of messages will help, or increase the number of messages dedicated to Citect. The last is limited by CPU type.

 

In your 10K variables (if all %MW) could mean at least 10000/64= 156 messages. 8 per CPU cycle handled means 156/8= 20 CPU cycles (at least) to read them all. This means at least an update time of 20*77= 1.5 seconds (at least). But as you also have other communications, this number is the best case scenario.

 

Please read the TVDA "How Can I …Optimize OFS and Modicon M580 Ethernet Client/Server Performance?"

 

If you do not have this document, please contact your local Schneider Electric support organization. They can also support you to increase the overall performance.

R.Roozee
Sr Solution Architect (SAE Master)
Tags (1)
covey
Cadet
0 Likes
0
2192

Re: CITECT SCADA 2018 Slow runtime

When you perform the control action from Citect,

  • Citect writes this tag 'immediately' (at the soonest possible time) and doesn't wait for a general scan to occur.
  • However when you are updating the variable in the PLC.
  • Then Citect will only recognise and update this when it next scans the tag.
  • I assume that this scanning is only occurring every 10 seconds.
Tags (1)
BevanWeiss
Spock
Spock
0 Likes
0
2172

Re: CITECT SCADA 2018 Slow runtime

As noted:

  • Change Protocol Variant from MODNET30 to MODNET
  • Ensure latest compatible MODNET driver is being used
  • Set [MODNET.TCPPORTx] MaxPending =16 (or other as testing reveals suits)
  • Set [MODNET.TCPPORTx] MaxOutstanding =8 (or other as testing reveals suits

Other Citect.INI settings for the MODNET (both the generic driver, and port specific) should be left at their defaults (unless required specifically for successful communications)


Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..
Tags (1)