Chrisdude

Change an Integer. Really simple for you guys

5 posts in this topic

Hi all, I am sorry for such a simple question, but I am a c# programmer not PLC. However, my question is how do I change >=(325) to something like >=(10)?
I have tried everything I can see to edit this rung but to no avail. Could someone help me please?

Omron.jpg

Share this post


Link to post
Share on other sites

"325" is just an ID number for the instruction. In your example Cycle_Count will be compared to Challenge_C.... as Unsigned Integers. There are variations of the compare instructions. Double click the instruction then click Instruction Help for a complete list.

Share this post


Link to post
Share on other sites

To expand on that slightly, the ID number is used when using a handheld programming device (pendant) rather than using the software.  The programmer would press the FUN (function) key and then enter 325 and this instruction would be entered.

Share this post


Link to post
Share on other sites

@Chrisdude For your image attached that instructions mean [Cycle_Count >= Challenge_C..] If you need to change value to >= 10 you should change value in Challenge_C.. For instructions description please check at Help -> Instruction Preference -> "Your PLC series".

Share this post


Link to post
Share on other sites

Thanks a lot for your help guys.

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