3/1/2016 6:02 PM | |
Joined: 3/14/2008 Last visit: 11/9/2024 Posts: 2124 Rating: (951) |
Hello, OS_PermLog is an output which is defined in your block code. For this you create a input: OS_Perm and use this to define authorizations for specific variables such as AutModOp. By using the "AT" command, you can create views of the double words OS_PermLog and OS_Perm and to address them. You don't have to use the OS_PermLog variable persee, because in the object: "APL_OP_BUTTON" you can disable this by setting parameter: PermissionTag under Permission to "0". Anyway... The links you have listed like AutModOp are coming from WinCC when your press a button for example (S7_m_c:='true'). When you inserted the APL_OP_BUTTON, you can assign a unique name to it. Please make sure the object name is written in the "stUser" object as well in order to change authorizations when changing users. Under BinLink 1-5 you can assign the designated tag. If there are stil problems, you can check if all TAGs exist for your custom block and otherwise you can use apdiag.exe (Under program files(x86)->Siemens->WinCC->uTools) to check for script errors when in runtime. In the Libraries_APLStyleguide you can find more info on page 108 for the APL_OP_BUTTON. Please let me know if this helped you! Link to document: https://support.industry.siemens.com/cs/document/43705259/pcs-7-libraries-apl-style-guide?lc=en-WW |
If I could help you, you can use the RATE button. Thank you. |
|
3/3/2016 2:54 AM | |
Joined: 7/21/2015 Last visit: 9/27/2022 Posts: 100 Rating: (2) |
Hi Oreca, Thank you very much for your information, after I took a look in the document. I copied the face plate for PIDConL to the face plate for my customized block just to understand the functionality of APL button. I attached _ a snap shoot to you to help me why this is happening I think still I have some thing missing . As in attached image you will find all button actives at the same moment without regarding to the current mode . _ and the scl code for the function to check the logic and please correct me if i am wrong Thanks for your help. Moelsayed
AttachmentFUNCTION.zip (64 Downloads) |
Follow us on