alikambali

Converting Ladder program to Structure Text

2 posts in this topic

Hi,

I'm new in Omron Sysmac Studio programming and hereby kindly need some advise related how to write an ENO output in "Structure Text" type.

I have a CONCAT function which if the process is "no error (eg. string length)" then output of ENO will set a variable. pls see below sketch.

 

         Start                ____________________                             Complete

----------| |---------------| EN    CONCAT     ENO |---------------------------( S )------|

                   String1--| In1                                 |--NewString

                   String2--| In2                                 |

                                 ----------------------------------

 

any idea most welcome.

Share this post


Link to post
Share on other sites

ENO just means the CONCAT FB executed.  So, in your structured text, right after the CONCAT structured text command executes, just set the variable on.  You can set the string to null prior to the concat and then make sure it is not null prior to setting the bit on.  

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now