Lee D Posted May 11, 2007 Report Posted May 11, 2007 I have an old F1 PLC that contains the following code: LD M167 OUT F671 K 060 OUT F670 K 104 I want to convert this for use on a FX PLC. Does anyone know the equivalent code for the FX? The F1 manual is confusing on how this works. I am not sure if it is a Register Shift or a read input - store - then write out input. If you know what this code does, please advise. Thanks Quote
Rodney Posted May 11, 2007 Report Posted May 11, 2007 Hi Lee This is a write M to C instruction where you have possibly a thumbwheel connected to a number of registers from M260 to M273. When F670 k104 becomes true the value the B.C.D value of the registers of m260 to m273 is set in C60. For the FX you would use the MOV instruction for example MOV K3M260 D100. Then instead of having a K constant you would use D100. Rodney Quote
Lee D Posted May 13, 2007 Author Report Posted May 13, 2007 Hi Rodney, Thank you for your answer. The code makes a lot more sense now. The PLC does have a thumbwheel counter attached to it. Thanks again Lee 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.