Logix Designer Scripting

ceilingwalker

Lifetime Supporting Member
Join Date
Mar 2010
Location
Phoenix, AZ
Posts
1,586
Hello all. I have a Danish program that has a lot of AOI's that were created using structured text. There are a few arguments that I am not entirely familiar with. Would anyone know if RS has a reference manual for their scripting? I have searched online but can find nothing. Thank you.
 
Have a look at this although it is basic it might give you some information.
ST is a bit like Basic or Pascal (pascal because of the ; at then end of each line as well as :=). There are some oddities in some platforms i.e. there may be some in-built instructions that are a little unique to that platform as well as some functions that only work in Lad/FBD.
https://www.plcacademy.com/structured-text-tutorial/#syntax
For RW specific:
https://literature.rockwellautomation.com/idc/groups/literature/documents/pm/1756-pm007_-en-p.pdf
The idea of structured text is two fold, 1 cross platform applications where an ST program or part of can be used in a number of different PLC's (I suspect each supplier is not too keen on this and because of different platforms will use different ways of interacting with hardware it will take time to be truly portable).
Supposed to be easier to understand (personally I find some code is easier to write others not. I recently did a function (AOI) where I found it quicker in FBD than it was to write the same code in ST). Personally, I like Lad/FBD because I find it easier to monitor and that's coming from a person who cur his teeth on C, Basic & Pascal.
 

Similar Topics

How do I organize the template for my controls. I am new to Logix Designer but have used RS500 and RS5000. My new Logix Designer has Toolbars...
Replies
8
Views
224
Hello, Im building project with 1756-L82ES controller and 1756-IB16S card but i cant find it when trying to add the card to IO configuration...
Replies
3
Views
134
Does anyone know how to set the background colors of instuction blocks (TON, MOV, etc)?
Replies
1
Views
130
Hello all, I'm trying to use the Logix Designer SDK to upload and download a single ACD to many controllers. I got this to work fine copying...
Replies
0
Views
64
Hello, I am trying to connect a Stride Analog Output module to a 1769 CompactLogix via Ethernet. I added a new Generic Ethernet Module for the...
Replies
4
Views
229
Back
Top Bottom