I am converting a substantial PLC5 program to ControlLogix and to save time and try to avoid making mistakes, I have copied and pasted all the rungs in each ladder from RSLogix 5 into RSLogix 5000 and was going to use the Replace All feature to change each operand.
All that being said, I am having a small issue. For example, I have 300+ bits labeled B3/***, so I created a boolean aray called system_bits with corresponding number of elements and imported PLC5 descriptions. I can't seem to find an automated way of converting, let's say, B3/100 to system_bits[100]. If I replace all B3/ with system_bits[, it doesn't like the outcome and puts quotes around each operand, creating "system_bits[100".
It is going to take forever to replace each one individually otherwise. Any ideas?
All that being said, I am having a small issue. For example, I have 300+ bits labeled B3/***, so I created a boolean aray called system_bits with corresponding number of elements and imported PLC5 descriptions. I can't seem to find an automated way of converting, let's say, B3/100 to system_bits[100]. If I replace all B3/ with system_bits[, it doesn't like the outcome and puts quotes around each operand, creating "system_bits[100".
It is going to take forever to replace each one individually otherwise. Any ideas?