chrisb4748

Create Number Order FB on GX Works3

2 posts in this topic

Hi,

I am trying to create my own function block on GX Works 3.

What I am trying to do is create a function block to place my inputs in order of how many is in them.

In my uploaded image are going to be my inputs.

So I am wanting to place them from highest to lowest depending on how many have been counted in my inputs.

Can you please advise on how I should go about this. 

Many Thanks.

Capture.PNG

Share this post


Link to post
Share on other sites

You don't need to create a FB. There is already a sorting instruction available in the PLC.

 

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