{}

Our Brands

Impact-Company-Logo-English Black-01-177x54

Schneider Electric USA Website

Welcome to our website.
How can we help you today?
How do I call a ST program from another ST program passing parameters

DISCLAIMER

These sample programs are intended to demonstrate one or more programming functions or methods and are presented as programming examples only. Schneider Electric assumes no liability for the use or application of these example programs or any portion thereof.


Sometimes it is necessary to call one Structured Text logic program from another one.

The attached example shows how to do that.

Just import the attached SDE file and look at the code inside ST1 and ST2.

ST1 calls ST2 passing a string as parameter. ST2 uses that parameter to query the database and returns a result.

Schneider Electric USA

Attachment(s)
ST calling another ST with params.sde [573.87 KB]
Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.