Technical Forum

Process Control System - APACS+

Reducing PCTCOM

Thread Starter: Gabe   Started: 5/27/2011 2:34 PM   Replies: 2

« Previous thread Next thread »
Page 1 of 1 (3 items)
  5/27/2011, 2:34 PM
Joined 11/20/2006
Last visit: 5/17/2013
Posts: 15
Rating:
Rated: Excellent [5 out of 5 / rated 2 time(s)]. (2) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
My PCTCOM is ~16% for a scan time of 1s.  This seems to be very large considering;
1.  No HMIs (IO Server) are running.
2. No READ blocks are used.

The module version # used is 3.42 QLCCM.

Any ideas what might be causing the high communication load?  How can I reduce it?  Is this normal?
Thanks
Gabe
Top
  5/27/2011, 2:41 PM
Joined 11/20/2006
Last visit: 5/17/2013
Posts: 15
Rating:
Rated: Excellent [5 out of 5 / rated 2 time(s)]. (2) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Just to add to the story.

I transferred a fresh new standard configuration (none of my stuff included) to the controller and the PCTCOM increased to 26%.
Any thoughts?

Gabe
Top
  5/27/2011, 5:45 PM
Joined 12/20/2005
Last visit: 4/23/2013
Posts: 78
Rating:
Rated: Excellent [5 out of 5 / rated 3 time(s)]. (3) 
Users with special expertise supervising conferences
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Gabe,

This is perfectly normal operation. The controller scan is made up of two parts: the configuration loop and the background tasks.

1. The configuration loop consists of the user’s configuration (function blocks, ladder logic, structured text, sequential function charts). It is the time it takes 4-mation to scan from cell A1 to cell AF32 on the resource sheet (e.g., PROG_T).

2. The background tasks contain all controller communications (responses from communication block requests and presentation block requests from other resources, requests from APIs, HMIs, 4-mation, etc.). They are performed during the time left over between the configuration and the start of the next scan (e.g., SCAN_RATE - PROG_T).

Each background task is limited in the number of messages or requests it can process in each scan. Each background task does not consume the same amount of time, and there are multiple background tasks executed each scan. The user is guaranteed the execution of one program loop and two background tasks during each scan. If the time required to run this guaranteed minimum execution exceeds the scan time, a scan overrun will result. If the scan time is greater than the guaranteed minimum execution, the background loop will be run again and again until the scan time lapses. If while the background loop is repeating there are no messages or requests to process, the time is considered idle. If the user increases the SCAN input of the RSCSTAT function block, it is probable that the PCTCOM output will also increase not decrease. This is because the controller repeats background loops when more scan time is available. Since the background loops are being executed in this new additional scan time, and the program time stays the same, the percentage of background time PCTCOM increases while the PCTPROG decreases.

RJP

Top
Page 1 of 1 (3 items)
Actions