Mr7 Posted September 25, 2012 Report Posted September 25, 2012 hi guys i am new here plz any one teach me how to bit move cammand work plz any one describe in detail.. Quote
kaare_t Posted September 25, 2012 Report Posted September 25, 2012 A BMOV instruction simply copies all the bits from one data-storage to another data-storage. This means that you can for example copy data from a STRING, directly into a DINT. You simply specify the input and output, and the number of bits of 16 you want to move. The instruction basically copies bit for bit directly. It would be easier if you told us what you want to accomplish... (what is it you need to do)... Quote
Mr7 Posted September 25, 2012 Author Report Posted September 25, 2012 (edited) For example i have 5 0r more then 5 recipes and every recipe consist on 10 step now how can i operate it step by step,with bit move? and i want to repeat these step 5 times. Edited September 25, 2012 by Mr7 Quote
kaare_t Posted September 25, 2012 Report Posted September 25, 2012 I might misunderstand you, but I think you need to look at SET and RST instructions. BMOV is for copying xx amount of data from Y to Z, and you need to look at SET/RST logic. Basically you'll need to make a sequence program, where action 1 finished triggers action 2 start and so on. Maybe you should look at SFC...!?? Quote
Mr7 Posted September 25, 2012 Author Report Posted September 25, 2012 ye dear i understand now what is the solution thank actually i am beginner.but this is nice place for learning by the experts.thanks Quote
Crossbow Posted September 25, 2012 Report Posted September 25, 2012 I am still unable to determine what your original question was. If you want to move a series of register data from one location to another, then use BMOV. If you are trying to repeat a section of code several times, you need to look at FOR/NEXT loops. If you look at the programming manual for the PLC type (you never mention PLC type) you will see help on using the commands. If you are using GX Works2, you can also look up command help in the Help menu in the software. Quote
Mr7 Posted September 26, 2012 Author Report Posted September 26, 2012 yes sorry i am confuse between bit move and batch move actually i have 3 data register in program now i enter the different values in all first time then second time i enter others values and so on.every time when i enter new values a bite move in the index register .after this when i need first or second recipe so i enter only 1 or2 or and then first values i entered in the data registers become automatically.explain any command plz? Quote
Crossbow Posted September 27, 2012 Report Posted September 27, 2012 Still don't completely understand what you are trying to do. Recipes are typically handled in the operator interface not the PLC. But you can do something similar with index registers. Read about them in the programming manual. 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.