Neel Moor

Floating Numbers in Structured Text GX Works2

2 posts in this topic

Hello guys,

I'm in the need to use floating values and do some arithmetic operations with it, as well as comparisons, do you know which function allows me to do that in ST? Or what is the way to do it?

If you have an example that would be great,

Thanks a lot for your help guys,

 

Share this post


Link to post
Share on other sites

I'm no ST expert, but you have access to all the instructions (as well as comparison and arithmetic operations) in ST as you would in other editors in GW2 so you have no problem there. I've attached a simple IF example with a "Less than" comparison.

ST.png

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