flipper687el Posted February 28, 2006 Report Posted February 28, 2006 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!!!! Quote
panic mode Posted February 28, 2006 Report Posted February 28, 2006 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? Quote
flipper687el Posted February 28, 2006 Author Report Posted February 28, 2006 plc is a fx2n128mr with expantion modules Quote
Recommended Posts
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.