
adccommunitymod (AutomationDirect) asked a question.
Created Date: June 16,2013
Created By: sshneider
**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****
Help... I am Lost in the "Bermuda Triangle " of the myriad of optional configurations available. I'm sure some smart guy somewhere has a reason for allowing for so much flexibility in this area but, I just want/need simple CONVENTIONAL retentive set-up. Here's the sitch: I would like to assign a value to a register and that value remain FOREVER and ALWAYS regardless of STOP Mode Transfer/Load Initial Values or anything else except ME changing that value with P3K suite? Let's say that when I turn on a motor, I want it to run at 50%. So, I would put 50% in the "motor speed " register. Now and Operator comes along and changes the speed (on the HMI) to 75%. At this point, I do some programming and need to do a Stop Mode Transfer-P3K will upload current register values, copy to initial values (overwriting my 50% value with 75%) and now my motor starts up too fast. I hope that makes sense? So, In P3K Suite, which boxes should be checked under Options- >Project Transfer to achieve this result? BTW- I already have the Retentive check box ticked in TagDatabase. Thanks!
Created Date: June 16,2013
Created by: bcarlton
The 'Initialization ' field will provide for Stop->Run transition transfer of the 'Initialization ' value to the tag. A 'Run Mode ' transfer will not do the initialization. But, if you ALWAYS want the motor to run at 50% why place a control on the display to allow its change?
Created Date: June 16,2013
Created by: sshneider
Thanks for the Reply. Yeah, I already know about the Dif between Stop mode and Run Mode Transfers. I prefer the RUN mode transfers but with P3K this is not always possible (for example if you Breath on a String Tag, it will cause you to make a Stop mode Xfer).
Basically what I am looking for is the same RUN MODE Transfer behavior to take place when I do a STOP Mode transfer. SAME, with no surprises, Questions/ or Pop up Dialog boxes to confuse this Pea Brain!
Oh... I only want the motor to START at 50%, then, during the course of operation the machine we need to adjust.
Created Date: June 16,2013
Created by: kewakl
What about setting 50% in a "Run First Scan Only " task?
Not exactly HOW you want to do it, but it seems to accomplish WHAT you want.
Created Date: June 16,2013
Created by: sshneider
Yeah, you 're right- there are all sorts of Mickey Mouse ways to get what I want but, it seems like P3K should be able to do this-just out of the box.
Otherwise, what's the point of this whole Initial Value Register anyway? Just to reset the PAC to some kind of Psuedo Default value that, thank you very much gets overwritten every time you do a S.M.T.?
Surely I MUST be missing something here someplace cause, I just can't believe that this feature was added JUST to make things more difficult.
If this were the Old DirectSoft days it would be simple... RETENTIVE = RETENTENTIVE-No Questions. And yes, Kewalki, if you wanted some other kind of default start value you would program.
Luckily, I don't have to do that many S.M.T's but when I do, G-D help us that something important doesn't get overwritten.
This whole Initial value thing really confuses me.
Created Date: June 16,2013
Created by: kewakl
Try Init Value = 50(%) and Init Forced CHECKED .
See if that provides the results you need.
This seems to only affect a stop mode transfer.
Created Date: June 17,2013
Created by: sshneider
Thanks, I'll give that a try but I think it's still along the lines of a "Band-Aid ". Maybe I'll call tech support today and ask for (ANOTHER) clarification of this feature.
Created Date: June 17,2013
Created by: kewakl
Please take notes and post back.
I tried to make sense of the relationship of "retentive / initialvalue / initialforced / initialforcedvalue " on a runmode transfer and a stopmode transfer.
I could not determine the use of the initialforcedvalue.
Created Date: June 20,2013
Created by: techme
The initial forced and initial forced value only take place during a stop mode transfer or a power cycle. The initial forced value is the value that will be written to a tag if it is checked as forcible and the initial forced is checked. For integers it will be whatever number you put in for Booleans if the initial forced box is checked it will force on the Boolean tag if unchecked it will force off the Boolean tag. All of this is explained in help file topic P213.
As far as defaulting a value on a run mode transfer, there is no shortcut to do this. The values should not be affected by a run time transfer. You cannot use the first scan bit because it only happens when the CPU goes from stop to run. The only way to do this would be through logic.
Created Date: June 20,2013
Created by: kewakl
The initial forced and initial forced value only take place during a stop mode transfer or a power cycle. The initial forced value is the value that will be written to a tag if it is checked as forcible and the initial forced is checked. For integers it will be whatever number you put in for Booleans if the initial forced box is checked it will force on the Boolean tag if unchecked it will force off the Boolean tag. All of this is explained in help file topic P213.
As far as defaulting a value on a run mode transfer, there is no shortcut to do this. The values should not be affected by a run time transfer. You cannot use the first scan bit because it only happens when the CPU goes from stop to run. The only way to do this would be through logic.
Can you verify that Initial Forced Value really does anything?
I couldn't.
Created Date: June 20,2013
Created by: techme
Yes it works. If you are forcing an input you will not see the input light come on, but the input will be true in the logic unless you force it off with the Initial forced value then regardless of what you do with the input it will remain off in the logic or remove the force by writing to the tag in data view.. With values if the forcible box is checked and the initial forced box is checked and a value is entered into the initial forced value each time a stop to run transition is made the value will load to that tag name. You can change that value in the data view window, but logic will not change the value until the forced is removed by entering a value into data view.