Build 03 is much, much better. I have worked all day with it and the problems with the #Define table have not returned. In fact, I haven't broken any new stuff.
So I got a little bored and tried some things that, traditionally, break the current released code. And since you guys are in a mood to fix stuff...
The problem is with the "Cut Circuit" and "Delete Circuit" behavior. Both of these operations open a window to specify the beginning and ending line numbers to cut/delete. Neither of these actions 100% use the line numbers entered by the human to determine what lines to cut/delete.
This is a ladder logic program that is nothing but comments. Each group of 3 lines of text is a single ladder rung/circuit. I've attached a copy of this program to this email.
Now this is how you break the ladder logic editor:
- Scroll the down to the bottom of the file. You need to have only a few lines visible on the screen, say Circuits 18..20
- Click on circuit #20 so that a little red arrow appears to the left of this circuit and "Circuit # 20" is visible in the button on the top left
- Edit-->Cut Circuit to open the "Cut Ladder Circuits to Clipboard
- From Circuit # 2
- To Circuit # 10
- Press "Yes" to confirm.
- Verify Circuits #2..#10 are not the ones deleted. In my case circuits #12..#20 were actually deleted.
Cut/Delete old works reliably if the focus is on the first line to be deleted and this line must be view able in the editor. If you scroll down to verify the circuit number of the last rung to delete, you must scroll back to the first run of the group that you what to delete.
Code appears to use the difference between the "From" and "To" line number to determine how many runs to delete, but does not use the "From" value to determine the first line to delete. The first line deleted is some incorrect inference based on the "current focus" of the ladder logic editor.
Best Regards,
Gary D*ickinson
This is the program before the "Cut":
*********************************************************************************************
Circuit #01
*********************************************************************************************
*********************************************************************************************
Circuit #02
*********************************************************************************************
*********************************************************************************************
Circuit #03
*********************************************************************************************
*********************************************************************************************
Circuit #04
*********************************************************************************************
*********************************************************************************************
Circuit #05
*********************************************************************************************
*********************************************************************************************
Circuit #06
*********************************************************************************************
*********************************************************************************************
Circuit #07
*********************************************************************************************
*********************************************************************************************
Circuit #08
*********************************************************************************************
*********************************************************************************************
Circuit #09
*********************************************************************************************
*********************************************************************************************
Circuit #10
*********************************************************************************************
*********************************************************************************************
Circuit #11
*********************************************************************************************
*********************************************************************************************
Circuit #12
*********************************************************************************************
*********************************************************************************************
Circuit #13
*********************************************************************************************
*********************************************************************************************
Circuit #14
*********************************************************************************************
*********************************************************************************************
Circuit #15
*********************************************************************************************
*********************************************************************************************
Circuit #16
*********************************************************************************************
*********************************************************************************************
Circuit #17
*********************************************************************************************
*********************************************************************************************
Circuit #18
*********************************************************************************************
*********************************************************************************************
Circuit #19
*********************************************************************************************
*********************************************************************************************
Circuit #20
*********************************************************************************************
[/color][/font]
This is the program after the "Cut":
*********************************************************************************************
Circuit #01
*********************************************************************************************
*********************************************************************************************
Circuit #02
*********************************************************************************************
*********************************************************************************************
Circuit #03
*********************************************************************************************
*********************************************************************************************
Circuit #04
*********************************************************************************************
*********************************************************************************************
Circuit #05
*********************************************************************************************
*********************************************************************************************
Circuit #06
*********************************************************************************************
*********************************************************************************************
Circuit #07
*********************************************************************************************
*********************************************************************************************
Circuit #08
*********************************************************************************************
*********************************************************************************************
Circuit #09
*********************************************************************************************
*********************************************************************************************
Circuit #10
*********************************************************************************************
*********************************************************************************************
Circuit #11
*********************************************************************************************
[/color][/font]
And as always, the Edit menu lists "Ctrl-X" as a short cut for cutting ladder logic rungs, but this has never worked. Just edit it out of the menu.