Sign in to follow this  
Followers 0
NeuroPsyche

Logic Statements on Variables...

2 posts in this topic

I'm using an FX0N-60MR & an FX2N-4AD module for wind mill nacelle rotation control. I'm writing a ladder but am having difficulty writing the code for taking input #2 variable POT from wind vane and pluggin it into a variable, then using < = > . Does anyone have any sample code that could help me with greater than, equal to, and less then in a variable?

Share this post


Link to post
Share on other sites
On an old PLC like FX0N, you would use a FROM statement to get the reading from the analog module. Then you would use the CMP instruction to perform your comparison. www.meau.com Find manual JY992D48301 in the downloads section. This covers the commands. I am shocked an FX2N-4AD will work on an FX0N processor. FX0N is much older.

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
Sign in to follow this  
Followers 0