Were to learn to Script

I don't know that any PLCs support "scripting" directly. That said, many support other means of programming than the common ladder logic. You also have flowchart based, and I'm sure there are many flavors that offer some kind of C-esque procedural programming.

Scripting generally refers to writing code for a program that doesn't run on its own, and is often interpreted or "dynamically compiled" instead of compiled. In the context of most discussion here, scripting is talking about writing code that an HMI or program like Excel will execute. The purpose is to provide more programmatic flexibility than the host product natively offers.

To answer your question, most HMIs use VBA for scripting. Microsoft has cut support for this, so it'll eventually be a dead end (possibly replaced with a .NET equivalent that's syntactically similar). I would say: python, PHP, or Ruby for your general (non-HMI) scripting needs. IMO, perl's a knarly mess, but can be useful in a 'nix environment.

To answer your question, scripting shouldn't be too time consuming to learn. There are all kinds of resources online and books available for VBA. A good start might be making buttons and other objects "do stuff" in any MS Office apps.

vatersauto said:
Were to learn to Script on the plc side and what is scripting, is it hard to learn?? :eek: is it vb?
is there a website it free to learn script
:cry: Thanks
 
At my previous employment there was lots of script done with the CLX platform. I think its VB.
There are sights like this one for VB.
Of course Rockwell calls control logics a programmable automation computer, not a programmable logic computer
 
SMOKE said:
At my previous employment there was lots of script done with the CLX platform. I think its VB.
There are sights like this one for VB.
Of course Rockwell calls control logics a programmable automation computer, not a programmable logic computer

NOT SCRIPT IN CLX, it's Structured Text.
& it' Programmable Automation Controller, not computer.
 

Similar Topics

Hello all, Work has a copy of citec scada so as a side project i have been trying to set it up and running. I have hit a bit of a wall with...
Replies
2
Views
1,337
Alrighty, good morning all I have a situation, I have created a display in FTVS v8.0. It's for a 19" screen, so in order to get from the top of...
Replies
11
Views
2,797
SLC 500 is there a way to turn on outputs as if they were an array? Or something similar? Right now I have a 16 output card and am comparing...
Replies
8
Views
2,574
i need program my plc but i dont have the softwere,where i buy? thank you
Replies
3
Views
3,060
As most of ya'll realize its been 25 years since the Challenger accident. I had just walked into a Korean language class in college. I had lived...
Replies
40
Views
10,979
Back
Top Bottom