Jump to content

Recommended Posts

Posted
I understand the operation of the example of bit shift registers now. but I am unsure how a line is used in one of our machines at work ie breakdown of the shift instruction. the line reads "m451" no contact which is pulsed via a magnetic swith on "x050" the sftl command reads "sftl m520 m553 k4 k1" I think k1 is the number of bits shifted and k4 is the stack but where I would expext "x0" start bit numbering from "x0" is this in this line starting from "m520" And where "m0" would be start from stack position "m0" is the stack position "m553" the start position. any light shed would be greatly appreciated!!!!
Posted
it would help if you specify which plc you have. if it is FXn, check manual JY992D48301, section 5.4 i don't have such plc to try it out but could it be that every time X50 is pulsed, shift instruction [sFTL M520 M553 K4 K1] is shifting range of 4 bits (k4) from M553 to M556, one bit at a time (k1) and source bit M520 is copied into M553?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...