Speak with authority, quality is trustworthy.

How about the configuration of PLC block structure of the variable to let him use in WinCC -

by:Coolmay     2020-08-15
Inserts a FB function block in the SIMATIC Manager, double-click FB1 open this function block. New structure variables in the function block FB1 aaa, and then the building up of three elements in the structure of the variable as a1, a2, a3. Choose variable structure in FB1 aaa, right-click to open the aaa associated menu. Open the aaa 'Object Properties'. Jump to the 'Attributes' label, 'S7_m_c' input system Attributes. The input value 'true'. Click 'OK' to save Settings.

figure 2 configuration variable structure attribute

note: in the 'Attributes' tag, you can see a system property 'S7_xm_c', this property in common OS project doesn't make any sense, this feature is for PCS7 function. In the SIMATIC Manager create a OB1 function block, double-click to open OB1, then call in the application of FB1 and set the background data blocks to DB1. Choose the DB1 in SIMATIC Manager, right-click to open the DB1 associated menu. Open the DB1 'Object Properties'. Jump to the 'General - Part1' label, in '-- the Name' enter the DDD and click 'OK' to save Settings. Choose the DB1 in SIMATIC Manager, right-click to open the DB1 associated menu. 通过“特殊对象属性>操作符控制和监测。 。 。 'Open the DB OC&M properties. Enable the Operator Control and Monitoring 'check box and click the' Save 'to Save Settings. Choose the DB1 in SIMATIC Manager, right-click to open the DB1 associated menu. Open the DB 'Object Properties'. Jump to the 'Attributes' label, 'S7_m_c' input system Attributes. The input value 'true'. Click 'OK' to save Settings. Choose the OS to stand in the SIMATIC Manager, right-click to open the OS context menu. Open OS station 'Compile', click 'Next' to open the project selection interface, choose to associate the PLC controller program below, then click 'Next' twice, and finally click on the 'Compile' to complete the project compilation. In the SIMATIC Manager open OS project, and then in WinCC project tree structure variables, you can see FB1 in the PLC program has been compiled. In WinCC variable manager 'SIMATIC S7 PROTOCOL SUITE - Can see under the TCP/IP 'compiled over S7 connection, can see compiled over FB1 in S7 connection structure of a variable.

figure 10 compiled over the structure of the variable

sound Ming current PLC block complex data types in the compiler function, only support structure variables are compiled, and arrays and UDT data type is not supported, because in the array and UDT type variable properties without the parameters 'S7_m_c', so I can't compile.

figure 11 array variable attribute parameter

figure 12 UDT variable attribute parameter


Shenzhen Coolmay Technology Co., Ltd. is different from other companies as we provide timely and unique services to our respected clients.
Coolmay is also committed to maintaining excellence, respect, and integrity in all aspects of our operations and our professional and business conduct.
comes in a vast array of styles and programmable control systems depending on which plc controller priceis used.
The first machine to produce programmable control systems, the plc controller price plc manufacturers was invented in programmable control systems in plc controller price by programmable control systems and was subsequently improved.
Rewards and discount programs give customers more reason to come back for plc manufacturers again, especially in the competitive retail and services markets.
Chat Online
Chat Online
Chat Online inputting...
Sign in with: