You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

PLC training tools sale

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Unread June 7th, 2019, 08:17 AM   #1
Archie
Member
United States

Archie is offline
 
Join Date: May 2002
Location: Orangeburg, SC
Posts: 1,912
PLC Benchmarking

This is a bit of an academic exercise and more so a curiosity, but I created a couple quick program tests to see how program processing time varied amongst different PLCs. My test was very simple. I loaded a small intensive program into the PLC, then checked the program scan time. It is a very basic test and doesn't give the whole picture of a PLC, but gives a comparison from one aspect.

The first program was a math test that multiplied 2 Real numbers, then converted to Dint. It was done for 100,000 elements. This is the code in AB format
Code:
FOR i:=0 TO 99999 DO
	DINTResult[i]:=(REAL1[i]*REAL2[i]);
END_FOR;
The second test was a worst case bubble sort of 1000 elements.
Code:
Result[0]:=2;
Result[999]:=-1;

REPEAT
	swapped:=0;
	FOR i:=1 TO 999 DO
		IF (Result[i-1]>Result[i]) THEN
			Temp:=Result[i];
			Result[i]:=Result[i-1];
			Result[i-1]:=Temp;
			swapped:=1;
		END_IF;
	END_FOR;
UNTIL (NOT swapped)
END_REPEAT;
The main reason I am posting here was to see if I could interest anyone in testing on different platforms and posting the scan time result. Since I do not have access to every PLC and platform, I would like to see if anyone would be willing to run these tests and posting their results. Just to list a few platforms I cannot test:

Siemens
Newer Omron
AutomationDirect
B&R
__________________
Expectations lead to disappointment. Appreciation leads to satisfaction.

AdvancedHMI - HMI Software without the license key hassles
  Reply With Quote
 
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
Mitsubishi PLC died. Twice. JRoss LIVE PLC Questions And Answers 11 January 29th, 2019 09:35 PM
More questions about RSemulator, PLC network, and career path... timcph2008 LIVE PLC Questions And Answers 0 March 8th, 2018 11:04 AM
PLC Update - Back Issues Collection Now Available! Phil Melore LIVE PLC Questions And Answers 11 October 22nd, 2015 02:17 AM
Siemens PLC won't auto-run after power-up Lamboom LIVE PLC Questions And Answers 5 August 19th, 2014 04:32 PM
PC to PLC Protocol TheRixta LIVE PLC Questions And Answers 13 December 17th, 2008 12:56 PM


All times are GMT -5. The time now is 12:04 AM.


.