Novice PLC scripting

dlweber

Lifetime Supporting Member
Join Date
Oct 2014
Location
PA/OH
Posts
405
If 95% of our PLCs are AB (micro 1500, slc5/03,04 make up the bulk) what would be the language to learn to use scripting?

Also to move towards the future we will most likely start getting more CompactLogix and ControlLogix
 
If 95% of our PLCs are AB (micro 1500, slc5/03,04 make up the bulk) what would be the language to learn to use scripting?

I'm not sure exactly what you're asking – since the models that you've listed don't support "scripting" ... (which Allen-Bradley refers to as Structured Text) ...

Also to move towards the future we will most likely start getting more CompactLogix and ControlLogix

those platforms DO support Structured Text - but – here's just a friendly word of advice ...

IF (big IF) you're going to be writing this code for paying "customers" – be sure to check with them before you go too far down the "scripting" path ...

some experienced customers will write their specifications to totally prohibit anything other than "plain vanilla" Ladder Logic ... (they want their on-staff crew to be capable of maintaining the machinery) ...

some other customers who've just been "burned" won't ever invite you back again for another job ...

on the other hand, if you're going to be writing the code for your own company's use, then you probably won't have to worry about fussy customers ...

anyway ... here's a link which might help get you started ...

http://literature.rockwellautomation.com/idc/groups/literature/documents/pm/1756-pm007_-en-p.pdf

DISCLAIMER:

personally I have ZERO complaints about Structured Text, Function Block Diagrams, Sequential Function Charts, Equipment Phases, and all of the other "bells and whistles" that are being used nowadays ... I'm just telling you what I'm hearing from my customers – but I'm leaving out the expletives which they normally use ...
 
Last edited:
Good advice, my customer is my company we do a lot of our stuff in house. I haven't brought up the possibility of using yet because I have not needed to yet, and I am not sure where to get started (have not gone to your link yet)

But you pretty much answered what I was asking from your answer is it safe to assume that Logix500 does not support ST or is it just the models I have listed.
 
you are correct ... RSLogix500 software does NOT support Structured Text programming – for ANY of the hardware platforms that it is used on ...
 
I glanced through the PDF seems pretty straight forward code.

My main concern was I see posts coming up often talking about VB, which I do not know, and did not know if that was the Structured Text language. If so I would of started learning it

As I have mentioned in previous threads I am more used to the "coding" vs. " building ladder logic" so I figured if I am already comfortable with it maybe I start incorporating it into my PLC programming
 
Something you should ALWAYS remember,

Just because you know the programming language inside and out,
doesn't mean your maintenance crew does. If the machine goes down at all hours of the night and maintenance cannot understand the code, guess who gets the call to come in and fix the problem.

An OEM I used to work for had three programmers, myself being one of them.I have had to debug several programs written by them and it was not easy. one guy said a>b or a<b, never considered a=b. when the program stopped, there was 12 lines of code that could have created the problem. I finally went to the boss and had him rewrite the code so we could debug it. When the customer and I pointed out what was happening, he said I never considered these conditions. Another loved sequencers, masked moves, and no documentation.

regards,
james
 
That is a good point.

But in my case it is kind a of a moot point. There are really only three of us that deal with any of the newer programs. A few of the maintenance guys work with some of the old stuff. If one of the other two guys looks at the text they may not get it right away but I like to comment...a lot. That and they understand logic well enough to see IF tag 1 then action1 else action2.

The other factor is there is really only one machine that would warrant calling us in if it goes down and it is a SLC5/04 so the ST is not an issue. The other ones will slow down production but not halt it.
 
My main concern was I see posts coming up often talking about VB, which I do not know, and did not know if that was the Structured Text language. If so I would of started learning it

no, Visual Basic is not the same thing as Structured Text ...

friendly advice ... check into VB as another (completely separate) subject ... you're going to like it ...
 

Similar Topics

Hi everyone. I am an absolute novice when it comes to PLC's and am in need of some expert advice and i'm not sure where to start asking...
Replies
15
Views
6,479
hi guys, i have just signed up to this site after reading through it with much interest over the last few weeks. i am as the thread title...
Replies
30
Views
7,086
Hi Folks, I have recently completed basic PLC course from New Jersey institute of Technology. Anyone knows a good book for advanced programming...
Replies
3
Views
2,286
hi all. i have been working on a model railway set at college, its possible to control a full large scale system with tracks, signal lights...
Replies
10
Views
6,861
i m an engineering graduate in mechanical n now into computer networking.can i venture in to plc,n how should i go about it.
Replies
5
Views
3,449
Back
Top Bottom