Siemens STEP7 how to control and monitor variables - Database & Sql Blog Articles

RF cable can be customized for other specifications
Programmable Package SG-8018CA(SG7050C) 0.67M~170M

Operator-monitoring attribute configuration using statement lists, ladder diagrams, and function block diagrams The following procedure allows you to make function block parameters suitable for operator monitoring and assign the required O, C, and M attributes to the user program. Related instance DB or shared data block.
You must have created a STEP 7 project, an S7 program and a function block.
Basic procedure Assigning system properties to function block parameters When you use the Statement List, Ladder and Function Block diagrams to configure operator monitoring properties, you must first assign the "s7_m_c" system property to all the parameters of the function block that you wish to monitor. Can be done as follows:
Open the function block (FB).
Select the parameters to be monitored in the variable declaration table.
Use the right mouse button to select the menu command object properties. In the "System Properties" column of the "Parameter Properties" dialog box, enter the "s7_m_c" string and enter "true" in the "Value" field of the blank line.
Enter other system properties for the parameter as needed. A complete list of system properties can be found in the online help.
Click "OK" to exit the dialog.
Repeat this step for all parameters that you wish to monitor.
Assigning WinCC attributes to data blocks To assign WinCC attributes to the instance data blocks or shared data blocks of a function block, you can do the following:
In the SIMATIC Manager or LAD/STL/FBD Editor, create one or more instance data blocks or shared data blocks associated with an existing function block.
Select a data block in the SIMATIC Manager.
Select the menu command "Edit > Special object properties > Operator monitoring".
In the "Operator Control" dialog, activate the "Operator Monitoring" check box.
Select the "General" tab.
The name of the data block is displayed here in the same format as the one shown in WinCC (S7 program name _DBno. or S7 program name _DB symbol name).
If necessary, enter additional information for the data block in the "Comment" box.
Now select the "WinCC Properties" tab and edit the WinCC properties of the individual data blocks.
In the table shown, enter the required attribute values ​​for all function block parameters that require operator monitoring.
Click the "Confirm" button to close the dialog.
Repeat steps 2 through 8 for each data block.
Configuring operator monitoring properties via the symbol table Overview Regardless of which programming language you use, you can configure the following variables using the following steps:
Bit memory
Before the I/O signal requires configuration, the following conditions must be met:
You have already created a project in the SIMATIC Manager.
There must be an S7 program with a symbol table in the project.
The symbol table must be open.
Basic Steps Using CFC to Change Operator Monitoring Properties Overview When using CFC, you can create your own user program by selecting blocks from the library that already have operator monitoring properties, placing them in the diagram and connecting them.
You have been asked to insert an S7 program in the STEP 7 project, create a CFC chart and place the block in the diagram.
The basic steps
Digital camera
Modifying the WinCC properties of the CFC block parameters To change the WinCC properties of the CFC block parameters preset, you can do the following:
Select the block.
Edit the properties of the CFC block by selecting the menu command Edit > Object Properties.
Click the "Operator Monitoring" button.
If necessary, change the values ​​of the properties already in the table shown in the "Operator Control" dialog.
See the online help for the meaning of WinCC properties.
Click the "Confirm" button to close the dialog.
Transferring the configuration data to the operator interface The programmable controller is used to transfer the generated operator control configuration data to the WinCC database using the AS-OS Engineering transfer program.
Before you can initiate a transfer, the following requirements must be met:
You have installed the AS-OS Engineering program.
You have generated operator monitoring configuration data.
The basic procedure is to transfer the operator control configuration data to the WinCC database as follows: Inserting the operator station object You must create an operator station object for each operator monitoring system in the SIMATIC Manager. Can be done as follows:
Open the STEP 7 project.
Select the menu command "Insert > WinCC Objects > Operator Station".
Digital camera
Transfer data
The "Compile Operator Station" wizard provides support for transferring configuration data to WinCC. Proceed as follows:
Assign the S7 program that created the configuration data to the operator station you want to monitor. You can assign multiple S7 programs to one operator station or you can assign one S7 program to multiple operator stations. This allows you to monitor specific processes from different operator stations.
Select the S7 program, then right-click and select the menu command to select Network Connection. Select the network that will be used for communication between the programmable controller and the operator station during operation.
Select the S7 program to be transferred and the operator station that receives the transmitted data.
Select the desired transfer properties (transfer data and transfer range).
Click the "Compile" button. The data transfer is now started.
Display Transfer Record During transfer, a record will be created that includes information about existing AS-OS links, errors that occurred during transfer, variable names, and more. To display the transfer record:
Select the menu command Options > "Compile Multiple OS" > Show Record.

Electric Water Kettle

Electric Water Kettle,Stainless Steel Electric Water Kettle,Electric Hot Water Kettle,Electric Water Boiler Kettle

Shandong Sangle Group Co.,Ltd. , https://www.sangle-group.com