ratcliffe_ic

S5 STL to ladder question

2 posts in this topic

Hi, I have the following STL code in an old S5 processor, can someone tell me if I've transcribed it to ladder correctly please?

:O    F11.0
:O    F11.1
:(    I81.6
:AN    F11.2
:AN    F11.2
:O    I81.6
:A    Q64.3
:)
:A    I64.6
:A    I64.0
:AN    F3.6
:=    Q64.3


F11.0    I81.6   F11.2   F11.3    I64.6    I64.0    F3.6                  Q64.3
[ ]---------[ ]-----[/]---------[/]--------[ ]--------[ ]-------[/]-------------------( )
          |         |                         |
F11.1 |         |  I81.6    Q64.3 |
[ ]------          ---[ ]------[ ]-------

 

Thanks in advance

Share this post


Link to post
Share on other sites

On the 3rd line, you're missing the instruction.  If your original STL is like this:

:O    F11.0
:O    F11.1

:O(
:A I81.6

:AN    F11.2
:AN    F11.2
:O    I81.6
:A    Q64.3
:)
:A    I64.6
:A    I64.0
:AN    F3.6
:=    Q64.3

Then the logic would look like the attached picture.  I tried it also with the third line as A(, but the logic doesn't make sense this way.

Please check your STL code you posted, and make the necessary correction.

 

STL_to_LAD.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