Structured Text Execution

Join Date
Feb 2013
Location
Karachi
Posts
14
Hi,
I am developing software for a new plant we are working on, hardware that we are using is APAX-5520KW PAC from Advantech. Up until now I only programmed using ladder/FBD and occasionally writing C scripts for customized functions. This particular project requires bit of a complicated control scheme with some motion control as well, which makes ST a preferable choice. This is also the first time I am using PAC (soft PLC) instead of regular PLC's
Now my questions regarding ST are

  1. What determines the scan time of a program written in ST?
  2. When a function is called in ST, does execution of parent function stops until the called function returns?
  3. My hardware becomes unresponsive if I use a timer inside a WHILE loop, does this mean that the CPU stops execution of rest of program once it enters a WHILE loop?
Any other tips regarding ST, and links that provide examples will be greatly appreciated.
Thanks in advance,
Anas
C&M Engineering
www.pakplc.com
 
1 the number of instructions
2 yes but that is with all languages the same a processor can do only one thing at a time.
3 as long as the while is true yes.
 
im downloaded the OSCATBasic DOc. ENglish version 3.33, looks like their is a wealth of info in their, thanks shooter.
 

Similar Topics

Good morning. I'm doing a rehab and I need to recycle some part of the old code that won't change and that I need. This is a calculation that...
Replies
22
Views
1,338
(subtitle: should I bother with structured text? AKA: Panasonic FP gurus please contact me.) Newbie question, but hope someone can help me...
Replies
12
Views
8,516
I have an expression in a structured text routine of a Logix controller that looks more or less like the following: ResultInteger := Integer1 *...
Replies
13
Views
373
Good evening. I display the step number of a SFC on a display. Sometimes, on a trip, it goes quickly through many steps and I need to prove to...
Replies
1
Views
108
I am trying to set up a piece of equipment with a Horner HE-X4R. I'd like to use structured text and so far I'm just trying to get a basic On/off...
Replies
0
Views
64
Back
Top Bottom