Start here for access to our Knowledge Base to get answers to over one hundred thousand questions online in seconds.Find Answers
...See what we've been doing in some of our major markets.Find your Location
Access tailored services, 24/7 self-service and expert help. Anywhere, anytime, any project.Discover now
Everything you need to know about our IoT technology backbone.Learn more
Explore our global offerings or select your country from one of our five regions.Global
Découvrez nos offres globales ou sélectionnez votre pays dans l’une de nos cinq régions.
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.