Search the Community
Showing results for tags 'bmov'.
Found 1 result
I am trying to use arrays in the ladder command BMOV and want it assigned to devices. What I want is a string is stored on my HMI at D300 and it is 12 characters so it is really at D300, D301, D302, D303, D304. I can use DMOVE D300 D425 K5 and it will move the string. But I want to do it for a recipe where I cycle through all twelve recipes and get BMOV D300 D425 K5, then BMOVE D300 D430 D5, then BMOVE D300 D435 D5, etc. I have attempted everthing. The problem is when I try to do BMOV myString myList[Index] K5. I have to create a data type that is used by myList so I can have each entry assigned do D425, D430 etc. Any thoughts or hints.