不知道你是否有这样的疑问?在线编辑时总会看到小写字母i-r-e-d,有时候还会看到大写字母I R D,反正不管它们也照样是在改写程序。不弄清楚点终归还是会觉得不舒服斯基的。
今天我们就借助仿真器好好的看看这些字母的含义吧。
在线编辑时,选中需要编辑rung,右键选择Start Pending Rung Edits(或者快捷键Ctrl+Shift+S),更快的方式可能就是双击该行。然后就会看到两行一模一样的rung,一个前缀i(inserted),一个前缀r(replaced)。
英文原版的解释会更加明了一点。
i
These rungs are to be inserted into the routine.Rungs marked with a lower case i currently exist in the computer memory and will not be entered into the controller until the rung is accepted.After the rung is accepted,the lower-case i is replaced by an upper case I.These rungs are the same as e-marked rungs but have already been verified.
r
These rungs are to be replaced in the ladder routine.Rungs marked with a lower-case r are currently marked for replacement in computer memory,but this marking will not be entered into the controller until the rung is accepted.An r-marked rung is always preceded by an e-marked or I-marked rung.After the rung is accepted,the lower-case r will be replaced by an upper-case R.
当额外添加一行时,或者改变要修改行的基本逻辑时,小写字母e出现。对比其他小写字母而言,它是储存在compute RAM里的。
e
These rungs are currently under edit within the computer RAM.If you are working offline,after a successful routine verification,the lower-case e will disappear and the edits will be incorporated into the routine.If you are working online,after accepting the rung,the lower-case e will be replaced by an upper-case I,indicating that the rung is now in the controller's memory and will be inserted into the routine file.
大写字母的逻辑就相对简单很多。基本理解就是原来的i-e-d,选择Accept Pending Program Edits后就由小写变为大写了。
注意,当字母变为大写后,由于更改已经存在controller memory里面了,所以就不再接受再次的修改操作了,视频里有演示。
Upper case zone markers indicate edits that exist in the controller memory.Once you successfully assemble the edited rungs,these zone markers disappear.
I
These rungs have been inserted in the controller's logic routine.You can test the edits by choosing the Test Edits option to see how the rung works in the online ladder routine.Choose Assemble Edits to finalize the rung insertion and complete the editing process.
R
These rungs have been replaced in the controller's logic routine.Rungs marked with an upper case R continue to function in the routine until you select Test Edits to see how the new rung wotks in the online routine.Choose Assemble Edits to finalize the replacement and complete the editing process.
D
These rungs have been deleted in the controller's logic routine.Rungs marked with an upper case D continue to function in the toutine until you select Test Edits to see how the routine functions without the rungs in the online toutine.Choose Assemble Exdits to finalize the deletion and complete the editing ptocess.
Studio 5000会略有差异,比如左侧字母的行数由四排改为两排,小写字母e直接变为更直白的x与i的组合。
视频演示会更加直观明了
video: https://mp.weixin.qq.com/mp/readtemplate?t=pages/video_player_tmpl&action=mpvideo&auto=0&vid=wxv_2540259521680900097 |