When I am in the plc bit M0.0=1, I need to inform the user to log in or log in again, and automatically display SHOWLOGONDIALOG. Unlike other TPs and OPs, the TP170A uses different methods to set passwords when setting passwords. The specific operation process is as follows: First, in protool/pro, create a new TP170A project. Second, create a new screen in the screen. 3. Add an input I/O input field to the screen. The two buttons are named "User Login" and "Login Exit". see picture 1. Connect the I/O field to a character internal variable such as a1. This variable is the password setting variable. If "Password" is selected in the "Display" option, the "*" number will be displayed in the above I/O field after entering the password. If "Password" is not selected, the I/O field will be blank after the password is entered. See Figure 2. 4. Select the "User Login" button and select the attribute, and add the "User Login" function. The password parameter selects the a1 in the previous step, as shown in Figure 3. The same reason is the "Logout" button plus "Logout". "Features. 5. In the object properties of the screen to be password protected, select the "Enable" function and set the "Protection Level" to "1". 6. The default password of the system is "100". If you want to change this password value, select the "Settings" submenu under the "System" menu. In the pop-up "Settings" window, you can set the "Super" password from "100". "Change to any value that the user wants to use, and this modified value is the password in future system applications. T Copper Tube Terminals,Non-Insulated Pin-Shaped Naked Terminal,Copper Cable Lugs Terminals,Insulated Fork Cable Spade Terminal Taixing Longyi Terminals Co.,Ltd. , https://www.lycopperlugs.com
Answer: In the PLC programming, use the rising edge of M0.0 to control a word, such as MW2 self-adding 1. When MW2=a certain value, then move a 0 into it, so whenever M0.0 has a rising edge, MW2 will Change once, call ShowLogonDialog in the value change event of variable MW2 in WinCCflexible, remember to change the acquisition mode of MW2 to cyclic continuous.
My general practice is to enter the specified screen you want to be a user right, the user name, password is correct when you can access.