Sign in to follow this  
Followers 0
HMI.JR

SER Intsruction Help

4 posts in this topic

In the PLC I'm working on there is a SER instruction which i have never used or seen before. I read the help section on GX works 2 but am still a little unclear with it. The D2504 is constantly changing but i mainly am wondering where/ how the D2601 is generating the 85 below it. SER.thumb.PNG.96b6479f82a4f67a1f73f7ab0f

Share this post


Link to post
Share on other sites

 

From the manual: FX3 Series Programming Manual page 399 (link)

SER instruction.jpg

Edited by Bryll

Share this post


Link to post
Share on other sites

SER instrustion is a search function, in your example D2504 is the start of the search array, D2601 is the value it is searching for, D2501 is the position within the array it found the match, D2600 is the number of elements in the searched array.

The values in D2504 and D2601 are changing because somewhere in your program they are being indexed either directly or indirectly, you would need to find these to understand what is being achieved with this coding.

 

Steve

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