![]() You should always, as A_G mentioned, have your MOV instruction be moving an input parameter into your timer preset, so for each AOI you can change timer presets by changing input parameters with no need to even look inside the AOI.Create Unique, Stylish Text with Font Generatorįont Generator is a free online tool that lets you create hundreds of unique, stylish text styles with just a few clicks. The whole purpose of an AOI is that it's re-usable, and each use will likely need different parameters. Personal opinion: there are very few times you should be MOVing a constant value within an AOI. StartupTime, which may have a value of 1000, 2000, 12345), then you can simply change the value of that tag online, and it will not affect any of the existing AOI's. If the MOV instruction moves a tag value (e.g. Obviously, this will affect all existing instances of that AOI. 1000, 2000, 12345), then to change it you would need to edit the rung, which would mean doing it offline and downloading it. If that MOV instruction moves a constant value (e.g. Now back to your specific scenario, you have a MOV instruction which sets your timer preset. If you select to apply to all, then Motor_1.StartupTime, Motor_2.StartupTime and Motor_3.StartupTime will all have their values changed to that updated value. If you were to change the default value of a timer preset in the AOI definition, then you get asked "do you want to apply this new default value to all existing AOI's or leave them as they are?". You can enter the AOI properties, and change the default value of all of your parameters and local tags. But regardless, all timer presets in your existing AOI's will remain unchanged. They can of course be manually changed to whatever value you want, as previously described. within the Motor_2 instance of the AOI), then all future AOI's will be created with that new preset value. If you change the timer preset in the AOI definition (as opposed to e.g. So, if you change a timer preset inside one AOI, it will NOT affect the timer preset of the other two. Changing any one of these tags does NOT affect the other two. If there's an input parameter called, say, "StartupTime", then I have three completely separate tags: Motor_1.StartupTime, Motor_2.StartupTime and Motor_3.StartupTime. Each of these data structures are fully independent. Let's say I have a motor AOI, and I create three of them, called Motor_1, Motor_2 and Motor_3. Every time you create an AOI, it creates a unique data structure for that AOI. If your change can be done without having to edit the rung, just by clicking on a value and changing it, or clicking on a bit and toggling it, then you can do it to an AOI online. If your change means you have to edit the rung (double click on it, make your changes, and then assemble the edits), then you can't do it to an AOI online. ![]() ![]() All can be done online.Ī good way of working it it is to imagine the same change taking place *outside* an AOI. That is, you can change a timer preset, change the value of a DINT or a REAL that's used within the AOI, toggle a bit on or off, etc etc. You can edit the *tag values* of an AOI online. That is, if you need to add a new instruction, change the order of some instructions, add a rung, delete a rung, delete an instruction - it can only be done offline. You can only edit the *logic* of an AOI offline. pre into a Input parameter of the AOI, then the value can be modified as needed every time you use the AOI. Another thing to consider, is making the timer. I recommend saving a copy of the original AOI before you make any offline edits Correct, you can only edit AOI's offline If you change a timer preset value, it will make the change to every AOI in the program, if the timer. As I understand you can only edit AOI's offline? So go offline type in new value into the MOV instruction that sends it to the timer preset then download it? Thanks! I only want to change it in one of the routines at least for now so I can verify smooth operation. ![]() I guess some specific questions I have would be, if I change a timer preset value will it make that change to every AOI in the program (this is an AOI used in multiple routines). I want to edit some timer values inside an AOI and was wondering if I could get some tips or things to consider from some of you more experienced controls guys. Hi everybody I am a beginner in the PLC world at least when it comes to making changes and edits. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |